source: spec/trunk/SPECS/klusrmgr.spec@ 1063

Last change on this file since 1063 was 1057, checked in by herwigb, 9 years ago

spec: klusrmgr: Release version 1.1.0-3.

File size: 3.6 KB
Line 
1%define debug_package %{nil}
2
3Summary: kLIBC User Management
4Name: klusrmgr
5Version: 1.1.0
6Release: 3%{?dist}
7License: proprietary
8Group: Applications/System
9URL: http://www.netlabs.org/vxapps
10Vendor: bww bitwise works GmbH
11Source: %{name}-%{version}.zip
12BuildRoot: %_tmppath/%name-%version-%release-root
13Requires: wpi4rpm >= 0.9.2
14Requires: rxcrypt >= 1.0.0
15Requires: bwwres >= 1.0.0
16Obsoletes: kLIBCum <= 1.0.10
17
18%description
19The purpose of this utility is to manage kLIBC users and groups.
20These files are found in %UNIXROOT%\etc and have the following names
21- master.passwd
22- group
23
24These files are syntactically properly maintained and compiled into
25pwd.db and spwd.db using the pwdmkdb.exe utility.
26
27
28%prep
29%setup -n "%{name}-%{version}" -Tc
30unzip -q %{_sourcedir}/%{name}-%{version}.zip
31
32%build
33
34
35%install
36mkdir -p $RPM_BUILD_ROOT%{_bindir}
37cp usr/bin/*.exe $RPM_BUILD_ROOT%{_bindir}
38cp usr/bin/*.EXE $RPM_BUILD_ROOT%{_bindir}
39mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}
40cp usr/share/doc/klusrmgr/readme.txt $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}
41mkdir -p $RPM_BUILD_ROOT%{_datadir}/os2/lang
42cp usr/share/os2/lang/*.msg $RPM_BUILD_ROOT%{_datadir}/os2/lang
43
44
45%clean
46rm -rf "$RPM_BUILD_ROOT"
47
48%post
49if [ "$1" -ge 1 ]; then # (upon update)
50 %wps_object_delete_all
51 wpi4rpm del %{vendor}/%{name}/binaries %{version}-%{release}
52fi
53%bww_folder -e %{name} -r readme.txt
54%wps_object_create %{name}_WPCFGSHADOW:WPShadow|%{summary}|<WP_CONFIG>|SHADOWID=<%{__bww_exe}_EXE>;
55wpi4rpm add %{vendor}/%{name}/binaries %{version}-%{release}
56
57%postun
58if [ "$1" -eq 0 ]; then # (upon removal)
59 %wps_object_delete_all
60 wpi4rpm del %{vendor}/%{name}/binaries %{version}-%{release}
61fi
62
63%files
64%defattr(-,root,root,-)
65%_defaultdocdir/%{name}-%{version}/readme.txt
66%_bindir/*.exe
67%_bindir/*.EXE
68%_datadir/os2/lang/*.msg
69
70
71%changelog
72* Sun Feb 05 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.0-3
73- put RxCrypt.DLL into a separate package
74* Thu Jan 26 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.0-2
75- renamed to klusrmgr
76- added support for shell
77- completely rewrote user properties dialogue
78* Fri Nov 18 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.10
79- fix Ticket #7
80- fix minor bugs in user properties page
81- rework and simplify join/leave dialogue
82* Thu Nov 17 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.9-2
83- fix minor bug
84* Thu Nov 17 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.9
85- Limited group editing
86- bigger buttons, new icons
87- fix Ticket #125 (Unix ports)
88- fix new user bug
89- add ignore root shell error warning
90- make debug stick across sessions
91* Tue Nov 15 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.8
92- add functionality to add/remove multiple user from/to groups
93- double click on user open user properties to edit
94* Fri Nov 11 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.7-2
95- fix minor bug
96* Fri Nov 11 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.7-1
97- Add smbusers.exe check, fix missing NLV translations,
98- add NL, IT and RU language files
99* Thu Nov 10 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.6-1
100- Add "Remove user from group" functionality, fix missing NLV translations
101* Fri Nov 04 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.5-1
102- Add some hints, fix wrong hints
103* Thu Oct 27 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.4-1
104- bigger buttons, shortened strings for EN, ES
105* Mon Oct 24 2016 scs <silvan.scherrer@bitwiseworks.com> 1.0.3-1
106- first public version
Note: See TracBrowser for help on using the repository browser.