1 |
Summary: LDAP Address book installed in /opt/addressbook |
2 |
%define name theaddressbook |
3 |
Name: %{name} |
4 |
%define version 1.0 |
5 |
%define release 104e |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
Distribution: SME Server |
9 |
License: GPL |
10 |
URL: http://www.dungog.net/sme |
11 |
Group: SMEserver/addon |
12 |
Source: %{name}-%{version}.tar.gz |
13 |
Packager: Stephen Noble <support@dungog.net> |
14 |
BuildArchitectures: noarch |
15 |
BuildRoot: /var/tmp/%{name}-%{version} |
16 |
Requires: e-smith-release >= 7.0 |
17 |
AutoReqProv: no |
18 |
|
19 |
%description |
20 |
http://www.corvalis.net/address/ |
21 |
The Address Book is a free, open source address management system. |
22 |
|
23 |
%changelog |
24 |
* Thu Dec 21 2006 Stephen Noble <support@dungog.net> |
25 |
- initial release |
26 |
- [1.0-104e] |
27 |
|
28 |
%prep |
29 |
%setup |
30 |
%build |
31 |
|
32 |
%install |
33 |
rm -rf $RPM_BUILD_ROOT |
34 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
35 |
rm -f %{name}-%{version}-filelist |
36 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
37 |
--dir '/opt/addressbook/mugshots' 'attr(777,www,www)' \ |
38 |
> %{name}-%{version}-filelist |
39 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
40 |
|
41 |
%clean |
42 |
cd .. |
43 |
rm -rf %{name}-%{version} |
44 |
|
45 |
%pre |
46 |
%preun |
47 |
%post |
48 |
%postun |
49 |
|
50 |
%files -f %{name}-%{version}-filelist |
51 |
%defattr(-,root,root) |
52 |
|