LDAPAccountManager/lam-packaging/RPM/ldap-account-manager.spec

129 lines
4.1 KiB
Plaintext
Raw Normal View History

2008-08-03 18:08:27 +00:00
%define httpd_rootdir @@HTTP_DIR@@
2006-01-20 15:49:20 +00:00
%define lam_dir lam
2008-07-29 18:29:24 +00:00
%define lam_uid @@USER@@
%define lam_gid @@GROUP@@
2008-08-03 19:07:41 +00:00
%define lam_distribution @@DISTRIBUTION@@
%define is_suse %(test suse = %lam_distribution && echo 1 || echo 0)
%define is_fedora %(test fedora = %lam_distribution && echo 1 || echo 0)
2006-01-20 15:49:20 +00:00
Name: ldap-account-manager
License: GPL
Group: Productivity/Networking/Web/Frontends
Version: @@VERSION@@
2008-08-10 12:15:24 +00:00
Release: 0.%lam_distribution.1
2006-01-20 15:49:20 +00:00
Source0: ldap-account-manager-%{version}.tar.gz
2009-08-10 16:25:20 +00:00
URL: http://www.ldap-account-manager.org/
2006-01-20 15:49:20 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
Summary: Administration of LDAP users, groups and hosts via Web GUI
2008-08-10 12:15:24 +00:00
Summary(de): Administration von Benutzern, Gruppen und Hosts für LDAP-Server
2008-07-29 18:29:24 +00:00
Vendor: Roland Gruber
Packager: Roland Gruber <post@rolandgruber.de>
2006-01-20 15:49:20 +00:00
BuildArchitectures: noarch
2008-08-03 18:08:27 +00:00
AutoReqProv: no
2008-08-03 19:02:21 +00:00
%if %is_suse
2008-08-10 12:15:24 +00:00
Requires: mod_php_any
Requires: php5
2008-08-03 18:08:27 +00:00
Requires: php-gettext
Requires: php-session
Requires: php-ldap
2008-08-10 12:15:24 +00:00
Requires: php-hash
Requires: perl
%endif
%if %is_fedora
2008-08-10 14:08:21 +00:00
Requires: php
Requires: perl
2008-08-03 18:08:27 +00:00
%endif
2006-01-20 15:49:20 +00:00
2008-07-29 18:29:24 +00:00
2006-01-20 15:49:20 +00:00
%description
2008-08-10 12:15:24 +00:00
LDAP Account Manager (LAM) runs on an existing webserver.
It manages user, group and host accounts. Currently LAM supports
2009-10-11 11:59:36 +00:00
these account types: Samba 3, Unix, Kolab 2, address book
2008-08-10 12:15:24 +00:00
entries, NIS mail aliases and MAC addresses. There is a tree
viewer included to allow access to the raw LDAP attributes. You
can use templates for account creation and use multiple configuration
profiles. Account information can be exported as PDF file. There is also
a script included which manages quota and homedirectories.
%description -l de
LDAP Account Manager (LAM) läuft auf einem exisierenden Webserver.
LAM verwaltet Benutzer, Gruppen und Hosts. Zur Zeit werden folgende Account-Typen
2009-10-11 11:59:36 +00:00
unterstützt: Samba 3, Unix, Kolab 2, Addressbuch Einträge, NIS
2008-08-10 12:15:24 +00:00
mail Aliase und MAC-Addressen. Es gibt eine Baumansicht mit der man die
LDAP-Daten direkt bearbeiten kann. Zum Anlegen von Accounts können
Vorlagen definiert werden. Es können mehrere Konfigurations-Profile
definiert werden. Account-Informationen können als PDF exportiert
werden. Außerdem exisitiert ein Script mit dem man Quotas und
Home-Verzeichnisse verwalten kann.
2006-01-20 15:49:20 +00:00
%prep
%setup -n ldap-account-manager-%{version}
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{httpd_rootdir}/%{lam_dir}
cp -dR * $RPM_BUILD_ROOT%{httpd_rootdir}/%{lam_dir}
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
%post
chown %{lam_uid}.%{lam_gid} -R $RPM_BUILD_ROOT%{httpd_rootdir}/%{lam_dir}/config
chown %{lam_uid}.%{lam_gid} -R $RPM_BUILD_ROOT%{httpd_rootdir}/%{lam_dir}/tmp
chown %{lam_uid}.%{lam_gid} -R $RPM_BUILD_ROOT%{httpd_rootdir}/%{lam_dir}/sess
%files
%defattr(-, root, root)
2009-11-07 18:38:19 +00:00
%doc COPYING HISTORY README docs
2006-01-20 15:49:20 +00:00
%{httpd_rootdir}/%{lam_dir}
2008-07-27 13:39:22 +00:00
%changelog
2009-11-07 18:38:19 +00:00
* Sat Nov 07 2009 - Roland Gruber post@rolandgruber.de
- Added LAM manuals
2008-07-27 13:39:22 +00:00
* Sat Jul 26 2008 - Roland Gruber post@rolandgruber.de
- Added subpackage for lamdaemon
2006-01-20 15:49:20 +00:00
* Wed Jan 11 2006 - Iain Lea iain@bricbrac.de
- Updated for 1.0 series on Fedora Core
* Mon Dec 12 2005 - Iain Lea iain@bricbrac.de
- Updated for 0.5.x series on Fedora Core
* Sun Mar 21 2004 - TiloLutz@gmx.de
- Initial release 0.1.0 - 0.4.5
2008-07-27 13:39:22 +00:00
%package lamdaemon
Summary: Quota and home directory management for LDAP Account Manager
2008-08-10 12:15:24 +00:00
Summary(de): Verwaltung von Quotas und Heimatverzeichnissen für LDAP Account Manager
2008-07-27 13:39:22 +00:00
Group: Productivity/Networking/Web/Frontends
2008-08-10 12:15:24 +00:00
AutoReqProv: no
%if %is_suse
Requires: perl
Requires: sudo
%endif
%if %is_fedora
2008-08-10 14:08:21 +00:00
Requires: perl
Requires: sudo
2008-08-10 12:15:24 +00:00
%endif
2008-07-27 13:39:22 +00:00
%description lamdaemon
Lamdaemon is part of LDAP Account Manager. This package
needs to be installed on the server where the home directories
reside and/or quotas should be managed.
2008-08-10 12:15:24 +00:00
%description lamdaemon -l de
Lamdaemon ist Teil von LDAP Account Manager. Dieses Paket
wird auf dem Server installiert, auf dem Quotas und
Heimatverzeichnisse verwaltet werden sollen.
2008-07-27 13:39:22 +00:00
%files lamdaemon
%{httpd_rootdir}/%{lam_dir}/lib/lamdaemon.pl
2008-07-28 17:24:54 +00:00
%doc docs/*txt COPYING HISTORY INSTALL README VERSION
2008-07-27 13:39:22 +00:00