SHA256
1
0
forked from pool/uhttpmock

Accepting request 581641 from GNOME:Factory

spdx3 (forwarded request 580210 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/581641
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uhttpmock?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2018-03-05 12:32:27 +00:00 committed by Git OBS Bridge
commit 3242761b50
2 changed files with 11 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 26 11:46:14 UTC 2018 - dimstar@opensuse.org
- Use SPDX3.0 license tags and package COPYING as %license.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jul 12 13:09:09 UTC 2015 - zaitor@opensuse.org Sun Jul 12 13:09:09 UTC 2015 - zaitor@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package uhttpmock # spec file for package uhttpmock
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013 Dominique Leuenberger, Amsterdam, The Netherlands. # Copyright (c) 2013 Dominique Leuenberger, Amsterdam, The Netherlands.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -21,11 +21,12 @@ Name: uhttpmock
Version: 0.5.0 Version: 0.5.0
Release: 0 Release: 0
Summary: HTTP web service mocking library Summary: HTTP web service mocking library
License: LGPL-2.1+ License: LGPL-2.1-or-later
Group: Development/Tools Group: Development/Tools
Url: https://gitlab.com/uhttpmock/uhttpmock Url: https://gitlab.com/uhttpmock/uhttpmock
Source0: https://tecnocode.co.uk/downloads/uhttpmock/%{name}-%{version}.tar.xz Source0: https://tecnocode.co.uk/downloads/uhttpmock/%{name}-%{version}.tar.xz
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gio-2.0) >= 2.36.0 BuildRequires: pkgconfig(gio-2.0) >= 2.36.0
BuildRequires: pkgconfig(glib-2.0) >= 2.31.0 BuildRequires: pkgconfig(glib-2.0) >= 2.31.0
BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gobject-2.0)
@ -54,7 +55,6 @@ uhttpmock is a project for mocking web service APIs which use HTTP or HTTPS.
It provides a library, libuhttpmock, which implements recording and It provides a library, libuhttpmock, which implements recording and
playback of HTTP request/response traces. playback of HTTP request/response traces.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries Group: Development/Libraries
@ -75,24 +75,20 @@ make %{?_smp_mflags}
%install %install
%make_install %make_install
find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print find %{buildroot} -type f -name "*.la" -delete -print
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%post -n libuhttpmock-0_0-0 -p /sbin/ldconfig %post -n libuhttpmock-0_0-0 -p /sbin/ldconfig
%postun -n libuhttpmock-0_0-0 -p /sbin/ldconfig %postun -n libuhttpmock-0_0-0 -p /sbin/ldconfig
%files -n libuhttpmock-0_0-0 %files -n libuhttpmock-0_0-0
%defattr(-,root,root) %license COPYING
%doc README COPYING NEWS AUTHORS %doc README NEWS AUTHORS
%{_libdir}/libuhttpmock-0.0.so.* %{_libdir}/libuhttpmock-0.0.so.*
%files -n typelib-1_0-Uhm-0_0 %files -n typelib-1_0-Uhm-0_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/Uhm-0.0.typelib %{_libdir}/girepository-1.0/Uhm-0.0.typelib
%files devel %files devel
%defattr(-,root,root)
%doc %{_datadir}/gtk-doc/html/libuhttpmock-0.0/ %doc %{_datadir}/gtk-doc/html/libuhttpmock-0.0/
%{_libdir}/*.so %{_libdir}/*.so
%{_includedir}/libuhttpmock-0.0/ %{_includedir}/libuhttpmock-0.0/