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