[packages/uhttpmock1] - uhttpmock.spec updated to 0.9.0 for libsoup3, as uhttpmock1 now

qboosh qboosh at pld-linux.org
Sat Mar 2 16:58:02 CET 2024


commit b0196e49c2aa96d699cecce7880a5154b391ba9c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 2 16:24:40 2024 +0100

    - uhttpmock.spec updated to 0.9.0 for libsoup3, as uhttpmock1 now

 uhttpmock.spec => uhttpmock1.spec | 47 ++++++++++++++++++++-------------------
 1 file changed, 24 insertions(+), 23 deletions(-)
---
diff --git a/uhttpmock.spec b/uhttpmock1.spec
similarity index 77%
rename from uhttpmock.spec
rename to uhttpmock1.spec
index 1984b4d..a041d94 100644
--- a/uhttpmock.spec
+++ b/uhttpmock1.spec
@@ -6,19 +6,19 @@
 
 Summary:	HTTP web service mocking library
 Summary(pl.UTF-8):	Biblioteka do tworzenia atrap usług HTTP
-Name:		uhttpmock
-Version:	0.5.5
+Name:		uhttpmock1
+Version:	0.9.0
 Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
 #Source0Download: https://gitlab.freedesktop.org/pwithnall/uhttpmock/tags
-Source0:	https://gitlab.freedesktop.org/pwithnall/uhttpmock/-/archive/%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5:	f8099372cfecd2cbdb269a2516aaa831
+Source0:	https://gitlab.freedesktop.org/pwithnall/uhttpmock/-/archive/%{version}/uhttpmock-%{version}.tar.bz2
+# Source0-md5:	ad0e688655dc98d7e17fa0ef732bf4d7
 URL:		https://gitlab.freedesktop.org/pwithnall/uhttpmock
 BuildRequires:	glib2-devel >= 1:2.38
 BuildRequires:	gobject-introspection-devel >= 0.10
 BuildRequires:	gtk-doc >= 1.14
-BuildRequires:	libsoup-devel >= 2.48
+BuildRequires:	libsoup3-devel >= 3.1.2
 BuildRequires:	meson
 BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig
@@ -26,7 +26,7 @@ BuildRequires:	rpm-build >= 4.6
 BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRequires:	vala
 Requires:	glib2 >= 1:2.38
-Requires:	libsoup >= 2.48
+Requires:	libsoup3 >= 3.1.2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -45,7 +45,7 @@ Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki uhttpmock
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	glib2-devel >= 1:2.38
-Requires:	libsoup-devel >= 2.48
+Requires:	libsoup3-devel >= 3.1.2
 
 %description devel
 Header files for uhttpmock library.
@@ -65,18 +65,19 @@ Static uhttpmock library.
 %description static -l pl.UTF-8
 Statyczna biblioteka uhttpmock.
 
-%package -n vala-libuhttpmock
+%package -n vala-libuhttpmock1
 Summary:	Vala API for uhttpmock library
 Summary(pl.UTF-8):	API języka Vala do biblioteki uhttpmock
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 Requires:	vala
+Requires:	vala-libsoup3 >= 3.1.2
 BuildArch:	noarch
 
-%description -n vala-libuhttpmock
+%description -n vala-libuhttpmock1
 Vala API for uhttpmock library.
 
-%description -n vala-libuhttpmock -l pl.UTF-8
+%description -n vala-libuhttpmock1 -l pl.UTF-8
 API języka Vala do biblioteki uhttpmock.
 
 %package apidocs
@@ -93,7 +94,7 @@ API documentation for uhttpmock library.
 Dokumentacja API biblioteki uhttpmock.
 
 %prep
-%setup -q
+%setup -q -n uhttpmock-%{version}
 
 %build
 %meson build
@@ -116,32 +117,32 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS NEWS README
-%attr(755,root,root) %{_libdir}/libuhttpmock-0.0.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libuhttpmock-0.0.so.0
-%{_libdir}/girepository-1.0/Uhm-0.0.typelib
+%attr(755,root,root) %{_libdir}/libuhttpmock-1.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libuhttpmock-1.0.so.1
+%{_libdir}/girepository-1.0/Uhm-1.0.typelib
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libuhttpmock-0.0.so
-%{_includedir}/libuhttpmock-0.0
-%{_datadir}/gir-1.0/Uhm-0.0.gir
-%{_pkgconfigdir}/libuhttpmock-0.0.pc
+%attr(755,root,root) %{_libdir}/libuhttpmock-1.0.so
+%{_includedir}/libuhttpmock-1.0
+%{_datadir}/gir-1.0/Uhm-1.0.gir
+%{_pkgconfigdir}/libuhttpmock-1.0.pc
 
 %if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/libuhttpmock-0.0.a
+%{_libdir}/libuhttpmock-1.0.a
 %endif
 
 %if %{with vala}
-%files -n vala-libuhttpmock
+%files -n vala-libuhttpmock1
 %defattr(644,root,root,755)
-%{_datadir}/vala/vapi/libuhttpmock-0.0.deps
-%{_datadir}/vala/vapi/libuhttpmock-0.0.vapi
+%{_datadir}/vala/vapi/libuhttpmock-1.0.deps
+%{_datadir}/vala/vapi/libuhttpmock-1.0.vapi
 %endif
 
 %if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
-%{_gtkdocdir}/libuhttpmock-0.0
+%{_gtkdocdir}/libuhttpmock-1.0
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/uhttpmock1.git/commitdiff/b0196e49c2aa96d699cecce7880a5154b391ba9c



More information about the pld-cvs-commit mailing list