1 Star 0 Fork 1

wenlongd/uhttpmock

forked from src-openEuler/uhttpmock 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
uhttpmock.spec 2.14 KB
一键复制 编辑 原始数据 按行查看 历史
wenlongd 提交于 2023-02-10 16:28 . Initial package.
%global glib2_version 2.38.0
%global libsoup_version 2.47.3
# 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
Name: uhttpmock
Version: 0.5.5
Release: 1
Summary: HTTP web service mocking library
License: LGPLv2
URL: https://gitlab.com/groups/uhttpmock
Source0: https://gitlab.freedesktop.org/pwithnall/uhttpmock/-/archive/%{version}/uhttpmock-%{version}.tar.bz2
BuildRequires: meson
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: libsoup-devel >= %{libsoup_version}
BuildRequires: intltool
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
BuildRequires: vala
Requires: glib2%{?_isa} >= %{glib2_version}
Requires: libsoup%{?_isa} >= %{libsoup_version}
%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
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package contains libraries, header files and documentation for
developing applications that use %{name}.
%prep
%setup -q
%build
%meson -Dgtk_doc=true -Dintrospection=true -Dvapi=enabled
%meson_build
%check
%meson_test
%install
%meson_install
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%ldconfig_scriptlets
%files
%license COPYING
%doc README NEWS AUTHORS
%{_libdir}/libuhttpmock-%{uhm_api_version}.so.0*
%{_libdir}/girepository-1.0/Uhm-%{uhm_api_version}.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}/
%changelog
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 0.5.5-1
- Init Packaging
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dwl301/uhttpmock.git
git@gitee.com:dwl301/uhttpmock.git
dwl301
uhttpmock
uhttpmock
master

搜索帮助