diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2024-03-01 13:27:08 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2024-03-01 13:27:08 +0000 |
commit | ee7272bdf170e466523ecb82cde0fdbbf59e5aa2 (patch) | |
tree | 8c51f75286fb6df601ef725687e3d346610dafe4 | |
parent | 4bd2a91ebae164c787cfb651313ed1a37ffdafa2 (diff) |
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | sources | 1 | ||||
-rw-r--r-- | uhttpmock.spec | 81 |
3 files changed, 83 insertions, 0 deletions
@@ -0,0 +1 @@ +/uhttpmock-0.9.0.tar.gz @@ -0,0 +1 @@ +91acf5deacc3893ae7f953f1df81e124 uhttpmock-0.9.0.tar.gz diff --git a/uhttpmock.spec b/uhttpmock.spec new file mode 100644 index 0000000..9152bf6 --- /dev/null +++ b/uhttpmock.spec @@ -0,0 +1,81 @@ +%global glib2_minver 2.38 +%global somajor 1 +%global apiver %{somajor}.0 + +Name: uhttpmock +Version: 0.9.0 +Release: 1%{?dist} +Summary: Library for mocking web service APIs which use HTTP or HTTPS + +License: LGPL-2.1-or-later +URL: https://gitlab.freedesktop.org/pwithnall/uhttpmock +Source: %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: meson +BuildRequires: gcc +BuildRequires: pkgconfig(glib-2.0) >= %{glib2_minver} +BuildRequires: pkgconfig(gio-2.0) >= %{glib2_minver} +BuildRequires: pkgconfig(libsoup-3.0) >= 3.1.2 +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(gtk-doc) +BuildRequires: /usr/bin/vapigen + +%description +%{summary}. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%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 +%autosetup + + +%build +%meson +%meson_build + + +%install +%meson_install + + +%check +%meson_test + + +%files +%license COPYING +%doc README NEWS AUTHORS +%{_libdir}/lib%{name}-%{apiver}.so.%{somajor}{,.*} +%{_libdir}/girepository-1.0/Uhm-%{apiver}.typelib + +%files devel +%{_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 Mar 01 2024 Neal Gompa <ngompa@fedoraproject.org> - 0.9.0-1 +- Initial packaging |