1 |
# $Id: e-smith-tinydns.spec,v 1.3 2010/07/29 14:28:58 filippocarletti Exp $ |
# $Id: e-smith-tinydns.spec,v 1.2 2014/05/18 15:10:53 stephdl Exp $ |
2 |
|
|
3 |
Summary: e-smith module to configure tinydns |
Summary: e-smith module to configure tinydns |
4 |
%define name e-smith-tinydns |
%define name e-smith-tinydns |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.4.0 |
%define version 2.4.0 |
7 |
%define release 1 |
%define release 3 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
|
Patch0: e-smith-tinydns-2.4.0_add_hostname_following_dhcpdleases_hostname.patch |
13 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
19 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
20 |
Requires: e-smith-daemontools >= 1.1.0-02 |
Requires: e-smith-daemontools >= 1.1.0-02 |
21 |
Requires: iptables |
Requires: iptables |
22 |
|
Requires: perl-Text-DHCPparse |
23 |
Obsoletes: tinydns-initscripts |
Obsoletes: tinydns-initscripts |
24 |
AutoReqProv: no |
AutoReqProv: no |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* Tue Jun 18 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-3.sme |
28 |
|
- add new feature 'Parse dhcpd.leases and feed to tinydns' |
29 |
|
- e-smith-tinydns-2.4.0_add_hostname_following_dhcpdleases_hostname.patch |
30 |
|
- made from the solution of Stefano Zamboni [SME:2388] |
31 |
|
- Thanks also for all other implicated members in this bug report |
32 |
|
|
33 |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
34 |
- Roll new stream for sme9 |
- Roll new stream for sme9 |
35 |
|
|
334 |
|
|
335 |
%prep |
%prep |
336 |
%setup |
%setup |
337 |
|
%patch0 -p1 |
338 |
|
|
339 |
%build |
%build |
340 |
perl createlinks |
perl createlinks |
352 |
--file /var/service/tinydns/control/2 'attr(0750,root,root)' \ |
--file /var/service/tinydns/control/2 'attr(0750,root,root)' \ |
353 |
--file /var/service/tinydns/log/run 'attr(0750,root,root)' \ |
--file /var/service/tinydns/log/run 'attr(0750,root,root)' \ |
354 |
--dir /var/log/tinydns 'attr(02755,dnslog,dnslog)' \ |
--dir /var/log/tinydns 'attr(02755,dnslog,dnslog)' \ |
355 |
|
--file /var/service/dhcp-dns/dhcp-dns 'attr(0750,root,root)' \ |
356 |
|
--file /var/service/dhcp-dns/run 'attr(0750,root,root)' \ |
357 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
358 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
359 |
|
|