uhttpmock/uhttpmock.spec

119 lines
3.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: uhttpmock
Version: 0.9.0
Release: 1mamba
Summary: A library which implements recording and playback of HTTP requestresponse traces
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gitlab.freedesktop.org/pwithnall/uhttpmock
Source: https://gitlab.freedesktop.org/pwithnall/uhttpmock.git/%{version}/uhttpmock-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libglib-devel
BuildRequires: libsoup-devel
## AUTOBUILDREQ-END
%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 requestresponse traces.
%package -n lib%{name}
Group: System/Libraries
Summary: A library which implements recording and playback of HTTP requestresponse traces
%description -n lib%{name}
A library which implements recording and playback of HTTP requestresponse traces.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%package apidocs
Group: Documentation
Summary: %{name} API documentation
Requires: gtk-doc
%description apidocs
This package includes the %{name} API documentation.
%debug_package
%prep
%setup -q
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libuhttpmock-1.0.so.*
%{_libdir}/girepository-1.0/Uhm-1.0.typelib
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/libuhttpmock-1.0
%dir %{_includedir}/libuhttpmock-1.0/uhttpmock
%{_includedir}/libuhttpmock-1.0/uhttpmock/uhm*.h
%{_libdir}/libuhttpmock-1.0.so
%{_libdir}/pkgconfig/libuhttpmock-1.0.pc
%{_datadir}/gir-1.0/Uhm-1.0.gir
%{_datadir}/vala/vapi/libuhttpmock-1.0.deps
%{_datadir}/vala/vapi/libuhttpmock-1.0.vapi
#%doc NEWS README
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/libuhttpmock-1.0
%{_datadir}/gtk-doc/html/libuhttpmock-1.0/*
%changelog
* Sat Nov 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-1mamba
- update to 0.9.0
* Wed Oct 21 2020 Automatic Build System <autodist@mambasoft.it> 0.5.3-1mamba
- automatic version update by autodist
* Wed May 20 2020 Automatic Build System <autodist@mambasoft.it> 0.5.2-1mamba
- automatic update by autodist
* Sun Oct 22 2017 Automatic Build System <autodist@mambasoft.it> 0.5.1-1mamba
- automatic update by autodist
* Thu Sep 10 2015 Automatic Build System <autodist@mambasoft.it> 0.5.0-1mamba
- automatic version update by autodist
* Fri May 08 2015 Automatic Build System <autodist@mambasoft.it> 0.4.0-1mamba
- automatic update by autodist
* Mon Nov 10 2014 Automatic Build System <autodist@mambasoft.it> 0.3.3-1mamba
- automatic update by autodist
* Sun Oct 12 2014 Automatic Build System <autodist@mambasoft.it> 0.3.1-1mamba
- automatic update by autodist
* Tue Jul 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0-1mamba
- update to 0.3.0
* Sun Jan 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0-1mamba
- package created using the webbuild interface