f0c011
Name:          gupnp
f70323
Version:       1.0.2
7a5e00
Release:       6%{?dist}
f0c011
Summary:       A framework for creating UPnP devices & control points
f0c011
f0c011
License:       LGPLv2+
f0c011
URL:           http://www.gupnp.org/
f68895
Source0:       http://download.gnome.org/sources/%{name}/1.0/%{name}-%{version}.tar.xz
f0c011
f68895
BuildRequires: gssdp-devel >= 0.14.15
f0c011
BuildRequires: gtk-doc
f0c011
BuildRequires: gobject-introspection-devel >= 1.36
f0c011
BuildRequires: libsoup-devel
f0c011
BuildRequires: libxml2-devel
f0c011
BuildRequires: libuuid-devel
f68895
BuildRequires: vala
f0c011
f0c011
Requires: dbus
f0c011
7a5e00
# https://gitlab.gnome.org/GNOME/gupnp/-/issues/24
7a5e00
Patch0: 0001-service-Validate-host-header.patch
7a5e00
Patch1: 0002-Tests-Add-test-for-host-header-validation.patch
7a5e00
Patch2: 0003-context-Use-SoupURI-instead-of-GUri.patch
7a5e00
f0c011
%description
f0c011
GUPnP is an object-oriented open source framework for creating UPnP 
f0c011
devices and control points, written in C using GObject and libsoup. 
f0c011
The GUPnP API is intended to be easy to use, efficient and flexible. 
f0c011
f0c011
%package devel
f0c011
Summary: Development package for gupnp
f68895
Requires: %{name}%{?_isa} = %{version}-%{release}
f0c011
f0c011
%description devel
f0c011
Files for development with %{name}.
f0c011
f0c011
%package docs
f0c011
Summary: Documentation files for %{name}
f0c011
Requires: %{name} = %{version}-%{release}
f0c011
BuildArch: noarch
f0c011
f0c011
%description docs
f0c011
This package contains developer documentation for %{name}.
f0c011
f0c011
%prep
f0c011
%setup -q
7a5e00
%patch0 -p1
7a5e00
%patch1 -p1
7a5e00
%patch2 -p1
f0c011
f0c011
%build
f0c011
%configure --disable-static --with-context-manager=network-manager
f0c011
make %{?_smp_mflags} V=1
f0c011
f0c011
%install
f68895
%make_install
f0c011
f0c011
#Remove libtool archives.
f68895
find %{buildroot} -name '*.la' -delete
f68895
f68895
%check
f68895
make check %{?_smp_mflags} V=1
f0c011
f0c011
%post -p /sbin/ldconfig
f0c011
f0c011
%postun -p /sbin/ldconfig
f0c011
f0c011
%files
f68895
%license COPYING
f68895
%doc AUTHORS README
f0c011
%{_libdir}/libgupnp-1.0.so.*
f0c011
%{_libdir}/girepository-1.0/GUPnP-1.0.typelib
f0c011
f0c011
%files devel
f68895
%{_bindir}/gupnp-binding-tool
f0c011
%{_libdir}/pkgconfig/gupnp-1.0.pc
f0c011
%{_libdir}/libgupnp-1.0.so
f0c011
%{_includedir}/gupnp-1.0
f0c011
%{_datadir}/gir-1.0/GUPnP-1.0.gir
5dcd6b
%{_datadir}/vala/vapi/%{name}*
f0c011
f0c011
%files docs
f0c011
%doc %{_datadir}/gtk-doc/html/%{name}
f0c011
f0c011
%changelog
7a5e00
* Tue Jun 08 2021 Bastien Nocera <bnocera@redhat.com> - 1.0.2-6
7a5e00
+ gupnp-1.0.3-3
7a5e00
- Fix DNS rebind issue
7a5e00
- Resolves: #1964706
7a5e00
f70323
* Mon Jun 04 2018 Richard Hughes <rhughes@redhat.com> - 1.0.2-5
f70323
+ Update to latest upstream version
f70323
- Resolves: #1569980
f70323
f68895
* Thu Mar 02 2017 Bastien Nocera <bnocera@redhat.com> - 1.0.1-1
f68895
+ gupnp-1.0.1-1
f68895
- Rebase to 1.0.1
f68895
Resolves: #1386985
f68895
5dcd6b
* Mon Jun 01 2015 Debarshi Ray <rishi@fedoraproject.org> - 0.20.13-1
5dcd6b
- Update to 0.20.13 and re-enable vala bindings
5dcd6b
Resolves: #1225451
5dcd6b
934b4a
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.20.3-3
934b4a
- Mass rebuild 2014-01-24
934b4a
934b4a
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.20.3-2
934b4a
- Mass rebuild 2013-12-27
934b4a
f0c011
* Thu May 30 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.20.3-1
f0c011
- 0.20.3 release
f0c011
- http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.20/gupnp-0.20.3.news
f0c011
f0c011
* Sat Apr 13 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.20.2-1
f0c011
- 0.20.2 release
f0c011
- http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.20/gupnp-0.20.2.news
f0c011
f0c011
* Tue Mar  5 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.20.1-1
f0c011
- 0.20.1 release
f0c011
- http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.20/gupnp-0.20.1.news
f0c011
f0c011
* Thu Feb 21 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.20.0-2
f0c011
- Obsolete gupnp-vala
f0c011
f0c011
* Thu Feb 21 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.20.0-2
f0c011
- bump
f0c011
f0c011
* Thu Feb 21 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.20.0-1
f0c011
- 0.20.0 release
f0c011
- http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.20/gupnp-0.20.0.news
f0c011
f0c011
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.4-2
f0c011
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f0c011
f0c011
* Sun Jan 13 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.19.4-1
f0c011
- 0.19.4 release
f0c011
- http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.19/gupnp-0.19.4.news
f0c011
f0c011
* Thu Dec  6 2012 Peter Robinson <pbrobinson@fedoraproject.org> 0.19.3-1
f0c011
- 0.19.3 release
f0c011
- http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.19/gupnp-0.19.3.news
f0c011
f0c011
* Sat Dec  1 2012 Peter Robinson <pbrobinson@fedoraproject.org> 0.19.2-1
f0c011
- 0.19.2 release
f0c011
- http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.19/gupnp-0.19.2.news
f0c011
f0c011
* Mon Oct 29 2012 Peter Robinson <pbrobinson@fedoraproject.org> 0.19.1-1
f0c011
- 0.19.1 release
f0c011
- http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.19/gupnp-0.19.1.news
f0c011
f0c011
* Sun Oct  7 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.19.0-1
f0c011
- 0.19.0 release
f0c011
- http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.19/gupnp-0.19.0.news
f0c011
f0c011
* Sun Aug 19 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.18.4-1
f0c011
- 0.18.4 release
f0c011
- http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.18/gupnp-0.18.4.news
f0c011
f0c011
* Mon Aug 13 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.18.3-3
f0c011
- Use NetworkManager for connectivity detection
f0c011
f0c011
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18.3-2
f0c011
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f0c011
f0c011
* Sat May  5 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.18.3-1
f0c011
- 0.18.3 release
f0c011
- http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.18/gupnp-0.18.3.news
f0c011
f0c011
* Thu Apr 26 2012 Zeeshan Ali <zeenix@redhat.com> - 0.18.2-2
f0c011
- Remove bogus dependency on libgdbus-devel.
f0c011
f0c011
* Sun Mar 18 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.18.2-1
f0c011
- 0.18.2 release
f0c011
- http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.18/gupnp-0.18.2.news
f0c011
f0c011
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18.1-2
f0c011
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f0c011
f0c011
* Sat Dec 10 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 0.18.1-1
f0c011
- 0.18.1 release
f0c011
- http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.18/gupnp-0.18.1.news
f0c011
f0c011
* Mon Sep  5 2011 Zeeshan Ali <zeenix@redhat.com> - 0.18.0-2
f0c011
- Push a new release to build against latest gssdp.
f0c011
f0c011
* Fri Sep  2 2011 Zeeshan Ali <zeenix@redhat.com> - 0.18.0-1
f0c011
- 0.18.0 release
f0c011
- http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.18/gupnp-0.18.0.news
f0c011
f0c011
* Fri Aug  5 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 0.17.2-1
f0c011
- 0.17.2 release
f0c011
- http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.17/gupnp-0.17.2.news
f0c011
f0c011
* Sun Jul 17 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 0.17.1-1
f0c011
- 0.17.1 release
f0c011
- http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.17/gupnp-0.17.1.news
f0c011
f0c011
* Thu Jun 16 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 0.17.0-1
f0c011
- 0.17.0 release
f0c011
f0c011
* Sun May  1 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 0.16.1-1
f0c011
- 0.16.1 stable release
f0c011
f0c011
* Sat Apr  9 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 0.16.0-1
f0c011
- 0.16.0 stable release
f0c011
f0c011
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-2
f0c011
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f0c011
f0c011
* Sat Jan 19 2011 Peter Robinson <pbrobinson@fedoraproject.org> 0.15.1-1
f0c011
- Update to 0.15.1
f0c011
f0c011
* Tue Nov 30 2010 Peter Robinson <pbrobinson@fedoraproject.org> 0.15.0-1
f0c011
- Update to 0.15.0
f0c011
f0c011
* Wed Sep 29 2010 jkeating - 0.14.0-3
f0c011
- Rebuilt for gcc bug 634757
f0c011
f0c011
* Wed Sep 22 2010 Matthias Clasen <mclasen@redhat.com> 0.14.0-2
f0c011
- Rebuild against newer gobject-introspection
f0c011
f0c011
* Fri Sep 17 2010 Peter Robinson <pbrobinson@fedoraproject.org> 0.14.0-1
f0c011
- Update to 0.14.0
f0c011
f0c011
* Tue Aug 17 2010 Peter Robinson <pbrobinson@fedoraproject.org> 0.13.5-2
f0c011
- Update source URL
f0c011
f0c011
* Sat Aug 14 2010 Peter Robinson <pbrobinson@fedoraproject.org> 0.13.5-1
f0c011
- Update to 0.13.5
f0c011
f0c011
* Thu Jul 15 2010 Colin Walters <walters@verbum.org> - 0.13.4-4
f0c011
- Rebuild with new gobject-introspection
f0c011
f0c011
* Mon Jun 21 2010 Peter Robinson <pbrobinson@fedoraproject.org> 0.13.4-2
f0c011
- Add patch to fix build
f0c011
f0c011
* Mon Jun 21 2010 Peter Robinson <pbrobinson@fedoraproject.org> 0.13.4-1
f0c011
- Update to 0.13.4
f0c011
f0c011
* Fri Apr  9 2010 Peter Robinson <pbrobinson@fedoraproject.org> 0.13.3-4
f0c011
- Once more with feeling!
f0c011
f0c011
* Fri Apr  9 2010 Peter Robinson <pbrobinson@fedoraproject.org> 0.13.3-3
f0c011
- add back missing line to spec
f0c011
f0c011
* Fri Apr  9 2010 Peter Robinson <pbrobinson@fedoraproject.org> 0.13.3-2
f0c011
- bump build
f0c011
f0c011
* Fri Apr  9 2010 Peter Robinson <pbrobinson@fedoraproject.org> 0.13.3-1
f0c011
- Update to 0.13.3
f0c011
f0c011
* Mon Mar  1 2010 Peter Robinson <pbrobinson@fedoraproject.org> 0.13.2-2
f0c011
- Add patch to fix DSO linking. Fixes bug 564855
f0c011
f0c011
* Fri Dec  4 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.13.2-1
f0c011
- Update to 0.13.2
f0c011
f0c011
* Wed Oct  7 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.13.1-1
f0c011
- Update to 0.13.1
f0c011
f0c011
* Thu Sep 17 2009 Bastien Nocera <bnocera@redhat.com> 0.13.0-1
f0c011
- Update to 0.13.0
f0c011
f0c011
* Mon Aug 31 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.8-4
f0c011
- some spec file cleanups, depend on libuuid instead of e2fsprogs-devel
f0c011
f0c011
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.8-3
f0c011
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f0c011
f0c011
* Wed Jul  1 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.8-2
f0c011
- Rebuild with new libuuid build req
f0c011
f0c011
* Wed Jun  3 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.8-1
f0c011
- New upstream release
f0c011
f0c011
* Mon Apr 27 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.7-1
f0c011
- New upstream release
f0c011
f0c011
* Wed Mar  4 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.6-4
f0c011
- Move docs to noarch sub package
f0c011
f0c011
* Mon Mar  2 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.6-3
f0c011
- Add some extra -devel Requires packages
f0c011
f0c011
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.6-2
f0c011
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f0c011
f0c011
* Mon Feb 23 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.6-1
f0c011
- New upstream release
f0c011
f0c011
* Wed Jan 14 2009 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.5-1
f0c011
- New upstream release
f0c011
f0c011
* Thu Dec 18 2008 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.4-3
f0c011
- Add gtk-doc build req
f0c011
f0c011
* Sat Nov 22 2008 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.4-2
f0c011
- Fix summary
f0c011
f0c011
* Mon Nov 17 2008 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.4-1
f0c011
- New upstream release
f0c011
f0c011
* Mon Oct 27 2008 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.3-1
f0c011
- New upstream release
f0c011
f0c011
* Mon Oct 20 2008 Colin Walters <walters@verbum.org> 0.12.2-2
f0c011
- devel package requires gssdp-devel
f0c011
f0c011
* Sun Aug 31 2008 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.2-1
f0c011
- New upstream release
f0c011
f0c011
* Thu Aug 28 2008 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.1-7
f0c011
- Yet again. Interesting it builds fine in mock and not koji
f0c011
f0c011
* Thu Aug 28 2008 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.1-6
f0c011
- Once more with feeling
f0c011
f0c011
* Thu Aug 28 2008 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.1-5
f0c011
- Second go
f0c011
f0c011
* Thu Aug 28 2008 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.1-4
f0c011
- Fix build on rawhide
f0c011
f0c011
* Wed Aug 13 2008 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.1-3
f0c011
- Fix changelog entries
f0c011
f0c011
* Wed Aug 13 2008 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.1-2
f0c011
- Fix a compile issue on rawhide
f0c011
f0c011
* Mon Jun 16 2008 Peter Robinson <pbrobinson@fedoraproject.org> 0.12.1-1
f0c011
- Initial release