From 5f71852785edbb3c9738ed0225b634cae578e20c Mon Sep 17 00:00:00 2001 From: Brian Pepple Date: Tue, 20 Jan 2009 01:03:04 +0000 Subject: [PATCH] Initial import. --- .cvsignore | 1 + gupnp-igd.spec | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++ import.log | 1 + sources | 1 + 4 files changed, 85 insertions(+) create mode 100644 gupnp-igd.spec create mode 100644 import.log diff --git a/.cvsignore b/.cvsignore index e69de29..1fc38ee 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +gupnp-igd-0.1.1.tar.gz diff --git a/gupnp-igd.spec b/gupnp-igd.spec new file mode 100644 index 0000000..3ffdd9e --- /dev/null +++ b/gupnp-igd.spec @@ -0,0 +1,82 @@ +%define gupnp_ver 0.12.3 +%define glib2_ver 2.14 + +Name: gupnp-igd +Version: 0.1.1 +Release: 2%{?dist} +Summary: Library to handle UPnP IGD port mapping + +Group: System Environment/Libraries +License: LGPLv2+ +URL: http://www.gupnp.org/ +Source0: http://www.gupnp.org/sources/%{name}/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: glib2-devel >= %{glib2_ver} +BuildRequires: gupnp-devel >= %{gupnp_ver} + + +%description +%{name} is a library to handle UPnP IGD port mapping. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +%configure --disable-static +# quite rpmlint error about unused-direct-shlib-dependency +sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc README COPYING +%{_libdir}/*.so.* + + +%files devel +%defattr(-,root,root,-) +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/%{name}-1.0*.pc +%{_datadir}/gtk-doc/html/%{name}/ + + +%changelog +* Sun Jan 18 2009 Brian Pepple - 0.1.1-2 +- Quite rpmlint error about unused-direct-shlib-dependency. + +* Wed Dec 31 2008 Brian Pepple - 0.1.1-1 +- Initial Fedora spec. + diff --git a/import.log b/import.log new file mode 100644 index 0000000..53e59da --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +gupnp-igd-0_1_1-2_fc10:HEAD:gupnp-igd-0.1.1-2.fc10.src.rpm:1232413374 diff --git a/sources b/sources index e69de29..a4365c6 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9db86ff97c54ca89150c81009a8694d6 gupnp-igd-0.1.1.tar.gz