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 0 |
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 |
AutoReq: no |
15 |
|
16 |
%description |
17 |
See http://wiki.contribs.org/Dirty_Tools for full documentation |
18 |
|
19 |
|
20 |
%changelog |
21 |
* Tue Sep 11 2007 Michael Weinberger |
22 |
Version 0.0.9 |
23 |
dt-data-copy |
24 |
* Wed Aug 22 2007 Michael Weinberger |
25 |
Version 0.0.8 |
26 |
fixed dt-passowrds-sync: PasswordSet prop for ibays |
27 |
* Tue Aug 21 2007 Michael Weinberger |
28 |
Version 0.0.7 |
29 |
fixed dt-passowrds-sync: smbpasswd-sync: also sync flags and lct. |
30 |
fixed dt-lock-account: dont unlock (new) account without a password set: Print a error. |
31 |
Set PasswordSet property onyl if both shadow password and smb password are set |
32 |
* Sun Aug 19 2007 Michael Weinberger |
33 |
Version 0.0.6 |
34 |
dt-lock-account |
35 |
* Thu Aug 16 2007 Michael Weinberger |
36 |
Version 0.0.5 |
37 |
dt-pw-generate |
38 |
* Sun Aug 12 2007 Michael Weinberger |
39 |
Version 0.0.4 |
40 |
dt-dovecot-indexfiles-delete added |
41 |
dt-datasync renamed to dt-data-sync |
42 |
* Fri Aug 10 2007 Michael Weinberger |
43 |
Schleife in dt-password-sync mit 0 beginnen |
44 |
* Wed Aug 01 2007 Michael Weinberger |
45 |
- initial release 0.0.1 |
46 |
|
47 |
%prep |
48 |
%setup -q -n %{realname}-%{version} |
49 |
|
50 |
%build |
51 |
|
52 |
%install |
53 |
rm -rf $RPM_BUILD_ROOT |
54 |
rm -f %{name}-%{version}-filelist |
55 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
56 |
|
57 |
rm -f %{name}-%{version}-filelist |
58 |
|
59 |
find $RPM_BUILD_ROOT -depth -type f -print |\ |
60 |
sed -e "s@^$RPM_BUILD_ROOT@@g" \ |
61 |
-e "s@^/sbin/e-smith/@%attr(0750,root,root) &@"\ |
62 |
>> %{name}-%{version}-filelist |
63 |
find $RPM_BUILD_ROOT -depth -type l -print |\ |
64 |
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
65 |
|
66 |
%clean |
67 |
rm -rf $RPM_BUILD_ROOT |
68 |
|
69 |
%files -f %{name}-%{version}-filelist |
70 |
%defattr(-,root,root) |