source: spec/trunk/SPECS/rexxini.spec@ 1567

Last change on this file since 1567 was 1486, checked in by herwigb, 7 years ago

fix case, fix rpm

File size: 1.7 KB
Line 
1%define debug_package %{nil}
2%define _strip_opts --no-compress --no-debuginfo
3
4
5Summary: Steven Elliott's REXXINI library
6Name: rexxini
7Version: 1.0.0
8Release: 3%{?dist}
9License: Freeware
10Group: Applications/System
11URL: http://www.edm2.com/index.php/RexxINI
12Vendor: Steven Elliott
13Source: %{name}-%{version}.zip
14BuildRoot: %_tmppath/%name-%version-%release-root
15Obsoletes: REXXINI
16Requires: os2-rpm >= 1-2
17
18%description
19Rexx API's for manipulation of Text Based INI Files (used by Samba and WINOS2)
20Useful for manipulating and fixing text ini files used by Samba, DOS and windows programs
21
22
23%prep
24%setup -n "%{name}-%{version}" -Tc
25unzip -jq %{_sourcedir}/%{name}-%{version}.zip
26
27%build
28
29
30%install
31install -p -m0644 -D rexxini.dll $RPM_BUILD_ROOT%{_libdir}/rexxini.dll
32
33
34%clean
35rm -rf "$RPM_BUILD_ROOT"
36
37
38%post
39if [ "$1" -ge 1 ]; then # (upon update)
40 %wps_object_delete_all
41 %{_rpmconfigdir_os2}/wpi4rpm del Steven Elliot/REXXIni/Library %{version}-%{release}
42fi
43%{_rpmconfigdir_os2}/wpi4rpm add Steven Elliot/REXXIni/Library %{version}-%{release}
44
45
46%postun
47if [ "$1" -eq 0 ]; then # (upon removal)
48 %wps_object_delete_all
49 %{_rpmconfigdir_os2}/wpi4rpm del Steven Elliot/REXXIni/Library %{version}-%{release}
50fi
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.