|
Last change
on this file since 1521 was 1485, checked in by herwigb, 7 years ago |
|
spec: pr1util: Release version 1.6.5-2.
|
|
File size:
1.5 KB
|
| Line | |
|---|
| 1 | %define debug_package %{nil}
|
|---|
| 2 |
|
|---|
| 3 | Summary: Paul Ratcliffe's PR1UTIL library
|
|---|
| 4 | Name: pr1util
|
|---|
| 5 | Version: 1.6.5
|
|---|
| 6 | Release: 2%{?dist}
|
|---|
| 7 | License: Freeware
|
|---|
| 8 | Group: Applications/System
|
|---|
| 9 | URL: http://home.clara.net/orac/os2.htm
|
|---|
| 10 | Vendor: Paul Ratcliffe
|
|---|
| 11 | Source: %{name}-%{version}.zip
|
|---|
| 12 | BuildRoot: %_tmppath/%name-%version-%release-root
|
|---|
| 13 | Obsoletes: PR1UTIL
|
|---|
| 14 | Requires: os2-rpm >= 1-2
|
|---|
| 15 |
|
|---|
| 16 | %description
|
|---|
| 17 | PR1UTIL is a REXX library of miscellaneous functions. It uses TCP/IP
|
|---|
| 18 | libraries and thus requires TCP/IP to be installed. The program is freeware
|
|---|
| 19 | and as such USE OF THIS PROGRAM IS ENTIRELY AT YOUR OWN RISK.
|
|---|
| 20 |
|
|---|
| 21 | %prep
|
|---|
| 22 | %setup -n "%{name}-%{version}" -Tc
|
|---|
| 23 | unzip -qj %{_sourcedir}/%{name}-%{version}.zip
|
|---|
| 24 |
|
|---|
| 25 | %build
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 | %install
|
|---|
| 29 | install -p -m0644 -D pr1util.dll $RPM_BUILD_ROOT%{_libdir}/pr1util.dll
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 | %clean
|
|---|
| 33 | rm -rf "$RPM_BUILD_ROOT"
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 | %post
|
|---|
| 37 | if [ "$1" -ge 1 ]; then # (upon update)
|
|---|
| 38 | %wps_object_delete_all
|
|---|
| 39 | %{_rpmconfigdir_os2}/wpi4rpm del %{vendor}/Pr1Util/Library %{version}-%{release}
|
|---|
| 40 | fi
|
|---|
| 41 | %{_rpmconfigdir_os2}/wpi4rpm add %{vendor}/Pr1Util/Library %{version}-%{release}
|
|---|
| 42 |
|
|---|
| 43 |
|
|---|
| 44 | %postun
|
|---|
| 45 | if [ "$1" -eq 0 ]; then # (upon removal)
|
|---|
| 46 | %wps_object_delete_all
|
|---|
| 47 | %{_rpmconfigdir_os2}/wpi4rpm del %{vendor}/Pr1Util/Library %{version}-%{release}
|
|---|
| 48 | fi
|
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 | %files
|
|---|
| 52 | %defattr(-,root,root,-)
|
|---|
| 53 | %doc pr1util.txt
|
|---|
| 54 | %_libdir/*.dll
|
|---|
| 55 |
|
|---|
| 56 |
|
|---|
| 57 | %changelog
|
|---|
| 58 | * Tue Sep 11 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.6.5-2
|
|---|
| 59 | - fixed rpm and case
|
|---|
| 60 | * Sun Feb 05 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.6.5-1
|
|---|
| 61 | - final release from Paul Ratcliffe
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.