1 |
slords |
1.2 |
# $Id: smeserver-lazy_admin_tools.spec,v 1.1 2012/05/26 23:11:09 slords Exp $ |
2 |
slords |
1.1 |
# Authority: unnilennium |
3 |
|
|
# Name: Jean-Philippe Pialasse |
4 |
|
|
|
5 |
|
|
Summary: Lazy Admin's Tools is a set of scripts to automate admin tasks |
6 |
|
|
%define name smeserver-lazy_admin_tools |
7 |
|
|
%define version 1.0 |
8 |
|
|
%define release 1%{?dist} |
9 |
|
|
Name: %{name} |
10 |
|
|
Version: %{version} |
11 |
|
|
Release: %{release} |
12 |
|
|
Source: %{name}-%{version}.tgz |
13 |
|
|
License: GPL |
14 |
|
|
Group: Networking/Tools |
15 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
16 |
|
|
BuildArchitectures: noarch |
17 |
|
|
Requires: e-smith-base |
18 |
|
|
Requires: SMEServer >= 8.0 |
19 |
|
|
Obsoletes: e-smith-lazy_admin_tools |
20 |
slords |
1.2 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
21 |
slords |
1.1 |
|
22 |
|
|
%description |
23 |
|
|
The Lazy Administrator's Tools is a set of scripts designed to automate |
24 |
|
|
batch tasks and jobs for E-Smith/SME servers. |
25 |
|
|
* lat-user : add/delete users |
26 |
|
|
* lat-group : add/delete groups |
27 |
|
|
* lat pseudonyms : add/delete e-mail pseudonyms for individual users |
28 |
|
|
* lat-ibays : add/delete ibays |
29 |
|
|
* lat-quota : set the disk quota for individual users |
30 |
|
|
* lat-domains : add domainnames the server |
31 |
|
|
* lat-hosts : add hostnames to the server |
32 |
|
|
* lat-procmail : activate or deactivate procmail for individual users |
33 |
|
|
* lat-pptp : activate or deactivate pptp access for individual users |
34 |
|
|
* lat-dump : create input files for the above lat-tools, based on the |
35 |
|
|
configuration files of the SME servers. |
36 |
|
|
|
37 |
|
|
See man lat-tools for general help on the usage of the toolkit, or run the |
38 |
|
|
command with the --help switch to get specific help. |
39 |
|
|
|
40 |
|
|
%changelog |
41 |
|
|
* Sat May 26 2012 JP PIALASSE tests@pialasse.com 1.0-1.sme |
42 |
|
|
- Initial version |
43 |
|
|
|
44 |
|
|
%prep |
45 |
|
|
%setup |
46 |
|
|
|
47 |
|
|
%build |
48 |
|
|
|
49 |
|
|
%install |
50 |
|
|
rm -rf $RPM_BUILD_ROOT |
51 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
52 |
|
|
rm -f e-smith-%{version}-filelist |
53 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
54 |
|
|
|
55 |
|
|
%clean |
56 |
|
|
rm -rf $RPM_BUILD_ROOT |
57 |
|
|
|
58 |
|
|
%files -f %{name}-%{version}-filelist |
59 |
|
|
%defattr(-,root,root) |
60 |
|
|
|