commit 610bf6893a2ba5da9513c7ef06ec23e1e38ce2aa258132246b715e86d456bcc4 Author: Ismail Dönmez Date: Wed Jan 18 08:53:29 2012 +0000 Accepting request 100522 from home:vuntz New package, which is needed for colord and other things; needed in Factory (I can maintain it) OBS-URL: https://build.opensuse.org/request/show/100522 OBS-URL: https://build.opensuse.org/package/show/hardware/libgusb?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/libgusb-0.1.3.tar.xz b/libgusb-0.1.3.tar.xz new file mode 100644 index 0000000..3344744 --- /dev/null +++ b/libgusb-0.1.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4eebb56700d9366c513bfa8f9321a60388f61bade0236a90d66854caea97f0e6 +size 256844 diff --git a/libgusb.changes b/libgusb.changes new file mode 100644 index 0000000..6daf11e --- /dev/null +++ b/libgusb.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Fri Jan 13 11:05:55 UTC 2012 - vuntz@opensuse.org + +- Cleanup packaging so it can get pushed to Factory. + +------------------------------------------------------------------- +Mon Jan 2 09:01:58 UTC 2012 - kkaempf@suse.com + +- Initial package, version 0.1.3 + diff --git a/libgusb.spec b/libgusb.spec new file mode 100644 index 0000000..364f7ad --- /dev/null +++ b/libgusb.spec @@ -0,0 +1,85 @@ +# +# spec file for package libgusb +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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: libgusb +Version: 0.1.3 +Release: 0 +License: LGPL-2.1+ +Summary: GObject-based library for libusb1 +Url: https://gitorious.org/gusb/ +Group: System/Libraries +Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz +BuildRequires: xz +BuildRequires: pkgconfig(glib-2.0) >= 2.28.0 +BuildRequires: pkgconfig(gudev-1.0) +BuildRequires: pkgconfig(libusb-1.0) >= 1.0.0 + +%description +GUsb is a GObject wrapper for libusb1 that makes it easy to do +asynchronous control, bulk and interrupt transfers with proper +cancellation and integration into a mainloop. + +%package -n libgusb2 +Summary: GObject-based library for libusb1 +Group: System/Libraries + +%description -n libgusb2 +GUsb is a GObject wrapper for libusb1 that makes it easy to do +asynchronous control, bulk and interrupt transfers with proper +cancellation and integration into a mainloop. + +%package devel +Summary: GObject-based library for libusb1 -- Development Files +Group: Development/Libraries/C and C++ +Requires: libgusb2 = %{version} + +%description devel +GUsb is a GObject wrapper for libusb1 that makes it easy to do +asynchronous control, bulk and interrupt transfers with proper +cancellation and integration into a mainloop. + +%prep +%setup -q + +%build +%configure \ + --disable-static +make %{?_smp_mflags} + +%install +%make_install +find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print + +%post -n libgusb2 -p /sbin/ldconfig + +%postun -n libgusb2 -p /sbin/ldconfig + +%files -n libgusb2 +%defattr(-,root,root,-) +%doc AUTHORS COPYING NEWS README +%{_libdir}/libgusb.so.? +%{_libdir}/libgusb.so.?.0.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/gusb-1/ +%{_libdir}/libgusb.so +%{_libdir}/pkgconfig/gusb.pc +%doc %{_datadir}/gtk-doc/html/gusb/ + +%changelog