1 |
Summary: A collection of "dirty" scripts for the experienced administrator |
2 |
%define realname smeserver-dirty-tools |
3 |
Name: %{realname} |
4 |
%define version 0.0.9 |
5 |
Version: %{version} |
6 |
%define release 2 |
7 |
Release: %{release}%{?dist} |
8 |
License: GNU GPL (GNU General Public License) |
9 |
Group: Administration |
10 |
Source: %{realname}-%{version}.tar.gz |
11 |
BuildRoot: /var/tmp/%{realname}-%{version}-buildroot/ |
12 |
BuildArch: noarch |
13 |
Requires: smeserver-release >= 7 |
14 |
Requires: perl-esmith-PasswordTools |
15 |
Patch0: smeserver-dirty-tools-0.0.9-bug_4001.patch |
16 |
Patch1: smeserver-dirty-tools-0.0.9-usePasswordTools.patch |
17 |
AutoReq: no |
18 |
|
19 |
%description |
20 |
See http://wiki.contribs.org/Dirty_Tools for full documentation |
21 |
|
22 |
|
23 |
%changelog |
24 |
* Sat Mar 01 2008 Michael Weinberger 0.0.9-2 |
25 |
use perl-esmith-PasswordTools |
26 |
* Sat Mar 01 2008 Michael Weinberger 0.0.9-1 |
27 |
Bug 4001 fix |
28 |
* Tue Sep 11 2007 Michael Weinberger |
29 |
Version 0.0.9 |
30 |
dt-data-copy |
31 |
* Wed Aug 22 2007 Michael Weinberger |
32 |
Version 0.0.8 |
33 |
fixed dt-passowrds-sync: PasswordSet prop for ibays |
34 |
* Tue Aug 21 2007 Michael Weinberger |
35 |
Version 0.0.7 |
36 |
fixed dt-passowrds-sync: smbpasswd-sync: also sync flags and lct. |
37 |
fixed dt-lock-account: dont unlock (new) account without a password set: Print a error. |
38 |
Set PasswordSet property onyl if both shadow password and smb password are set |
39 |
* Sun Aug 19 2007 Michael Weinberger |
40 |
Version 0.0.6 |
41 |
dt-lock-account |
42 |
* Thu Aug 16 2007 Michael Weinberger |
43 |
Version 0.0.5 |
44 |
dt-pw-generate |
45 |
* Sun Aug 12 2007 Michael Weinberger |
46 |
Version 0.0.4 |
47 |
dt-dovecot-indexfiles-delete added |
48 |
dt-datasync renamed to dt-data-sync |
49 |
* Fri Aug 10 2007 Michael Weinberger |
50 |
Schleife in dt-password-sync mit 0 beginnen |
51 |
* Wed Aug 01 2007 Michael Weinberger |
52 |
- initial release 0.0.1 |
53 |
|
54 |
%prep |
55 |
%setup -q -n %{realname}-%{version} |
56 |
%patch0 -p1 |
57 |
%patch1 -p1 |
58 |
|
59 |
%build |
60 |
|
61 |
%install |
62 |
rm -rf $RPM_BUILD_ROOT |
63 |
rm -f %{name}-%{version}-filelist |
64 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
65 |
|
66 |
rm -f %{name}-%{version}-filelist |
67 |
|
68 |
find $RPM_BUILD_ROOT -depth -type f -print |\ |
69 |
sed -e "s@^$RPM_BUILD_ROOT@@g" \ |
70 |
-e "s@^/sbin/e-smith/@%attr(0750,root,root) &@"\ |
71 |
>> %{name}-%{version}-filelist |
72 |
find $RPM_BUILD_ROOT -depth -type l -print |\ |
73 |
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
74 |
|
75 |
%clean |
76 |
rm -rf $RPM_BUILD_ROOT |
77 |
|
78 |
%files -f %{name}-%{version}-filelist |
79 |
%defattr(-,root,root) |