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

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

spec: rxcrypt: Release version 1.0.0-3.

File size: 1.7 KB
Line 
1%define debug_package %{nil}
2%define _strip_opts --no-compress --no-debuginfo
3
4
5
6Summary: Dmitry A.Steklenev's RxCrypt library
7Name: rxcrypt
8Version: 1.0.0
9Release: 3%{?dist}
10License: Public Domain
11Group: Applications/System
12URL: http://glass.ptv.ru
13Vendor: Dmitry A.Steklenev
14Source: %{name}-%{version}.zip
15BuildRoot: %_tmppath/%name-%version-%release-root
16Requires: os2-rpm >= 1-2
17
18%description
19This Rexx DLL provides a crypt API.
20
21%prep
22%setup -n "%{name}-%{version}" -Tc
23unzip -qj %{_sourcedir}/%{name}-%{version}.zip
24
25%build
26
27
28%install
29install -p -m0644 -D rxcrypt.dll $RPM_BUILD_ROOT%{_libdir}/rxcrypt.dll
30
31
32%clean
33rm -rf "$RPM_BUILD_ROOT"
34
35%post
36if [ "$1" -ge 1 ]; then # (upon update)
37 %wps_object_delete_all
38 %{_rpmconfigdir_os2}/wpi4rpm del %{vendor}/RxCrypt/Library %{version}-%{release}
39fi
40%wps_object_create_begin
41WP_BWWHELP:WPFolder|bww Help|<WP_ASSISTANCE>|TITLE=bitwiseworks Help Center;SHOWALLINTREEVIEW=YES;ICONRESOURCE=60,PMWP.DLL;
42%wps_object_create_end
43%{_rpmconfigdir_os2}/wpi4rpm add %{vendor}/RxCrypt/Library %{version}-%{release}
44
45%postun
46if [ "$1" -eq 0 ]; then # (upon removal)
47 %wps_object_delete_all
48 %{_rpmconfigdir_os2}/wpi4rpm del %{vendor}/RxCrypt/Library %{version}-%{release}
49fi
50
51%files
52%defattr(-,root,root,-)
53%doc *.html *.phtml *.gif crypt.txt sample.cmd rxcryptsrc.zip
54%_libdir/*.dll
55
56
57%changelog
58* Wed Sep 05 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-3
59- fix the spec file (Silvan Scherrer)
60
61* Wed Jun 06 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-2
62- fix the location of wpi4rpm
63
64* Sun Feb 05 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-1
65- final and only release from Dmitry A.Steklenev AKA GlassMan
Note: See TracBrowser for help on using the repository browser.