source: spec/trunk/SPECS/lxLite.spec@ 1244

Last change on this file since 1244 was 1242, checked in by Silvan Scherrer, 8 years ago

spec: lxLite: Release version 1.3.9-3.

File size: 1.8 KB
Line 
1# *** to build lxLite you need a working VirtualPascal installation ***
2# *** and the VPDIR env must be set ***
3
4Summary: OS/2 LX executable packer
5Name: lxLite
6Version: 1.3.9
7Release: 3%{?dist}
8License: GPL
9Group: Applications/System
10URL: http://github.com/bitwiseworks/lxlite
11Vendor: bww bitwise works GmbH
12%scm_source github https://github.com/bitwiseworks/lxlite %{version}
13
14%description
15This package provides lxLite packer
16
17
18%package tools
19Summary: lxLite utilities
20Requires: %{name} = %{version}-%{release}
21
22%description tools
23This package provides some tools from the lxLite package
24
25
26%prep
27%scm_setup
28
29
30%build
31cd src
32make.cmd
33cd ..
34
35
36%install
37# install exe
38cd src
39cd out
40for f in *.exe ; do
41 install -p -m0644 -D $f $RPM_BUILD_ROOT%{_bindir}/$f
42done
43cd ..
44cd ..
45
46# install stub
47cd contrib
48for f in stub* ; do
49 install -p -m0644 -D $f $RPM_BUILD_ROOT%{_datadir}/%{name}/$f
50done
51cd ..
52
53install -p -m0644 -D contrib/lxLite.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/lxLite.cfg
54
55%clean
56rm -rf "$RPM_BUILD_ROOT"
57
58%post
59
60
61%postun
62
63
64%files
65%doc doc/lxLite_documentation.txt doc/gpl.txt doc/whatsnew.txt
66%dir %{_sysconfdir}/%{name}
67%config(noreplace) %{_sysconfdir}/%{name}/*.cfg
68%{_bindir}/lxLite.exe
69%{_datadir}/%{name}/stub*
70
71%files tools
72%doc doc/lxUtil.txt
73%{_bindir}/*.exe
74%exclude %{_bindir}/lxLite.exe
75
76%changelog
77* Fri Sep 29 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.3.9-3
78- don't write the help screen to stderr
79
80* Tue Sep 26 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.3.9-2
81- create the {_sysconfdir}/lxLite directory if not available
82
83* Tue Sep 26 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.3.9-1
84- first rpm release
Note: See TracBrowser for help on using the repository browser.