Summary: The UPNP & NAT-PMP implementation Name: miniupnpd Version: 1.5.20110520 Release: 1 License: GPL Group: System/Servers URL: http://miniupnp.free.fr Source: http://miniupnp.free.fr/files/download.php?file=/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version} BuildRequires: iptables-ip4tc-devel iptables-devel Requires: iptables Source1: miniupnpd.init.d.script %description The miniUPnP daemon is an UPnP IGD (internet gateway device) which provide NAT traversal services to any UPnP enabled client on the network. See http://www.upnp.org/ for more details on UPnP. %prep %setup -q -n %{name}-%{version} %build %make -f Makefile.linux config.h CFLAGS="%optflags -DIPTABLES_143" %install PREFIX=%{buildroot} make -f Makefile.linux install CFLAGS="%optflags -DIPTABLES_143" LIBS="/%{_lib}/libip4tc.so" rm -f %{buildroot}%{_sysconfdir}/init.d/miniupnpd rm -f %{buildroot}%{_sysconfdir}/miniupnpd/miniupnpd.conf~ install -D -m 755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name} mkdir -p %{buildroot}%{_mandir}/man1/ install -D -m 755 miniupnpd.1 %{buildroot}%{_mandir}/man1/ %clean rm -fr %{buildroot} %files %defattr(-,root,root) %{_sbindir}/miniupnpd %{_initrddir}/miniupnpd %doc %{_mandir}/man*/* %config(noreplace) %{_sysconfdir}/miniupnpd/* %doc README Changelog.txt %changelog * Tue May 24 2011 Funda Wang 1.5.20110520-1 + Revision: 678010 - new version 1.5.20110520 * Thu Mar 03 2011 zamir 1.5.20110302-0 + Revision: 641422 - upload new sources - update version. remove old patch * Tue Nov 23 2010 Eugeni Dodonov 1.4.20100511-0mdv2011.0 + Revision: 600151 - Update package group to comply with the policy. - Use proper %%make command. - Cleaned up spec. + zamir - clear trash - adding source and spec file - adding rpm and srpm - create miniupnpd