SPECS: linux-igd.spec (NEW) - added

aredridel aredridel at pld-linux.org
Mon Oct 2 03:58:40 CEST 2006


Author: aredridel                    Date: Mon Oct  2 01:58:40 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

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

---- Diffs:

================================================================
Index: SPECS/linux-igd.spec
diff -u /dev/null SPECS/linux-igd.spec:1.1
--- /dev/null	Mon Oct  2 03:58:40 2006
+++ SPECS/linux-igd.spec	Mon Oct  2 03:58:34 2006
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+
+Summary:	The Linux UPNP Internet Gateway Device
+Name:		linux-igd
+Version:	0.95
+Release:	1
+URL:		http://linux-igd.sourceforge.net/
+Source0:	http://dl.sourceforge.net/linux-igd/linuxigd-0.95.tar.gz
+# Source0-md5:	0f203a2db5e3fb01496b73e417dbd9a6
+Patch0:		%{name}-install.patch
+License:	GPL
+Group:		Daemons
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires:	libupnp-devel
+
+%description
+This is a deamon that emulates Microsoft's Internet Connection Service
+(ICS). It implements the UPnP Internet Gateway Device specification
+(IGD) and allows UPnP aware clients, such as MSN Messenger to work
+properly from behind a Linux NAT firewall.
+
+%prep
+%setup -q -n linuxigd-%{version}
+%patch0 -p1
+
+%build
+%{__make} OPT="$RPM_OPT_FLAGS"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} DESTDIR=$RPM_BUILD_ROOT install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{_sysconfdir}/linuxigd/
+%{_sysconfdir}/linuxigd/*.xml
+%config %{_sysconfdir}/upnpd.conf
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/upnpd
+%{_mandir}/man8/upnpd.8*
+%attr(755,root,root) %{_sbindir}/upnpd
+%attr(754,root,root) /etc/rc.d/init.d/upnpd
+
+%post
+/sbin/chkconfig --add upnpd
+
+%preun
+if [ $1 = 0 ] ; then
+	/sbin/chkconfig --del upnpd
+fi
+
+%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  2006/10/02 01:58:34  aredridel
+- added
+
================================================================


More information about the pld-cvs-commit mailing list