source: spec/trunk/SPECS/lxlite.spec@ 1566

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

spec: lxlite: Release version 1.3.9-6.

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