summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2024-03-01 13:27:08 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2024-03-01 13:27:08 +0000
commitee7272bdf170e466523ecb82cde0fdbbf59e5aa2 (patch)
tree8c51f75286fb6df601ef725687e3d346610dafe4
parent4bd2a91ebae164c787cfb651313ed1a37ffdafa2 (diff)
automatic import of uhttpmockHEADmasterf40f39f38
-rw-r--r--.gitignore1
-rw-r--r--sources1
-rw-r--r--uhttpmock.spec81
3 files changed, 83 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..ac0e6aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/uhttpmock-0.9.0.tar.gz
diff --git a/sources b/sources
new file mode 100644
index 0000000..7cded6a
--- /dev/null
+++ b/sources
@@ -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