123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- Name: libgusb
- Version: 0.1.6
- Release: 1%{?_dist_release}
- Summary: GObject wrapper for libusb1
- Summary(ja): libusb1 用 GObject ラッパー
- Group: System Environment/Libraries
- License: LGPLv2+
- URL: https://gitorious.org/gusb/
- Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: glib2-devel >= 2.28.0
- BuildRequires: gobject-introspection-devel
- BuildRequires: libgudev1-devel
- BuildRequires: libusb1-devel >= 1.0.0
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: Takemikaduchi
- %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.
- This makes it easy to integrate low level USB transfers with your
- high-level application or system daemon.
- Not everything you can do in libusb1 is wrapped, although we'll accept
- feature requests (with patches) if it makes sense. There is some pretty
- low hanging fruit if you're interested.
- %package devel
- Summary: Development files for %{name}
- Summary(ja): %{name} の開発ファイル
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: glib2-devel
- %description devel
- The %{name}-devel package contains libraries and header files for
- developing applications that use %{name}.
- %package doc
- Summary: Documentation for %{name}
- Summary(ja): %{name} 用のドキュメント
- Group: Documentation
- Requires: %{name} = %{version}-%{release}
- BuildArch: noarch
- %description doc
- This package contains documentation for %{name}.
- %prep
- %setup -q
- %build
- %configure --disable-static
- make %{?_smp_mflags}
- %check
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %files
- %defattr(-,root,root,-)
- %doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README
- %{_libdir}/%{name}.so.*
- %{_libdir}/girepository-1.0/GUsb-1.0.typelib
- %files devel
- %defattr(-,root,root,-)
- %{_includedir}/gusb-1
- %{_libdir}/%{name}.so
- %{_libdir}/pkgconfig/gusb.pc
- %{_datadir}/gir-1.0/GUsb-1.0.gir
- %files doc
- %defattr(-,root,root,-)
- %{_datadir}/gtk-doc/html/gusb
- %changelog
- * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.6-1
- - new upstream release
- - add BuildRequires: gobject-introspection-devel
- * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.4-1
- - new upstream release
- * Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.3-1
- - initial build
|