SPECS: dnrd.spec (NEW) - new

zbyniu zbyniu at pld-linux.org
Tue Dec 20 01:12:19 CET 2005


Author: zbyniu                       Date: Tue Dec 20 00:12:19 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   dnrd.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/dnrd.spec
diff -u /dev/null SPECS/dnrd.spec:1.1
--- /dev/null	Tue Dec 20 01:12:19 2005
+++ SPECS/dnrd.spec	Tue Dec 20 01:12:14 2005
@@ -0,0 +1,74 @@
+# $Revision$, $Date$
+#
+# TODO:
+# - .init
+#
+Summary:	Domain Name Relay Daemon
+Summary(pl):	-
+Name:		dnrd
+Version:	2.20.1
+Release:	0.1
+License:	GPL v2
+Group:		Applications
+Source0:	http://dl.sourceforge.net/dnrd/%{name}-%{version}.tar.gz
+# Source0-md5:	cbd3657617ecb92e0fd19c5c9f1ccfd7
+URL:		http://dnrd.sourceforge.net/
+#BuildRequires:	rpmbuild(macros) >= 1.228
+#Requires(post,preun):	/sbin/chkconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Domain Name Relay Daemon is a caching, forwarding DNS proxy server.
+Most useful on vpn or dialup firewalls but it is also a nice DNS cache
+for minor networks and workstations.
+
+%description -l pl
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+> $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/master
+> $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/blacklist
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/chkconfig --add %{name}
+%service %{name} restart
+
+%preun
+if [ "$1" = "0" ]; then
+	%service -q %{name} stop
+	/sbin/chkconfig --del %{name}
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README doc/README-cache doc/README-master doc/master.sample
+%{_mandir}/man8/*
+%attr(755,root,root) %{_sbindir}/%{name}
+%dir %{_sysconfdir}/%{name}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*
+#%%attr(754,root,root) /etc/rc.d/init.d/%{name}
+#%%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/12/20 00:12:14  zbyniu
+- new
+
================================================================



More information about the pld-cvs-commit mailing list