commit 44fb47eb38b2505d0a7a4a88a9d595880d4050c65624a635f8e422ea8fd57265 Author: Dominique Leuenberger Date: Thu Dec 19 21:37:21 2013 +0000 Accepting request 211772 from GNOME:Next For lack of a better repo, G:Factory... we are so far the only consumer OBS-URL: https://build.opensuse.org/request/show/211772 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/uhttpmock?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/uhttpmock-0.2.0.tar.xz b/uhttpmock-0.2.0.tar.xz new file mode 100644 index 0000000..cb918e8 --- /dev/null +++ b/uhttpmock-0.2.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6bc8df4cb2e0484a029ae159becc20b3df3dcc4c0ea493d25e9e2b4ab8a39e93 +size 284064 diff --git a/uhttpmock.changes b/uhttpmock.changes new file mode 100644 index 0000000..b92b9b0 --- /dev/null +++ b/uhttpmock.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Dec 19 19:49:22 UTC 2013 - dimstar@opensuse.org + +- Initial package, version 0.2.0. + diff --git a/uhttpmock.spec b/uhttpmock.spec new file mode 100644 index 0000000..d1dda96 --- /dev/null +++ b/uhttpmock.spec @@ -0,0 +1,97 @@ +# +# spec file for package uhttpmock +# +# Copyright (c) 2013 Dominique Leuenberger, Amsterdam, The Netherlands. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Name: uhttpmock +Version: 0.2.0 +Release: 0 +Summary: HTTP web service mocking library +Group: Development/Tools +License: LGPL-2.1+ +URL: http://gitorious.org/uhttpmock +Source0: http://tecnocode.co.uk/downloads/%{name}-%{version}.tar.xz +BuildRequires: gobject-introspection-devel +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(glib-2.0) >= 2.31.0 +BuildRequires: pkgconfig(gio-2.0) >= 2.17.3 +BuildRequires: pkgconfig(libsoup-2.4) >= 2.37.91 +BuildRequires: pkgconfig(gthread-2.0) + +%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 libuhttpmock-0_0-0 +Summary: HTTP web service mocking library +Group: System/Libraries + +%description -n libuhttpmock-0_0-0 +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 typelib-1_0-Uhm-0_0 +Summary: HTTP web service mocking library +Group: System/Libraries + +%description -n typelib-1_0-Uhm-0_0 +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} +Group: Development/Libraries +Requires: typelib-1_0-Uhm-0_0 = %{version} +Requires: libuhttpmock-0_0-0 = %{version} + +%description devel +This package contains libraries, header files and documentation for +developing applications that use %{name}. + +%prep +%setup -q + +%build +%configure \ + --disable-static +make %{?_smp_mflags} + +%install +%make_install +find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + +%files -n libuhttpmock-0_0-0 +%defattr(-,root,root) +%doc README COPYING NEWS AUTHORS +%{_libdir}/libuhttpmock-0.0.so.* + +%files -n typelib-1_0-Uhm-0_0 +%defattr(-,root,root) +%{_libdir}/girepository-1.0/Uhm-0.0.typelib + +%files devel +%defattr(-,root,root) +%doc %{_datadir}/gtk-doc/html/libuhttpmock/ +%{_libdir}/*.so +%{_includedir}/libuhttpmock-0.0/ +%{_libdir}/pkgconfig/libuhttpmock-0.0.pc +%{_datadir}/gir-1.0/Uhm-0.0.gir + +%changelog