Summary: LDAP Address book installed in /opt/addressbook %define name theaddressbook Name: %{name} %define version 1.0 %define release 104e Version: %{version} Release: %{release} Distribution: SME Server License: GPL URL: http://www.dungog.net/sme Group: SMEserver/addon Source: %{name}-%{version}.tar.gz Packager: Stephen Noble BuildArchitectures: noarch BuildRoot: /var/tmp/%{name}-%{version} Requires: e-smith-release >= 7.0 AutoReqProv: no %description http://www.corvalis.net/address/ The Address Book is a free, open source address management system. %changelog * Thu Dec 21 2006 Stephen Noble - initial release - [1.0-104e] %prep %setup %build %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ --dir '/opt/addressbook/mugshots' 'attr(777,www,www)' \ > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist %clean cd .. rm -rf %{name}-%{version} %pre %preun %post %postun %files -f %{name}-%{version}-filelist %defattr(-,root,root)