| 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: 4%{?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 |
|
|---|
| 25 | %description tools
|
|---|
| 26 | This package provides some tools from the lxLite package
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 | %prep
|
|---|
| 30 | %scm_setup
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 | %build
|
|---|
| 34 | cd src
|
|---|
| 35 | make.cmd
|
|---|
| 36 | cd ..
|
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 | %install
|
|---|
| 40 | # install exe
|
|---|
| 41 | cd src
|
|---|
| 42 | cd out
|
|---|
| 43 | for f in *.exe ; do
|
|---|
| 44 | install -p -m0644 -D $f $RPM_BUILD_ROOT%{_bindir}/$f
|
|---|
| 45 | done
|
|---|
| 46 | cd ..
|
|---|
| 47 | cd ..
|
|---|
| 48 |
|
|---|
| 49 | # install stub
|
|---|
| 50 | cd contrib
|
|---|
| 51 | for f in stub* ; do
|
|---|
| 52 | install -p -m0644 -D $f $RPM_BUILD_ROOT%{_datadir}/%{name}/$f
|
|---|
| 53 | done
|
|---|
| 54 | cd ..
|
|---|
| 55 |
|
|---|
| 56 | install -p -m0644 -D contrib/lxLite.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/lxLite.cfg
|
|---|
| 57 |
|
|---|
| 58 | %clean
|
|---|
| 59 | rm -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
|
|---|