| Line |   | 
|---|
| 1 | %define debug_package %{nil}
 | 
|---|
| 2 | %define _strip_opts --no-compress --no-debuginfo
 | 
|---|
| 3 | 
 | 
|---|
| 4 | 
 | 
|---|
| 5 | Summary:    Steven Elliott's REXXINI library
 | 
|---|
| 6 | Name:       rexxini
 | 
|---|
| 7 | Version:    1.0.0
 | 
|---|
| 8 | Release:    3%{?dist}
 | 
|---|
| 9 | License:    Freeware
 | 
|---|
| 10 | Group:      Applications/System
 | 
|---|
| 11 | URL:        http://www.edm2.com/index.php/RexxINI
 | 
|---|
| 12 | Vendor:     Steven Elliott
 | 
|---|
| 13 | Source:     %{name}-%{version}.zip
 | 
|---|
| 14 | BuildRoot:  %_tmppath/%name-%version-%release-root
 | 
|---|
| 15 | Obsoletes:  REXXINI
 | 
|---|
| 16 | Requires:   os2-rpm >= 1-2
 | 
|---|
| 17 | 
 | 
|---|
| 18 | %description
 | 
|---|
| 19 | Rexx API's for manipulation of Text Based INI Files (used by Samba and WINOS2)
 | 
|---|
| 20 | Useful for manipulating and fixing text ini files used by Samba, DOS and windows programs
 | 
|---|
| 21 | 
 | 
|---|
| 22 | 
 | 
|---|
| 23 | %prep
 | 
|---|
| 24 | %setup -n "%{name}-%{version}" -Tc
 | 
|---|
| 25 | unzip -jq %{_sourcedir}/%{name}-%{version}.zip
 | 
|---|
| 26 | 
 | 
|---|
| 27 | %build
 | 
|---|
| 28 | 
 | 
|---|
| 29 | 
 | 
|---|
| 30 | %install
 | 
|---|
| 31 | install -p -m0644 -D rexxini.dll $RPM_BUILD_ROOT%{_libdir}/rexxini.dll
 | 
|---|
| 32 | 
 | 
|---|
| 33 | 
 | 
|---|
| 34 | %clean
 | 
|---|
| 35 | rm -rf "$RPM_BUILD_ROOT"
 | 
|---|
| 36 | 
 | 
|---|
| 37 | 
 | 
|---|
| 38 | %post
 | 
|---|
| 39 | if [ "$1" -ge 1 ]; then # (upon update)
 | 
|---|
| 40 |     %wps_object_delete_all
 | 
|---|
| 41 |     %{_rpmconfigdir_os2}/wpi4rpm del Steven Elliot/REXXIni/Library %{version}-%{release}
 | 
|---|
| 42 | fi
 | 
|---|
| 43 | %{_rpmconfigdir_os2}/wpi4rpm add Steven Elliot/REXXIni/Library %{version}-%{release}
 | 
|---|
| 44 | 
 | 
|---|
| 45 | 
 | 
|---|
| 46 | %postun
 | 
|---|
| 47 | if [ "$1" -eq 0 ]; then # (upon removal)
 | 
|---|
| 48 |     %wps_object_delete_all
 | 
|---|
| 49 |     %{_rpmconfigdir_os2}/wpi4rpm del Steven Elliot/REXXIni/Library %{version}-%{release}
 | 
|---|
| 50 | fi
 | 
|---|
| 51 | 
 | 
|---|
| 52 | 
 | 
|---|
| 53 | %files
 | 
|---|
| 54 | %defattr(-,root,root,-)
 | 
|---|
| 55 | %doc rexxini.txt
 | 
|---|
| 56 | %_libdir/*.dll
 | 
|---|
| 57 | 
 | 
|---|
| 58 | 
 | 
|---|
| 59 | %changelog
 | 
|---|
| 60 | * Thu Sep 11 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-3
 | 
|---|
| 61 | - fix case and rpm
 | 
|---|
| 62 | * Fri May 12 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-2
 | 
|---|
| 63 | - do not lxlite rexxini.dll
 | 
|---|
| 64 | * Sun Feb 05 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-1
 | 
|---|
| 65 | - final release from Steven Elliott
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.