2 |
%define name smeserver-pdns_recursor |
%define name smeserver-pdns_recursor |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 0.0.1 |
%define version 0.0.1 |
5 |
%define release 02 |
%define release 4 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
9 |
Group: System Environment/Base |
Group: System Environment/Base |
10 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
11 |
Patch0: smeserver-pdns_recursor-0.0.1.configuration.patch |
Patch0: smeserver-pdns_recursor-0.0.1.configuration.patch |
12 |
Packager: Charlie brady <charlieb@e-smith.com> |
Patch1: smeserver-pdns_recursor-0.0.1.configuration.patch2 |
13 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
15 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
16 |
Requires: pdns_recursor |
Requires: pdns-recursor |
17 |
Obsoletes: e-smith-dnscache |
Obsoletes: e-smith-dnscache |
18 |
Conflicts: e-smith-dnscache |
Conflicts: e-smith-dnscache |
19 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
24 |
caching nameserver |
caching nameserver |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
28 |
|
- Clean up spec so package can be built by koji/plague |
29 |
|
|
30 |
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
31 |
|
- Update to new release naming. No functional changes. |
32 |
|
- Make Packager generic |
33 |
|
|
34 |
|
* Thu Aug 24 2006 Charlie Brady <charlieb@e-smith.com> 0.0.1-03 |
35 |
|
- Various configuration fixes. Functional in basic configuration now. |
36 |
|
- TODO: Handle forwarding configurations correctly. |
37 |
|
|
38 |
* Thu Aug 24 2006 Charlie Brady <charlieb@e-smith.com> 0.0.1-02 |
* Thu Aug 24 2006 Charlie Brady <charlieb@e-smith.com> 0.0.1-02 |
39 |
- Add configuration scripts and templates |
- Add configuration scripts and templates |
40 |
|
|
44 |
%prep |
%prep |
45 |
%setup |
%setup |
46 |
%patch0 -p1 |
%patch0 -p1 |
47 |
|
%patch1 -p1 |
48 |
|
|
49 |
%build |
%build |
50 |
perl createlinks |
perl createlinks |
51 |
rm -f %{name}-%{version}-%{release}-filelist |
rm -f %{name}-%{version}-%{release}-filelist |
52 |
|
mkdir -p root/var/log/pdns_recursor |
53 |
touch root/var/service/pdns_recursor/down |
touch root/var/service/pdns_recursor/down |
54 |
|
|
55 |
%pre |
%pre |
68 |
--file /var/service/pdns_recursor/log/run 'attr(0750,root,root)' \ |
--file /var/service/pdns_recursor/log/run 'attr(0750,root,root)' \ |
69 |
--dir /var/log/pdns_recursor 'attr(02755,dnslog,dnslog)' \ |
--dir /var/log/pdns_recursor 'attr(02755,dnslog,dnslog)' \ |
70 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
71 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
#echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
72 |
|
|
73 |
%clean |
%clean |
74 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |