1 |
slords |
1.1 |
# $Id: smeserver-lazy_admin_tools.spec,v 1.2 2010/03/06 16:27:29 slords Exp $ |
2 |
|
|
# 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 |
|
|
|
21 |
|
|
%description |
22 |
|
|
The Lazy Administrator's Tools is a set of scripts designed to automate |
23 |
|
|
batch tasks and jobs for E-Smith/SME servers. |
24 |
|
|
* lat-user : add/delete users |
25 |
|
|
* lat-group : add/delete groups |
26 |
|
|
* lat pseudonyms : add/delete e-mail pseudonyms for individual users |
27 |
|
|
* lat-ibays : add/delete ibays |
28 |
|
|
* lat-quota : set the disk quota for individual users |
29 |
|
|
* lat-domains : add domainnames the server |
30 |
|
|
* lat-hosts : add hostnames to the server |
31 |
|
|
* lat-procmail : activate or deactivate procmail for individual users |
32 |
|
|
* lat-pptp : activate or deactivate pptp access for individual users |
33 |
|
|
* lat-dump : create input files for the above lat-tools, based on the |
34 |
|
|
configuration files of the SME servers. |
35 |
|
|
|
36 |
|
|
See man lat-tools for general help on the usage of the toolkit, or run the |
37 |
|
|
command with the --help switch to get specific help. |
38 |
|
|
|
39 |
|
|
%changelog |
40 |
|
|
* Sat May 26 2012 JP PIALASSE tests@pialasse.com 1.0-1.sme |
41 |
|
|
- Initial version |
42 |
|
|
|
43 |
|
|
%prep |
44 |
|
|
%setup |
45 |
|
|
|
46 |
|
|
%build |
47 |
|
|
|
48 |
|
|
%install |
49 |
|
|
rm -rf $RPM_BUILD_ROOT |
50 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
51 |
|
|
rm -f e-smith-%{version}-filelist |
52 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
53 |
|
|
|
54 |
|
|
%clean |
55 |
|
|
rm -rf $RPM_BUILD_ROOT |
56 |
|
|
|
57 |
|
|
%files -f %{name}-%{version}-filelist |
58 |
|
|
%defattr(-,root,root) |
59 |
|
|
|