gupnp-igd/gupnp-igd.spec

176 lines
5.5 KiB
RPMSpec
Raw Normal View History

2010-01-30 17:07:31 +00:00
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
2009-01-20 01:03:04 +00:00
Name: gupnp-igd
2014-02-07 12:00:40 +00:00
Version: 0.2.3
Release: 6%{?dist}
2010-12-26 20:10:25 +00:00
Summary: Library to handle UPnP IGD port mapping
2009-01-20 01:03:04 +00:00
Group: System Environment/Libraries
2010-12-26 20:10:25 +00:00
License: LGPLv2+
URL: http://live.gnome.org/GUPnP
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.2/%{name}-%{version}.tar.xz
2009-01-20 01:03:04 +00:00
2010-12-26 20:10:25 +00:00
BuildRequires: glib2-devel
2014-02-07 12:00:40 +00:00
BuildRequires: gobject-introspection-devel
2010-12-26 20:10:25 +00:00
BuildRequires: gupnp-devel
BuildRequires: pygtk2-devel
2009-01-20 01:03:04 +00:00
%description
%{name} is a library to handle UPnP IGD port mapping.
2010-01-30 17:07:31 +00:00
%package python
2010-12-26 20:10:25 +00:00
Summary: Python bindings for %{name}
2010-01-30 17:07:31 +00:00
Group: Development/Libraries
2010-12-26 20:10:25 +00:00
Requires: %{name} = %{version}-%{release}
2010-01-30 17:07:31 +00:00
%description python
The %{name}-python package contains the Python bindings for
%{name}.
2009-01-20 01:03:04 +00:00
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
2010-12-26 20:10:25 +00:00
Requires: %{name}-python = %{version}-%{release}
Requires: pkgconfig
2009-01-20 01:03:04 +00:00
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%build
2014-02-07 12:00:40 +00:00
%configure --disable-static --enable-python --enable-introspection=yes
2009-01-20 01:03:04 +00:00
# quite rpmlint error about unused-direct-shlib-dependency
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
2014-02-07 12:00:40 +00:00
LDFLAGS="$RPM_LD_FLAGS -lgobject-2.0" make %{?_smp_mflags}
2009-01-20 01:03:04 +00:00
%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.*
2014-02-07 12:00:40 +00:00
%{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib
2009-01-20 01:03:04 +00:00
2010-01-30 17:07:31 +00:00
%files python
%dir %{python_sitearch}/gupnp
2010-05-23 01:28:55 +00:00
%{python_sitearch}/gupnp/*.py*
2010-01-30 17:07:31 +00:00
%{python_sitearch}/gupnp/igd.so
2009-01-20 01:03:04 +00:00
%files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}-1.0*.pc
%{_datadir}/gtk-doc/html/%{name}/
2014-02-07 12:00:40 +00:00
%{_datadir}/gir-1.0/GUPnPIgd-1.0.gir
2009-01-20 01:03:04 +00:00
%changelog
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.2.3-3
- Rebuilt for gobject-introspection 1.41.4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-02-07 12:00:40 +00:00
* Fri Feb 7 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.2.3-1
- Update to 0.2.3
- Enable gobject-introspection
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Mar 27 2013 Brian Pepple <bpepple@fedoraproject.org> - 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 <rel-eng@lists.fedoraproject.org> - 0.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Jan 16 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.2.1-1
- Update to 0.2.1.
- Drop gcc patch. Fixed upstream.
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-06-17 11:32:37 +00:00
* Fri Jun 17 2011 Peter Robinson <pbrobinson@gmail.com> - 0.1.7-6
- Bump for new gupnp
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-12-26 20:10:25 +00:00
* Sun Dec 26 2010 Peter Robinson <pbrobinson@gmail.com> - 0.1.7-4
- Add patch to fix FTBFS # 631415
* Thu Dec 23 2010 Dan Horák <dan[at]danny.cz> - 0.1.7-3
- workaround make 3.82 issue in python/Makefile
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.1.7-2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-05-23 01:28:55 +00:00
* Sat May 22 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.1.7-1
- Update to 0.1.7.
2010-01-30 17:07:31 +00:00
* Sat Jan 30 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.1.6-1
- Update to 0.1.6.
2009-12-06 14:33:46 +00:00
* Sun Dec 6 2009 Peter Robinson <pbrobinson@gmail.com> - 0.1.5-1
- Update to 0.1.5.
2009-11-17 03:05:24 +00:00
* Mon Nov 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.4-1
- Update to 0.1.4.
2009-09-17 18:28:16 +00:00
* Thu Sep 17 2009 Bastien Nocera <bnocera@redhat.com> 0.1.3-3
- Rebuild for new gupnp
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-06-10 22:32:13 +00:00
* Wed Jun 10 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.3-1
- Update to 0.1.3.
2009-05-16 12:54:30 +00:00
* Sat May 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.2-1
- Update to 0.1.2.
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2009-01-20 01:03:04 +00:00
* Sun Jan 18 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-2
- Quite rpmlint error about unused-direct-shlib-dependency.
* Wed Dec 31 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-1
- Initial Fedora spec.