1 | # *** to build lxLite you need a working VirtualPascal installation ***
|
---|
2 | # *** and the VPDIR env must be set ***
|
---|
3 |
|
---|
4 | Summary: OS/2 LX executable packer
|
---|
5 | Name: lxlite
|
---|
6 | Version: 1.3.9
|
---|
7 | Release: 6%{?dist}
|
---|
8 | License: GPL
|
---|
9 | Group: Applications/System
|
---|
10 | URL: http://github.com/bitwiseworks/lxlite
|
---|
11 | Vendor: bww bitwise works GmbH
|
---|
12 | Obsoletes: lxLite
|
---|
13 | Provides: lxLite = %{version}-%{release}
|
---|
14 | %scm_source github https://github.com/bitwiseworks/lxlite %{version}
|
---|
15 |
|
---|
16 |
|
---|
17 | %description
|
---|
18 | This package provides lxLite packer
|
---|
19 |
|
---|
20 |
|
---|
21 | %package tools
|
---|
22 | Summary: lxLite utilities
|
---|
23 | Requires: %{name} = %{version}-%{release}
|
---|
24 | Obsoletes: lxLite-tools
|
---|
25 | Provides: lxLite-tools = %{version}-%{release}
|
---|
26 |
|
---|
27 | %description tools
|
---|
28 | This package provides some tools from the lxLite package
|
---|
29 |
|
---|
30 |
|
---|
31 | %prep
|
---|
32 | %scm_setup
|
---|
33 |
|
---|
34 |
|
---|
35 | %build
|
---|
36 | cd src
|
---|
37 | make.cmd
|
---|
38 | cd ..
|
---|
39 |
|
---|
40 |
|
---|
41 | %install
|
---|
42 | # install exe
|
---|
43 | cd src
|
---|
44 | cd out
|
---|
45 | for f in *.exe ; do
|
---|
46 | install -p -m0755 -D $f $RPM_BUILD_ROOT%{_bindir}/$f
|
---|
47 | done
|
---|
48 | cd ..
|
---|
49 | cd ..
|
---|
50 |
|
---|
51 | # install stub
|
---|
52 | cd contrib
|
---|
53 | for f in stub* ; do
|
---|
54 | install -p -m0644 -D $f $RPM_BUILD_ROOT%{_datadir}/%{name}/$f
|
---|
55 | done
|
---|
56 | cd ..
|
---|
57 |
|
---|
58 | install -p -m0644 -D contrib/lxLite.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/lxLite.cfg
|
---|
59 |
|
---|
60 | %clean
|
---|
61 | rm -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
|
---|