1 |
# $Id: smeserver-lazy_admin_tools.spec,v 1.1 2012/05/26 23:11:09 slords Exp $ |
# $Id: smeserver-lazy_admin_tools.spec,v 1.4 2013/02/02 19:27:13 unnilennium Exp $ |
2 |
# Authority: unnilennium |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
# Name: Jean-Philippe Pialasse |
4 |
|
|
5 |
Summary: Lazy Admin's Tools is a set of scripts to automate admin tasks |
Summary: Lazy Admin's Tools is a set of scripts to automate admin tasks |
6 |
%define name smeserver-lazy_admin_tools |
%define name smeserver-lazy_admin_tools |
7 |
%define version 1.0 |
%define version 1.0 |
8 |
%define release 1%{?dist} |
%define release 3%{?dist} |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release} |
Release: %{release} |
18 |
Requires: SMEServer >= 8.0 |
Requires: SMEServer >= 8.0 |
19 |
Obsoletes: e-smith-lazy_admin_tools |
Obsoletes: e-smith-lazy_admin_tools |
20 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
21 |
|
Patch0: smeserver-lazy_admin_tools-1.0-patch0.patch |
22 |
|
|
23 |
|
|
24 |
%description |
%description |
25 |
The Lazy Administrator's Tools is a set of scripts designed to automate |
The Lazy Administrator's Tools is a set of scripts designed to automate |
26 |
batch tasks and jobs for E-Smith/SME servers. |
batch tasks and jobs for E-Smith/SME servers. |
40 |
command with the --help switch to get specific help. |
command with the --help switch to get specific help. |
41 |
|
|
42 |
%changelog |
%changelog |
43 |
|
* Sat Feb 02 2013 JP PIALASSE tests@pialasse.com 1.0-3.sme |
44 |
|
- fixed warning on empty group creation/update bug [SME: 7202] |
45 |
|
- fixed uid changed on user update bug [SME: 7196] |
46 |
|
- fixed warning on user creation/update bug [SME: 7192] |
47 |
|
* Sat Feb 02 2013 JP PIALASSE tests@pialasse.com 1.0-2.sme |
48 |
|
- binary are not executable [SME: 7138] |
49 |
* Sat May 26 2012 JP PIALASSE tests@pialasse.com 1.0-1.sme |
* Sat May 26 2012 JP PIALASSE tests@pialasse.com 1.0-1.sme |
50 |
- Initial version |
- Initial version |
51 |
|
|
52 |
%prep |
%prep |
53 |
%setup |
%setup |
54 |
|
%patch0 -p1 |
55 |
|
|
56 |
%build |
%build |
57 |
|
|
59 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
60 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
61 |
rm -f e-smith-%{version}-filelist |
rm -f e-smith-%{version}-filelist |
62 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
63 |
|
--file '/usr/sbin/lat-domains' 'attr(755,root,root)' \ |
64 |
|
--file '/usr/sbin/lat-dump' 'attr(755,root,root)' \ |
65 |
|
--file /usr/sbin/lat-groups 'attr(755,root,root)' \ |
66 |
|
--file /usr/sbin/lat-hosts 'attr(755,root,root)' \ |
67 |
|
--file /usr/sbin/lat-ibays 'attr(755,root,root)' \ |
68 |
|
--file /usr/sbin/lat-pptp 'attr(755,root,root)' \ |
69 |
|
--file /usr/sbin/lat-procmail 'attr(755,root,root)' \ |
70 |
|
--file /usr/sbin/lat-pseudonyms 'attr(755,root,root)' \ |
71 |
|
--file /usr/sbin/lat-quota 'attr(755,root,root)' \ |
72 |
|
--file /usr/sbin/lat-restore 'attr(755,root,root)' \ |
73 |
|
--file /usr/sbin/lat-users 'attr(755,root,root)' \ |
74 |
|
> %{name}-%{version}-filelist |
75 |
|
|
76 |
|
|
77 |
|
|
78 |
%clean |
%clean |
79 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |