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

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

spec: lxlite: Release version 1.3.9-4.

File size: 2.0 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: 4%{?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}
24
25%description tools
26This package provides some tools from the lxLite package
27
28
29%prep
30%scm_setup
31
32
33%build
34cd src
35make.cmd
36cd ..
37
38
39%install
40# install exe
41cd src
42cd out
43for f in *.exe ; do
44 install -p -m0644 -D $f $RPM_BUILD_ROOT%{_bindir}/$f
45done
46cd ..
47cd ..
48
49# install stub
50cd contrib
51for f in stub* ; do
52 install -p -m0644 -D $f $RPM_BUILD_ROOT%{_datadir}/%{name}/$f
53done
54cd ..
55
56install -p -m0644 -D contrib/lxLite.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/lxLite.cfg
57
58%clean
59rm -rf "$RPM_BUILD_ROOT"
60
61%post
62
63
64%postun
65
66
67%files
68%doc doc/lxLite_documentation.txt doc/gpl.txt doc/whatsnew.txt
69%dir %{_sysconfdir}/%{name}
70%config(noreplace) %{_sysconfdir}/%{name}/*.cfg
71%{_bindir}/lxLite.exe
72%{_datadir}/%{name}/stub*
73
74%files tools
75%doc doc/lxUtil.txt
76%{_bindir}/*.exe
77%exclude %{_bindir}/lxLite.exe
78
79%changelog
80* Tue Oct 03 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.3.9-4
81- renamed package from lxLite to lxlite
82- added a provides for lxLite
83
84* Fri Sep 29 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.3.9-3
85- don't write the help screen to stderr
86
87* Tue Sep 26 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.3.9-2
88- create the {_sysconfdir}/lxLite directory if not available
89
90* Tue Sep 26 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.3.9-1
91- first rpm release
Note: See TracBrowser for help on using the repository browser.