source: spec/trunk/SPECS/rxextras.spec@ 1566

Last change on this file since 1566 was 1470, checked in by herwigb, 7 years ago

spec: rxextras: Release version 1.g.0-2.

File size: 1.9 KB
Line 
1%define debug_package %{nil}
2
3Summary: Dion Gillard's RXExtras REXX library
4Name: rxextras
5Version: 1.g.0
6Release: 2%{?dist}
7License: Freeware
8Group: System/Libraries
9URL: http://www.edm2.com/index.php/OS2_API:RXU
10Vendor: Dave Boll
11Source: %{name}-%{version}.zip
12BuildRoot: %_tmppath/%name-%version-%release-root
13Requires: os2-rpm >= 1-2
14
15%description
16RxExtras is a set of functions to enhance OS/2's REXX programming language,
17and is accompanied by additional functions to be used by other PM Rexx-based
18software (VisPro/Rexx and VX-Rexx, among others). Some of the functions
19provided by RxExtras can be accomplished by various other means using "pure"
20OS/2 REXX code, but RxExtras provides an easier interface and more efficient
21processing.
22
23%prep
24%setup -n "%{name}-%{version}" -Tc
25unzip -qj %{_sourcedir}/%{name}-%{version}.zip
26
27%build
28
29
30%install
31install -p -m0644 -D rxextras.dll $RPM_BUILD_ROOT%{_libdir}/rxextras.dll
32install -p -m0644 -D rxextras.inf $RPM_BUILD_ROOT%{_datadir}/os2/book/rxextras.inf
33
34%clean
35rm -rf "$RPM_BUILD_ROOT"
36
37%post
38if [ "$1" -ge 1 ]; then # (upon update)
39 %wps_object_delete_all
40 %{_rpmconfigdir_os2}/wpi4rpm del %{vendor}/%{name}/Library %{version}-%{release}
41fi
42%global title %{summary}
43%{_rpmconfigdir_os2}/wpi4rpm add %{vendor}/%{name}/Library %{version}-%{release}
44
45%postun
46if [ "$1" -eq 0 ]; then # (upon removal)
47 %wps_object_delete_all
48 %{_rpmconfigdir_os2}/wpi4rpm del %{vendor}/%{name}/Library %{version}-%{release}
49fi
50
51%files
52%defattr(-,root,root,-)
53%doc rxextras.cmd rxextras.lib rxextras.mtc vprxx.zip
54%_libdir/*.dll
55%_datadir/os2/book/*.inf
56
57%changelog
58* Wed Sep 05 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.g.0-2
59- fixes to spec files (Silvan Scherrer)
60
61* Sun Feb 05 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.g.0-1
62- final release by Dion Gillard
Note: See TracBrowser for help on using the repository browser.