Compare commits
20 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0a8b2680b9 | ||
|
|
497ee0155d | ||
|
|
02134c2b0d | ||
|
|
318fc8191f | ||
|
|
57f48ec266 | ||
|
|
298e88d04d | ||
|
|
a365e60497 | ||
| 0bc6133ae8 | |||
|
|
dc6755034f | ||
|
|
b93ccd1829 | ||
|
|
5eeb6aeb90 | ||
|
|
75827399bf | ||
|
|
c2e5b5c5b5 | ||
|
|
1a811853c9 | ||
|
|
8607dc4472 | ||
|
|
94b55bdee3 | ||
|
|
ca73c53b26 | ||
|
|
93bcfb5c00 | ||
|
|
06d1c3d78a | ||
|
|
e302665ce5 |
3 changed files with 115 additions and 41 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -3,3 +3,7 @@
|
|||
/uhttpmock-0.3.1.tar.xz
|
||||
/uhttpmock-0.3.3.tar.xz
|
||||
/uhttpmock-0.5.0.tar.xz
|
||||
/uhttpmock-0.5.5.tar.bz2
|
||||
/uhttpmock-0.9.0.tar.gz
|
||||
/uhttpmock-0.10.0.tar.gz
|
||||
/uhttpmock-0.11.0.tar.gz
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
ebc54cbbe9b6695282a179af223fe374 uhttpmock-0.5.0.tar.xz
|
||||
SHA512 (uhttpmock-0.11.0.tar.gz) = 7823c1a773ce7addf3072d5b8ef88626e18c6f812b906bc7cea6b4ae5171800e672b0ded9a2f33b44b6d5b410e66bf6381a383cdbc9ba89ff63913e6f3441315
|
||||
|
|
|
|||
150
uhttpmock.spec
150
uhttpmock.spec
|
|
@ -1,79 +1,149 @@
|
|||
%global glib2_version 2.31.0
|
||||
%global libsoup_version 2.37.91
|
||||
%global glib2_version 2.38.0
|
||||
%global libsoup_version 3.1.2
|
||||
|
||||
# Packagers: This is the API version of libuhttpmock, as it allows
|
||||
# for parallel installation of different major API versions (e.g. like
|
||||
# GTK+ 2 and 3).
|
||||
%global uhm_api_version 0.0
|
||||
%global somajor 1
|
||||
%global apiver %{somajor}.0
|
||||
|
||||
Name: uhttpmock
|
||||
Version: 0.5.0
|
||||
Release: 9%{?dist}
|
||||
Version: 0.11.0
|
||||
Release: 6%{?dist}
|
||||
Summary: HTTP web service mocking library
|
||||
License: LGPLv2
|
||||
URL: https://gitlab.com/groups/uhttpmock
|
||||
Source0: https://tecnocode.co.uk/downloads/uhttpmock/uhttpmock-%{version}.tar.xz
|
||||
|
||||
BuildRequires: glib2-devel >= %{glib2_version}
|
||||
BuildRequires: libsoup-devel >= %{libsoup_version}
|
||||
BuildRequires: intltool
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: vala
|
||||
License: LGPL-2.1-or-later
|
||||
URL: https://gitlab.freedesktop.org/pwithnall/uhttpmock
|
||||
Source: %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
Requires: glib2%{?_isa} >= %{glib2_version}
|
||||
Requires: libsoup%{?_isa} >= %{libsoup_version}
|
||||
BuildRequires: meson
|
||||
BuildRequires: gcc
|
||||
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
|
||||
BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
|
||||
BuildRequires: glib-networking
|
||||
BuildRequires: pkgconfig(libsoup-3.0) >= %{libsoup_version}
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(gtk-doc)
|
||||
BuildRequires: /usr/bin/vapigen
|
||||
|
||||
%description
|
||||
uhttpmock is a project for mocking web service APIs which use HTTP or HTTPS.
|
||||
It provides a library, libuhttpmock, which implements recording and
|
||||
playback of HTTP request–response traces.
|
||||
|
||||
%package devel
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains libraries, header files and documentation for
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation files for %{name}
|
||||
Enhances: %{name}-devel = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
The %{name}-doc package contains documentation for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup
|
||||
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--enable-gtk-doc \
|
||||
--enable-introspection \
|
||||
--enable-vala=yes \
|
||||
--disable-static
|
||||
make %{?_smp_mflags}
|
||||
%meson -Dgtk_doc=true -Dintrospection=true -Dvapi=enabled
|
||||
%meson_build
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
%meson_install
|
||||
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
|
||||
%ldconfig_scriptlets
|
||||
%check
|
||||
%meson_test
|
||||
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README NEWS AUTHORS
|
||||
%{_libdir}/libuhttpmock-%{uhm_api_version}.so.0*
|
||||
%{_libdir}/girepository-1.0/Uhm-%{uhm_api_version}.typelib
|
||||
%{_libdir}/lib%{name}-%{apiver}.so.%{somajor}{,.*}
|
||||
%{_libdir}/girepository-1.0/Uhm-%{apiver}.typelib
|
||||
|
||||
%files devel
|
||||
%{_libdir}/libuhttpmock-%{uhm_api_version}.so
|
||||
%{_includedir}/libuhttpmock-%{uhm_api_version}/
|
||||
%{_libdir}/pkgconfig/libuhttpmock-%{uhm_api_version}.pc
|
||||
%{_datadir}/gir-1.0/Uhm-%{uhm_api_version}.gir
|
||||
%{_datadir}/vala/vapi/libuhttpmock-%{uhm_api_version}.deps
|
||||
%{_datadir}/vala/vapi/libuhttpmock-%{uhm_api_version}.vapi
|
||||
%doc %{_datadir}/gtk-doc/html/libuhttpmock-%{uhm_api_version}/
|
||||
%{_includedir}/lib%{name}-%{apiver}/
|
||||
%{_libdir}/lib%{name}-%{apiver}.so
|
||||
%{_libdir}/pkgconfig/lib%{name}-%{apiver}.pc
|
||||
%{_datadir}/gir-1.0/Uhm-%{apiver}.gir
|
||||
%{_datadir}/vala/vapi/lib%{name}-%{apiver}.*
|
||||
|
||||
%files doc
|
||||
%license COPYING
|
||||
%{_datadir}/gtk-doc/html/lib%{name}-%{apiver}/
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Tue Jun 18 2024 Jonathan Wright <jonathan@almalinux.org> - 0.11.0-1
|
||||
- update to 0.11.0 rhbz#2292898
|
||||
|
||||
* Tue Mar 05 2024 Jeremy Cline <jeremycline@microsoft.com> - 0.10.0-1
|
||||
- Rebase to 0.10.0 (rhbz#2267675)
|
||||
|
||||
* Fri Mar 01 2024 Neal Gompa <ngompa@fedoraproject.org> - 0.9.0-1
|
||||
- Rebase to 0.9.0 (rhbz#2264130, rhbz#1217971)
|
||||
- Modernize spec
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon Jul 11 2022 Bastien Nocera <bnocera@redhat.com> - 0.5.5-1
|
||||
+ uhttpmock-0.5.5-1
|
||||
- Update to 0.5.5
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Mon Feb 04 2019 Kalev Lember <klember@redhat.com> - 0.5.0-9
|
||||
- Update BRs for vala packaging changes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue