forked from pool/libgusb
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
This commit is contained in:
commit
610bf6893a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
libgusb-0.1.3.tar.xz
Normal file
3
libgusb-0.1.3.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4eebb56700d9366c513bfa8f9321a60388f61bade0236a90d66854caea97f0e6
|
||||
size 256844
|
10
libgusb.changes
Normal file
10
libgusb.changes
Normal file
@ -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
|
||||
|
85
libgusb.spec
Normal file
85
libgusb.spec
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user