2024-01-05 18:46:56 +01:00
|
|
|
|
Name: uhttpmock
|
2024-01-05 18:46:56 +01:00
|
|
|
|
Version: 0.3.0
|
2024-01-05 18:46:56 +01:00
|
|
|
|
Release: 1mamba
|
|
|
|
|
Summary: A library which implements recording and playback of HTTP request–response traces
|
2024-01-05 18:46:56 +01:00
|
|
|
|
Group: Applications/Networking
|
2024-01-05 18:46:56 +01:00
|
|
|
|
Vendor: openmamba
|
|
|
|
|
Distribution: openmamba
|
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
|
URL: https://gitorious.org/uhttpmock
|
|
|
|
|
Source: http://tecnocode.co.uk/downloads/uhttpmock/uhttpmock-%{version}.tar.xz
|
|
|
|
|
License: LGPL
|
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
|
BuildRequires: libffi-devel
|
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
|
BuildRequires: liblzma-devel
|
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
|
BuildRequires: libsoup-devel
|
|
|
|
|
BuildRequires: libsqlite-devel
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
|
|
%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 -n lib%{name}
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Summary: A library which implements recording and playback of HTTP request–response traces
|
|
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
|
A library which implements recording and playback of HTTP request–response 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
|
|
|
|
|
%configure --enable-gtk-doc
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
|
|
%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-0.0.so.*
|
|
|
|
|
%{_libdir}/girepository-1.0/Uhm-0.0.typelib
|
|
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%dir %{_includedir}/libuhttpmock-0.0
|
|
|
|
|
%dir %{_includedir}/libuhttpmock-0.0/uhttpmock
|
|
|
|
|
%{_includedir}/libuhttpmock-0.0/uhttpmock/uhm*.h
|
|
|
|
|
%{_libdir}/libuhttpmock-0.0.a
|
|
|
|
|
%{_libdir}/libuhttpmock-0.0.la
|
|
|
|
|
%{_libdir}/libuhttpmock-0.0.so
|
|
|
|
|
%{_libdir}/pkgconfig/libuhttpmock-0.0.pc
|
|
|
|
|
%{_datadir}/gir-1.0/Uhm-0.0.gir
|
|
|
|
|
%{_datadir}/vala/vapi/libuhttpmock-0.0.deps
|
|
|
|
|
%{_datadir}/vala/vapi/libuhttpmock-0.0.vapi
|
|
|
|
|
%doc NEWS README
|
|
|
|
|
|
|
|
|
|
%files apidocs
|
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 18:46:56 +01:00
|
|
|
|
%dir %{_datadir}/gtk-doc/html/libuhttpmock-0.0
|
|
|
|
|
%{_datadir}/gtk-doc/html/libuhttpmock-0.0/*
|
2024-01-05 18:46:56 +01:00
|
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 18:46:56 +01:00
|
|
|
|
* Tue Jul 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0-1mamba
|
|
|
|
|
- update to 0.3.0
|
|
|
|
|
|
2024-01-05 18:46:56 +01:00
|
|
|
|
* Sun Jan 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0-1mamba
|
|
|
|
|
- package created using the webbuild interface
|