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