diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..99edc9a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gupnp-igd-0.2.5.tar.xz diff --git a/.gupnp-igd.metadata b/.gupnp-igd.metadata new file mode 100644 index 0000000..4a31376 --- /dev/null +++ b/.gupnp-igd.metadata @@ -0,0 +1 @@ +8650df82fff054bc703a0a8662d117761c3b5aea SOURCES/gupnp-igd-0.2.5.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/gupnp-igd.spec b/SPECS/gupnp-igd.spec new file mode 100644 index 0000000..58e3a0a --- /dev/null +++ b/SPECS/gupnp-igd.spec @@ -0,0 +1,164 @@ +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +Name: gupnp-igd +Version: 0.2.5 +Release: 2%{?dist} +Summary: Library to handle UPnP IGD port mapping + +License: LGPLv2+ +URL: https://wiki.gnome.org/Projects/GUPnP +Source0: https://download.gnome.org/sources/%{name}/0.2/%{name}-%{version}.tar.xz + +BuildRequires: glib2-devel +BuildRequires: gobject-introspection-devel +BuildRequires: gupnp-devel +BuildRequires: pygtk2-devel + +%description +%{name} is a library to handle UPnP IGD port mapping. + + +%package python +Summary: Python bindings for %{name} +Requires: %{name} = %{version}-%{release} + +%description python +The %{name}-python package contains the Python bindings for +%{name}. + + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} +Requires: %{name}-python = %{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 --enable-python --enable-introspection=yes +# quite rpmlint error about unused-direct-shlib-dependency +sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool +LDFLAGS="$RPM_LD_FLAGS -lgobject-2.0" make %{?_smp_mflags} + + +%install +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%files +%doc README COPYING +%{_libdir}/*.so.* +%{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib + + +%files python +%dir %{python_sitearch}/gupnp +%{python_sitearch}/gupnp/*.py* +%{python_sitearch}/gupnp/igd.so + + +%files devel +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/%{name}-1.0*.pc +%{_datadir}/gtk-doc/html/%{name}/ +%{_datadir}/gir-1.0/GUPnPIgd-1.0.gir + + +%changelog +* Mon Jun 04 2018 Richard Hughes - 0.2.5-2 +- Update to 0.2.5 +- Resolves: #1569988 + +* Thu Mar 02 2017 Bastien Nocera - 0.2.4-1 ++ gupnp-igd-0.2.4-1 +- Update to 0.2.4 +Resolves: #1386991 + +* Fri Jan 24 2014 Daniel Mach - 0.2.2-3 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 0.2.2-2 +- Mass rebuild 2013-12-27 + +* Wed Mar 27 2013 Brian Pepple - 0.2.2-1 +- Update to 0.2.2. +- Drop define attribute. No longer needed. +- Update url and source url. + +* Thu Feb 14 2013 Fedora Release Engineering - 0.2.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 0.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jan 16 2012 Brian Pepple - 0.2.1-1 +- Update to 0.2.1. +- Drop gcc patch. Fixed upstream. + +* Fri Jan 13 2012 Fedora Release Engineering - 0.1.7-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Jun 17 2011 Peter Robinson - 0.1.7-6 +- Bump for new gupnp + +* Wed Feb 09 2011 Fedora Release Engineering - 0.1.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Dec 26 2010 Peter Robinson - 0.1.7-4 +- Add patch to fix FTBFS # 631415 + +* Thu Dec 23 2010 Dan HorĂ¡k - 0.1.7-3 +- workaround make 3.82 issue in python/Makefile + +* Wed Jul 21 2010 David Malcolm - 0.1.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Sat May 22 2010 Brian Pepple - 0.1.7-1 +- Update to 0.1.7. + +* Sat Jan 30 2010 Brian Pepple - 0.1.6-1 +- Update to 0.1.6. + +* Sun Dec 6 2009 Peter Robinson - 0.1.5-1 +- Update to 0.1.5. + +* Mon Nov 16 2009 Brian Pepple - 0.1.4-1 +- Update to 0.1.4. + +* Thu Sep 17 2009 Bastien Nocera 0.1.3-3 +- Rebuild for new gupnp + +* Fri Jul 24 2009 Fedora Release Engineering - 0.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Jun 10 2009 Brian Pepple - 0.1.3-1 +- Update to 0.1.3. + +* Sat May 16 2009 Brian Pepple - 0.1.2-1 +- Update to 0.1.2. + +* Tue Feb 24 2009 Fedora Release Engineering - 0.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* 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. +