|
|
9bc7d5c |
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
9bc7d5c |
|
|
|
5f71852 |
Name: gupnp-igd
|
|
|
fd25993 |
Version: 0.1.7
|
|
|
7adbb67 |
Release: 5%{?dist}
|
|
|
cc00f3a |
Summary: Library to handle UPnP IGD port mapping
|
|
|
5f71852 |
|
|
|
5f71852 |
Group: System Environment/Libraries
|
|
|
cc00f3a |
License: LGPLv2+
|
|
|
5f71852 |
URL: http://www.gupnp.org/
|
|
|
5f71852 |
Source0: http://www.gupnp.org/sources/%{name}/%{name}-%{version}.tar.gz
|
|
|
cdb158c |
Patch0: %{name}-0.1.7-make.patch
|
|
|
cc00f3a |
Patch1: gupnp-igd-gcc.patch
|
|
|
5f71852 |
|
|
|
cc00f3a |
BuildRequires: glib2-devel
|
|
|
cc00f3a |
BuildRequires: gupnp-devel
|
|
|
cc00f3a |
BuildRequires: pygtk2-devel
|
|
|
5f71852 |
|
|
|
5f71852 |
|
|
|
5f71852 |
%description
|
|
|
5f71852 |
%{name} is a library to handle UPnP IGD port mapping.
|
|
|
5f71852 |
|
|
|
5f71852 |
|
|
|
9bc7d5c |
%package python
|
|
|
cc00f3a |
Summary: Python bindings for %{name}
|
|
|
9bc7d5c |
Group: Development/Libraries
|
|
|
cc00f3a |
Requires: %{name} = %{version}-%{release}
|
|
|
9bc7d5c |
|
|
|
9bc7d5c |
%description python
|
|
|
9bc7d5c |
The %{name}-python package contains the Python bindings for
|
|
|
9bc7d5c |
%{name}.
|
|
|
9bc7d5c |
|
|
|
9bc7d5c |
|
|
|
5f71852 |
%package devel
|
|
|
5f71852 |
Summary: Development files for %{name}
|
|
|
5f71852 |
Group: Development/Libraries
|
|
|
5f71852 |
Requires: %{name} = %{version}-%{release}
|
|
|
cc00f3a |
Requires: %{name}-python = %{version}-%{release}
|
|
|
cc00f3a |
Requires: pkgconfig
|
|
|
5f71852 |
|
|
|
5f71852 |
|
|
|
5f71852 |
%description devel
|
|
|
5f71852 |
The %{name}-devel package contains libraries and header files for
|
|
|
5f71852 |
developing applications that use %{name}.
|
|
|
5f71852 |
|
|
|
5f71852 |
|
|
|
5f71852 |
%prep
|
|
|
5f71852 |
%setup -q
|
|
|
cdb158c |
%patch0 -p1 -b .make
|
|
|
cc00f3a |
%patch1 -p1 -b .gcc
|
|
|
5f71852 |
|
|
|
5f71852 |
|
|
|
5f71852 |
%build
|
|
|
5f71852 |
%configure --disable-static
|
|
|
5f71852 |
# quite rpmlint error about unused-direct-shlib-dependency
|
|
|
5f71852 |
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|
|
5f71852 |
make %{?_smp_mflags}
|
|
|
5f71852 |
|
|
|
5f71852 |
|
|
|
5f71852 |
%install
|
|
|
5f71852 |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
5f71852 |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
5f71852 |
|
|
|
5f71852 |
|
|
|
5f71852 |
%post -p /sbin/ldconfig
|
|
|
5f71852 |
|
|
|
5f71852 |
|
|
|
5f71852 |
%postun -p /sbin/ldconfig
|
|
|
5f71852 |
|
|
|
5f71852 |
|
|
|
5f71852 |
%files
|
|
|
5f71852 |
%defattr(-,root,root,-)
|
|
|
5f71852 |
%doc README COPYING
|
|
|
5f71852 |
%{_libdir}/*.so.*
|
|
|
5f71852 |
|
|
|
5f71852 |
|
|
|
9bc7d5c |
%files python
|
|
|
9bc7d5c |
%defattr(-,root,root,-)
|
|
|
9bc7d5c |
%dir %{python_sitearch}/gupnp
|
|
|
fd25993 |
%{python_sitearch}/gupnp/*.py*
|
|
|
9bc7d5c |
%{python_sitearch}/gupnp/igd.so
|
|
|
9bc7d5c |
|
|
|
9bc7d5c |
|
|
|
5f71852 |
%files devel
|
|
|
5f71852 |
%defattr(-,root,root,-)
|
|
|
5f71852 |
%{_includedir}/*
|
|
|
5f71852 |
%{_libdir}/*.so
|
|
|
5f71852 |
%{_libdir}/pkgconfig/%{name}-1.0*.pc
|
|
|
5f71852 |
%{_datadir}/gtk-doc/html/%{name}/
|
|
|
5f71852 |
|
|
|
5f71852 |
|
|
|
5f71852 |
%changelog
|
|
|
7adbb67 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-5
|
|
|
7adbb67 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
7adbb67 |
|
|
|
cc00f3a |
* Sun Dec 26 2010 Peter Robinson <pbrobinson@gmail.com> - 0.1.7-4
|
|
|
cc00f3a |
- Add patch to fix FTBFS # 631415
|
|
|
cc00f3a |
|
|
|
cdb158c |
* Thu Dec 23 2010 Dan HorĂ¡k <dan[at]danny.cz> - 0.1.7-3
|
|
|
cdb158c |
- workaround make 3.82 issue in python/Makefile
|
|
|
cdb158c |
|
|
|
9e2f960 |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.1.7-2
|
|
|
9e2f960 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
9e2f960 |
|
|
|
fd25993 |
* Sat May 22 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.1.7-1
|
|
|
fd25993 |
- Update to 0.1.7.
|
|
|
fd25993 |
|
|
|
9bc7d5c |
* Sat Jan 30 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.1.6-1
|
|
|
9bc7d5c |
- Update to 0.1.6.
|
|
|
9bc7d5c |
|
|
|
ee11084 |
* Sun Dec 6 2009 Peter Robinson <pbrobinson@gmail.com> - 0.1.5-1
|
|
|
ee11084 |
- Update to 0.1.5.
|
|
|
ee11084 |
|
|
|
f6bffe6 |
* Mon Nov 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.4-1
|
|
|
f6bffe6 |
- Update to 0.1.4.
|
|
|
f6bffe6 |
|
|
|
309cfb6 |
* Thu Sep 17 2009 Bastien Nocera <bnocera@redhat.com> 0.1.3-3
|
|
|
309cfb6 |
- Rebuild for new gupnp
|
|
|
309cfb6 |
|
|
|
0b0def8 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-2
|
|
|
0b0def8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
0b0def8 |
|
|
|
6dc8cd5 |
* Wed Jun 10 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.3-1
|
|
|
6dc8cd5 |
- Update to 0.1.3.
|
|
|
6dc8cd5 |
|
|
|
9a6814c |
* Sat May 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.2-1
|
|
|
9a6814c |
- Update to 0.1.2.
|
|
|
9a6814c |
|
|
|
efdcb18 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
|
|
|
efdcb18 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
efdcb18 |
|
|
|
5f71852 |
* Sun Jan 18 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-2
|
|
|
5f71852 |
- Quite rpmlint error about unused-direct-shlib-dependency.
|
|
|
5f71852 |
|
|
|
5f71852 |
* Wed Dec 31 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-1
|
|
|
5f71852 |
- Initial Fedora spec.
|
|
|
5f71852 |
|