source: spec/trunk/SPECS/PR1UTIL.spec@ 1194

Last change on this file since 1194 was 1111, checked in by herwigb, 9 years ago

spec: PR1UTIL: Release version 1.6.5-1.

File size: 1.8 KB
Line 
1%define debug_package %{nil}
2
3Summary: Paul Ratcliffe's PR1UTIL library
4Name: PR1UTIL
5Version: 1.6.5
6Release: 1%{?dist}
7License: Freeware
8Group: Applications/System
9URL: http://home.clara.net/orac/os2.htm
10Vendor: Paul Ratcliffe
11Source: %{name}-%{version}.zip
12BuildRoot: %_tmppath/%name-%version-%release-root
13Requires: wpi4rpm >= 0.9.2
14
15%description
16PR1UTIL is a REXX library of miscellaneous functions. It uses TCP/IP
17libraries and thus requires TCP/IP to be installed. The program is freeware
18and as such USE OF THIS PROGRAM IS ENTIRELY AT YOUR OWN RISK.
19
20%prep
21%setup -n "%{name}-%{version}" -Tc
22unzip -q %{_sourcedir}/%{name}-%{version}.zip
23
24%build
25
26
27%install
28mkdir -p $RPM_BUILD_ROOT%{_libdir}
29cp usr/lib/*.dll $RPM_BUILD_ROOT%{_libdir}
30mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}
31cp usr/share/doc/pr1util/* $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}
32
33%clean
34rm -rf "$RPM_BUILD_ROOT"
35
36%post
37if [ "$1" -ge 1 ]; then # (upon update)
38 %wps_object_delete_all
39 wpi4rpm del %{vendor}/Pr1Util/Library %{version}-%{release}
40fi
41%wps_object_create_begin
42WP_BWWHELP:WPFolder|bww Help|<WP_ASSISTANCE>|TITLE=bitwiseworks Help Center;SHOWALLINTREEVIEW=YES;ICONRESOURCE=60,PMWP.DLL;
43%{name}_BWWHELP:WPShadow|Readme|<WP_BWWHELP>|SHADOWID=((%_defaultdocdir/%{name}-%{version}))
44%wps_object_create_end
45wpi4rpm add %{vendor}/Pr1Util/Library %{version}-%{release}
46
47
48%postun
49if [ "$1" -eq 0 ]; then # (upon removal)
50 %wps_object_delete_all
51 wpi4rpm del %{vendor}/Pr1Util/Library %{version}-%{release}
52fi
53
54%files
55%defattr(-,root,root,-)
56%_defaultdocdir/%{name}-%{version}/*
57%_libdir/*.dll
58
59
60%changelog
61* Sun Feb 05 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.6.5-1
62- final release from Paul Ratcliffe
Note: See TracBrowser for help on using the repository browser.