summaryrefslogtreecommitdiff
path: root/contrib/libgusb.spec.in
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2011-08-19 15:30:22 +0100
committerRichard Hughes <richard@hughsie.com>2011-08-19 15:30:22 +0100
commite6856271458262b85026623b99598f6cb46509a8 (patch)
treeb2b225b4223b758829982e3e54d7a77fcc168170 /contrib/libgusb.spec.in
parent31610562fb274cffce7fe0be7651dda8fe37bf0f (diff)
downloadgusb-e6856271458262b85026623b99598f6cb46509a8.tar.gz
Prepare for a release in two weeks time
Diffstat (limited to 'contrib/libgusb.spec.in')
-rw-r--r--contrib/libgusb.spec.in13
1 files changed, 8 insertions, 5 deletions
diff --git a/contrib/libgusb.spec.in b/contrib/libgusb.spec.in
index cb532e0..152a416 100644
--- a/contrib/libgusb.spec.in
+++ b/contrib/libgusb.spec.in
@@ -1,18 +1,22 @@
%define alphatag #ALPHATAG#
Summary: GLib wrapper around libusb1
-Name: gusb
+Name: libgusb
Version: #VERSION#
Release: 0.#BUILD#%{?alphatag}%{?dist}
License: LGPLv2+
URL: https://gitorious.org/gusb/
-Source0: http://www.packagekit.org/releases/lib%{name}-%{version}.tar.xz
+Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
BuildRequires: glib2-devel >= 2.16.1
BuildRequires: libtool
+BuildRequires: libgudev1-devel
+BuildRequires: libusb1-devel
%description
-GUsb is a higher level wrapper around libusb1 that uses GLib and GObject.
+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: Libraries and headers for gusb
@@ -22,7 +26,7 @@ Requires: %{name} = %{version}-%{release}
GLib headers and libraries for gusb.
%prep
-%setup -q -n lib%{name}-%{version}
+%setup -q
%build
%configure \
@@ -47,7 +51,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libgusb.la
%files devel
%defattr(-,root,root,-)
-#%dir %{_includedir}/gusb-1
%{_includedir}/gusb-1
%{_libdir}/libgusb.so
%{_libdir}/pkgconfig/gusb.pc