[packages/gupnp-igd1.6] - gupnp-igd updated to 1.6.0 as gupnp-igd1.6 (parallel installable with gupnp-igd 1.2.x)
qboosh
qboosh at pld-linux.org
Fri Apr 28 17:53:29 CEST 2023
commit ee6f4ef555c59f49f9b6d7957bdab93fecc3b696
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Apr 28 17:56:19 2023 +0200
- gupnp-igd updated to 1.6.0 as gupnp-igd1.6 (parallel installable with gupnp-igd 1.2.x)
gupnp-igd.spec => gupnp-igd1.6.spec | 58 ++++++++++++++++++++-----------------
1 file changed, 31 insertions(+), 27 deletions(-)
---
diff --git a/gupnp-igd.spec b/gupnp-igd1.6.spec
similarity index 66%
rename from gupnp-igd.spec
rename to gupnp-igd1.6.spec
index 7ca1b56..55fc6fd 100644
--- a/gupnp-igd.spec
+++ b/gupnp-igd1.6.spec
@@ -4,31 +4,30 @@
Summary: Library to handle UPnP IGD port mapping
Summary(pl.UTF-8): Biblioteka do obsługi odwzorowywania portów IGD dla UPnP
-Name: gupnp-igd
-Version: 1.2.0
-Release: 2
+Name: gupnp-igd1.6
+Version: 1.6.0
+Release: 1
License: LGPL v2.1+
Group: Libraries
-Source0: http://ftp.gnome.org/pub/GNOME/sources/gupnp-igd/1.2/%{name}-%{version}.tar.xz
-# Source0-md5: 84371a62238be13896f8a2c08ab573a2
-URL: http://gupnp.org/
+Source0: https://download.gnome.org/sources/gupnp-igd/1.6/gupnp-igd-%{version}.tar.xz
+# Source0-md5: 87e2a870fe2f53b2a3f6a51ae5d17596
+URL: https://wiki.gnome.org/Projects/GUPnP
BuildRequires: docbook-dtd412-xml
-BuildRequires: glib2-devel >= 1:2.38
+BuildRequires: glib2-devel >= 1:2.70
BuildRequires: gobject-introspection-devel >= 0.10
-BuildRequires: gssdp-devel >= 1.2.0
+BuildRequires: gssdp1.6-devel >= 1.6.0
%{?with_apidocs:BuildRequires: gtk-doc >= 1.10}
-BuildRequires: gupnp-devel >= 1.2.0
+BuildRequires: gupnp1.6-devel >= 1.6.0
BuildRequires: meson
BuildRequires: ninja >= 1.5
BuildRequires: pkgconfig
+BuildRequires: rpm-build >= 4.6
BuildRequires: rpmbuild(macros) >= 1.736
BuildRequires: tar >= 1:1.22
BuildRequires: xz
-Requires: glib2 >= 1:2.38
-Requires: gssdp >= 1.2.0
-Requires: gupnp >= 1.2.0
-# old (non-GI) python binding
-Obsoletes: python-gupnp-igd < 1.2
+Requires: glib2 >= 1:2.70
+Requires: gssdp1.6 >= 1.6.0
+Requires: gupnp1.6 >= 1.6.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -43,9 +42,9 @@ Summary: Header files for gupnp-igd library
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gupnp-igd
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: glib2-devel >= 1:2.38
-Requires: gssdp-devel >= 1.2.0
-Requires: gupnp-devel >= 1.2.0
+Requires: glib2-devel >= 1:2.70
+Requires: gssdp1.6-devel >= 1.6.0
+Requires: gupnp1.6-devel >= 1.6.0
%description devel
Header files for gupnp-igd library.
@@ -79,7 +78,7 @@ gupnp-igd library API documentation.
Dokumentacja API biblioteki gupnp-igd.
%prep
-%setup -q
+%setup -q -n gupnp-igd-%{version}
%build
%meson build \
@@ -92,6 +91,11 @@ rm -rf $RPM_BUILD_ROOT
%ninja_install -C build
+%if %{with apidocs}
+# make it parallel-installable with gupnp-igd 1.0/1.2
+%{__mv} $RPM_BUILD_ROOT%{_gtkdocdir}/{gupnp-igd,gupnp-igd-1.6}
+%endif
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -101,23 +105,23 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS NEWS README TODO
-%attr(755,root,root) %{_libdir}/libgupnp-igd-1.0.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgupnp-igd-1.0.so.4
-%{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib
+%attr(755,root,root) %{_libdir}/libgupnp-igd-1.6.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgupnp-igd-1.6.so.0
+%{_libdir}/girepository-1.0/GUPnPIgd-1.6.typelib
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libgupnp-igd-1.0.so
-%{_includedir}/gupnp-igd-1.0
-%{_pkgconfigdir}/gupnp-igd-1.0.pc
-%{_datadir}/gir-1.0/GUPnPIgd-1.0.gir
+%attr(755,root,root) %{_libdir}/libgupnp-igd-1.6.so
+%{_includedir}/gupnp-igd-1.6
+%{_pkgconfigdir}/gupnp-igd-1.6.pc
+%{_datadir}/gir-1.0/GUPnPIgd-1.6.gir
%files static
%defattr(644,root,root,755)
-%{_libdir}/libgupnp-igd-1.0.a
+%{_libdir}/libgupnp-igd-1.6.a
%if %{with apidocs}
%files apidocs
%defattr(644,root,root,755)
-%{_gtkdocdir}/gupnp-igd
+%{_gtkdocdir}/gupnp-igd-1.6
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gupnp-igd1.6.git/commitdiff/ee6f4ef555c59f49f9b6d7957bdab93fecc3b696
More information about the pld-cvs-commit
mailing list