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 |
slords |
1.5 |
BuildRequires: e-smith-devtools |
16 |
slords |
1.1 |
AutoReqProv: no |
17 |
|
|
|
18 |
|
|
%description |
19 |
|
|
http://www.corvalis.net/address/ |
20 |
|
|
The Address Book is a free, open source address management system. |
21 |
|
|
|
22 |
|
|
%changelog |
23 |
|
|
* Thu Dec 21 2006 Stephen Noble <support@dungog.net> |
24 |
|
|
- initial release |
25 |
|
|
- [1.0-104e] |
26 |
|
|
|
27 |
|
|
%prep |
28 |
|
|
%setup |
29 |
|
|
%build |
30 |
|
|
|
31 |
|
|
%install |
32 |
|
|
rm -rf $RPM_BUILD_ROOT |
33 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
34 |
|
|
rm -f %{name}-%{version}-filelist |
35 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
36 |
|
|
--dir '/opt/addressbook/mugshots' 'attr(777,www,www)' \ |
37 |
|
|
> %{name}-%{version}-filelist |
38 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
39 |
|
|
|
40 |
|
|
%clean |
41 |
|
|
cd .. |
42 |
|
|
rm -rf %{name}-%{version} |
43 |
|
|
|
44 |
|
|
%pre |
45 |
|
|
%preun |
46 |
|
|
%post |
47 |
|
|
%postun |
48 |
|
|
|
49 |
|
|
%files -f %{name}-%{version}-filelist |
50 |
|
|
%defattr(-,root,root) |
51 |
|
|
|