0d0db2
Name:           gupnp-igd
0d0db2
Version:        0.2.5
0d0db2
Release:        4%{?dist}
0d0db2
Summary:        Library to handle UPnP IGD port mapping
0d0db2
0d0db2
License:        LGPLv2+
0d0db2
URL:            https://wiki.gnome.org/Projects/GUPnP
0d0db2
Source0:        https://download.gnome.org/sources/%{name}/0.2/%{name}-%{version}.tar.xz
0d0db2
0d0db2
BuildRequires:  glib2-devel
0d0db2
BuildRequires:  gobject-introspection-devel
0d0db2
BuildRequires:  gupnp-devel
0d0db2
0d0db2
Provides: %{name}-python = %{version}-%{release}
0d0db2
Provides: %{name}-python%{?_isa} = %{version}-%{release}
0d0db2
Obsoletes: %{name}-python < %{version}-%{release}
0d0db2
Provides: %{name}-python2 = %{version}-%{release}
0d0db2
Provides: %{name}-python2%{?_isa} = %{version}-%{release}
0d0db2
Obsoletes: %{name}-python2 < %{version}-%{release}
0d0db2
0d0db2
%description
0d0db2
%{name} is a library to handle UPnP IGD port mapping.
0d0db2
0d0db2
%package        devel
0d0db2
Summary:        Development files for %{name}
0d0db2
Requires:       %{name}%{?_isa} = %{version}-%{release}
0d0db2
Requires:       pkgconfig
0d0db2
0d0db2
%description    devel
0d0db2
The %{name}-devel package contains libraries and header files for
0d0db2
developing applications that use %{name}.
0d0db2
0d0db2
0d0db2
%prep
0d0db2
%setup -q
0d0db2
0d0db2
0d0db2
%build
0d0db2
%configure --disable-static --disable-python --enable-introspection=yes
0d0db2
# quite rpmlint error about unused-direct-shlib-dependency
0d0db2
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
0d0db2
LDFLAGS="$RPM_LD_FLAGS -lgobject-2.0" make %{?_smp_mflags}
0d0db2
0d0db2
0d0db2
%install
0d0db2
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
0d0db2
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
0d0db2
0d0db2
0d0db2
%post -p /sbin/ldconfig
0d0db2
0d0db2
0d0db2
%postun -p /sbin/ldconfig
0d0db2
0d0db2
0d0db2
%files
0d0db2
%license COPYING
0d0db2
%doc README
0d0db2
%{_libdir}/*.so.*
0d0db2
%{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib
0d0db2
0d0db2
0d0db2
%files devel
0d0db2
%{_includedir}/*
0d0db2
%{_libdir}/*.so
0d0db2
%{_libdir}/pkgconfig/%{name}-1.0*.pc
0d0db2
%{_datadir}/gtk-doc/html/%{name}/
0d0db2
%{_datadir}/gir-1.0/GUPnPIgd-1.0.gir
0d0db2
0d0db2
0d0db2
%changelog
0d0db2
* Fri Jun 29 2018 Bastien Nocera <bnocera@redhat.com> - 0.2.5-4
0d0db2
+ gupnp-igd-0.2.5-4
0d0db2
- Remove python2-gupnp-igd requires from -devel sub-package
0d0db2
0d0db2
* Thu Jun 07 2018 Bastien Nocera <bnocera@redhat.com> - 0.2.5-3
0d0db2
+ gupnp-igd-0.2.5-3
0d0db2
- Remove python2-gupnp-igd sub-package, nothing uses it in Fedora
0d0db2
  and gobject-introspection supports both Python2 and Python3
0d0db2
0d0db2
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-2
0d0db2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0d0db2
0d0db2
* Tue Nov 21 2017 Kalev Lember <klember@redhat.com> - 0.2.5-1
0d0db2
- Update to 0.2.5
0d0db2
- Update inter-package dependencies after python2-gupnp-igd rename
0d0db2
- Tighten deps with the _isa macro
0d0db2
- Update source URLs
0d0db2
- Use license macro for COPYING
0d0db2
0d0db2
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.4-7
0d0db2
- Add Provides for the old name without %%_isa
0d0db2
0d0db2
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.4-6
0d0db2
- Python 2 binary package renamed to python2-gupnp-igd
0d0db2
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
0d0db2
0d0db2
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-5
0d0db2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
0d0db2
0d0db2
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-4
0d0db2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0d0db2
0d0db2
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-3
0d0db2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0d0db2
0d0db2
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2
0d0db2
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
0d0db2
0d0db2
* Wed Jun 22 2016 Richard Hughes <rhughes@redhat.com> - 0.2.4-1
0d0db2
- Update to 0.2.4
0d0db2
0d0db2
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-6
0d0db2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0d0db2
0d0db2
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-5
0d0db2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0d0db2
0d0db2
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-4
0d0db2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0d0db2
0d0db2
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.2.3-3
0d0db2
- Rebuilt for gobject-introspection 1.41.4
0d0db2
0d0db2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-2
0d0db2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0d0db2
0d0db2
* Fri Feb  7 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.2.3-1
0d0db2
- Update to 0.2.3
0d0db2
- Enable gobject-introspection
0d0db2
0d0db2
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-2
0d0db2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0d0db2
0d0db2
* Wed Mar 27 2013 Brian Pepple <bpepple@fedoraproject.org> - 0.2.2-1
0d0db2
- Update to 0.2.2.
0d0db2
- Drop define attribute. No longer needed.
0d0db2
- Update url and source url.
0d0db2
0d0db2
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-3
0d0db2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0d0db2
0d0db2
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-2
0d0db2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0d0db2
0d0db2
* Mon Jan 16 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.2.1-1
0d0db2
- Update to 0.2.1.
0d0db2
- Drop gcc patch. Fixed upstream.
0d0db2
0d0db2
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-7
0d0db2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0d0db2
0d0db2
* Fri Jun 17 2011 Peter Robinson <pbrobinson@gmail.com> - 0.1.7-6
0d0db2
- Bump for new gupnp
0d0db2
0d0db2
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-5
0d0db2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0d0db2
0d0db2
* Sun Dec 26 2010 Peter Robinson <pbrobinson@gmail.com> - 0.1.7-4
0d0db2
- Add patch to fix FTBFS # 631415
0d0db2
0d0db2
* Thu Dec 23 2010 Dan Horák <dan[at]danny.cz> - 0.1.7-3
0d0db2
- workaround make 3.82 issue in python/Makefile
0d0db2
0d0db2
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.1.7-2
0d0db2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
0d0db2
0d0db2
* Sat May 22 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.1.7-1
0d0db2
- Update to 0.1.7.
0d0db2
0d0db2
* Sat Jan 30 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.1.6-1
0d0db2
- Update to 0.1.6.
0d0db2
0d0db2
* Sun Dec  6 2009 Peter Robinson <pbrobinson@gmail.com> - 0.1.5-1
0d0db2
- Update to 0.1.5.
0d0db2
0d0db2
* Mon Nov 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.4-1
0d0db2
- Update to 0.1.4.
0d0db2
0d0db2
* Thu Sep 17 2009 Bastien Nocera <bnocera@redhat.com> 0.1.3-3
0d0db2
- Rebuild for new gupnp
0d0db2
0d0db2
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-2
0d0db2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0d0db2
0d0db2
* Wed Jun 10 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.3-1
0d0db2
- Update to 0.1.3.
0d0db2
0d0db2
* Sat May 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.2-1
0d0db2
- Update to 0.1.2.
0d0db2
0d0db2
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
0d0db2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0d0db2
0d0db2
* Sun Jan 18 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-2
0d0db2
- Quite rpmlint error about unused-direct-shlib-dependency.
0d0db2
0d0db2
* Wed Dec 31 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-1
0d0db2
- Initial Fedora spec.
0d0db2