| 1 | %define debug_package %{nil}
|
|---|
| 2 | # Disable compression completely
|
|---|
| 3 | %define _strip_no_compress 1
|
|---|
| 4 |
|
|---|
| 5 | Summary: kLIBC User Management
|
|---|
| 6 | Name: klusrmgr
|
|---|
| 7 | Version: 1.1.4
|
|---|
| 8 | Release: 1%{?dist}
|
|---|
| 9 | License: proprietary
|
|---|
| 10 | Group: Applications/System
|
|---|
| 11 | URL: http://www.netlabs.org/vxapps
|
|---|
| 12 | Vendor: bww bitwise works GmbH
|
|---|
| 13 | Source: %{name}-%{version}.zip
|
|---|
| 14 | BuildRoot: %_tmppath/%name-%version-%release-root
|
|---|
| 15 | Requires: wpi4rpm >= 0.9.2
|
|---|
| 16 | Requires: rxcrypt >= 1.0.0
|
|---|
| 17 | Requires: bww-resources-rpm >= 1.1.0
|
|---|
| 18 | Obsoletes: kLIBCum <= 1.0.10
|
|---|
| 19 |
|
|---|
| 20 | %description
|
|---|
| 21 | The purpose of this utility is to manage kLIBC users and groups.
|
|---|
| 22 | These files are found in %UNIXROOT%\etc and have the following names
|
|---|
| 23 | - master.passwd
|
|---|
| 24 | - group
|
|---|
| 25 |
|
|---|
| 26 | These files are syntactically properly maintained and compiled into
|
|---|
| 27 | pwd.db and spwd.db using the pwdmkdb.exe utility.
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 | %prep
|
|---|
| 31 | %setup -n "%{name}-%{version}" -Tc
|
|---|
| 32 | unzip -q %{_sourcedir}/%{name}-%{version}.zip
|
|---|
| 33 |
|
|---|
| 34 | %build
|
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 | %install
|
|---|
| 38 | mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|---|
| 39 | cp usr/bin/*.exe $RPM_BUILD_ROOT%{_bindir}
|
|---|
| 40 | cp usr/bin/*.EXE $RPM_BUILD_ROOT%{_bindir}
|
|---|
| 41 | mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}
|
|---|
| 42 | cp usr/share/doc/klusrmgr/readme.txt $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version}
|
|---|
| 43 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/os2/lang
|
|---|
| 44 | cp usr/share/os2/lang/*.msg $RPM_BUILD_ROOT%{_datadir}/os2/lang
|
|---|
| 45 |
|
|---|
| 46 |
|
|---|
| 47 | %clean
|
|---|
| 48 | rm -rf "$RPM_BUILD_ROOT"
|
|---|
| 49 |
|
|---|
| 50 | %post
|
|---|
| 51 | if [ "$1" -ge 1 ]; then # (upon update)
|
|---|
| 52 | %wps_object_delete_all
|
|---|
| 53 | wpi4rpm del %{vendor}/%{name}/binaries %{version}-%{release}
|
|---|
| 54 | fi
|
|---|
| 55 | %global title %{summary}
|
|---|
| 56 | %bww_folder -t %{title}
|
|---|
| 57 | %bww_app -f %{_bindir}/%{name}.exe -t %{title}
|
|---|
| 58 | %bww_readme -f %{_defaultdocdir}/%{name}-%{version}/readme.txt
|
|---|
| 59 | %bww_app_shadow
|
|---|
| 60 | %bww_app_shadow -d WP_CONFIG
|
|---|
| 61 | wpi4rpm add %{vendor}/%{name}/binaries %{version}-%{release}
|
|---|
| 62 | klusrmgr -init
|
|---|
| 63 |
|
|---|
| 64 | %postun
|
|---|
| 65 | if [ "$1" -eq 0 ]; then # (upon removal)
|
|---|
| 66 | %wps_object_delete_all
|
|---|
| 67 | wpi4rpm del %{vendor}/%{name}/binaries %{version}-%{release}
|
|---|
| 68 | fi
|
|---|
| 69 |
|
|---|
| 70 | %files
|
|---|
| 71 | %defattr(-,root,root,-)
|
|---|
| 72 | %_defaultdocdir/%{name}-%{version}/readme.txt
|
|---|
| 73 | %_bindir/*.exe
|
|---|
| 74 | %_bindir/*.EXE
|
|---|
| 75 | %_datadir/os2/lang/*.msg
|
|---|
| 76 |
|
|---|
| 77 |
|
|---|
| 78 | %changelog
|
|---|
| 79 | * Thu Feb 06 2018 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.4-1
|
|---|
| 80 | - Fix: Missing msgs from 1.1.x sometimes did not work
|
|---|
| 81 | - Fix: Tab order on user page
|
|---|
| 82 | - Fix: Verify if passwords match also for new users
|
|---|
| 83 |
|
|---|
| 84 | * Tue Dec 12 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.3-2
|
|---|
| 85 | - fix buglet in package creation
|
|---|
| 86 |
|
|---|
| 87 | * Tue Dec 12 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.3-1
|
|---|
| 88 | - fix -init switch and repair structural bugs and omission introduced by 1.1.x
|
|---|
| 89 |
|
|---|
| 90 | * Thu Jun 08 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.2-1
|
|---|
| 91 | - add root group with GID 0 as a default group
|
|---|
| 92 | - fix several small bugs
|
|---|
| 93 |
|
|---|
| 94 | * Mon Apr 24 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.1-1
|
|---|
| 95 | - add -init switch and ensure default files are created upon installation
|
|---|
| 96 |
|
|---|
| 97 | * Sun Feb 05 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.0-3
|
|---|
| 98 | - put RxCrypt.DLL into a separate package
|
|---|
| 99 |
|
|---|
| 100 | * Thu Jan 26 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.1.0-2
|
|---|
| 101 | - renamed to klusrmgr
|
|---|
| 102 | - added support for shell
|
|---|
| 103 | - completely rewrote user properties dialogue
|
|---|
| 104 |
|
|---|
| 105 | * Fri Nov 18 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.10
|
|---|
| 106 | - fix Ticket #7
|
|---|
| 107 | - fix minor bugs in user properties page
|
|---|
| 108 | - rework and simplify join/leave dialogue
|
|---|
| 109 |
|
|---|
| 110 | * Thu Nov 17 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.9-2
|
|---|
| 111 | - fix minor bug
|
|---|
| 112 |
|
|---|
| 113 | * Thu Nov 17 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.9
|
|---|
| 114 | - Limited group editing
|
|---|
| 115 | - bigger buttons, new icons
|
|---|
| 116 | - fix Ticket #125 (Unix ports)
|
|---|
| 117 | - fix new user bug
|
|---|
| 118 | - add ignore root shell error warning
|
|---|
| 119 | - make debug stick across sessions
|
|---|
| 120 |
|
|---|
| 121 | * Tue Nov 15 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.8
|
|---|
| 122 | - add functionality to add/remove multiple user from/to groups
|
|---|
| 123 | - double click on user open user properties to edit
|
|---|
| 124 |
|
|---|
| 125 | * Fri Nov 11 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.7-2
|
|---|
| 126 | - fix minor bug
|
|---|
| 127 |
|
|---|
| 128 | * Fri Nov 11 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.7-1
|
|---|
| 129 | - Add smbusers.exe check, fix missing NLV translations,
|
|---|
| 130 | - add NL, IT and RU language files
|
|---|
| 131 |
|
|---|
| 132 | * Thu Nov 10 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.6-1
|
|---|
| 133 | - Add "Remove user from group" functionality, fix missing NLV translations
|
|---|
| 134 |
|
|---|
| 135 | * Fri Nov 04 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.5-1
|
|---|
| 136 | - Add some hints, fix wrong hints
|
|---|
| 137 |
|
|---|
| 138 | * Thu Oct 27 2016 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.4-1
|
|---|
| 139 | - bigger buttons, shortened strings for EN, ES
|
|---|
| 140 |
|
|---|
| 141 | * Mon Oct 24 2016 scs <silvan.scherrer@bitwiseworks.com> 1.0.3-1
|
|---|
| 142 | - first public version
|
|---|
| 143 |
|
|---|