[6890] | 1 | Name: libgusb |
---|
| 2 | Version: 0.1.3 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: GObject wrapper for libusb1 |
---|
| 5 | Summary(ja): libusb1 用 GObject ラッパー |
---|
| 6 | |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | License: LGPLv2+ |
---|
| 9 | URL: https://gitorious.org/gusb/ |
---|
| 10 | Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | |
---|
| 13 | BuildRequires: glib2-devel >= 2.28.0 |
---|
| 14 | BuildRequires: libgudev1-devel |
---|
| 15 | BuildRequires: libusb1-devel >= 1.0.0 |
---|
| 16 | |
---|
| 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | Packager: Takemikaduchi |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | GUsb is a GObject wrapper for libusb1 that makes it easy to do |
---|
| 24 | asynchronous control, bulk and interrupt transfers with proper |
---|
| 25 | cancellation and integration into a mainloop. |
---|
| 26 | This makes it easy to integrate low level USB transfers with your |
---|
| 27 | high-level application or system daemon. |
---|
| 28 | |
---|
| 29 | Not everything you can do in libusb1 is wrapped, although we'll accept |
---|
| 30 | feature requests (with patches) if it makes sense. There is some pretty |
---|
| 31 | low hanging fruit if you're interested. |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %package devel |
---|
| 35 | Summary: Development files for %{name} |
---|
| 36 | Summary(ja): %{name} の開発ファイル |
---|
| 37 | Group: Development/Libraries |
---|
| 38 | Requires: %{name} = %{version}-%{release} |
---|
| 39 | Requires: glib2-devel |
---|
| 40 | |
---|
| 41 | %description devel |
---|
| 42 | The %{name}-devel package contains libraries and header files for |
---|
| 43 | developing applications that use %{name}. |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %package doc |
---|
| 47 | Summary: Documentation for %{name} |
---|
| 48 | Summary(ja): %{name} 用のドキュメント |
---|
| 49 | Group: Documentation |
---|
| 50 | Requires: %{name} = %{version}-%{release} |
---|
| 51 | BuildArch: noarch |
---|
| 52 | |
---|
| 53 | %description doc |
---|
| 54 | This package contains documentation for %{name}. |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %prep |
---|
| 58 | %setup -q |
---|
| 59 | |
---|
| 60 | %build |
---|
| 61 | %configure --disable-static |
---|
| 62 | make %{?_smp_mflags} |
---|
| 63 | |
---|
| 64 | %check |
---|
| 65 | |
---|
| 66 | %install |
---|
| 67 | rm -rf $RPM_BUILD_ROOT |
---|
| 68 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 69 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %clean |
---|
| 73 | rm -rf $RPM_BUILD_ROOT |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | %post -p /sbin/ldconfig |
---|
| 77 | |
---|
| 78 | %postun -p /sbin/ldconfig |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %files |
---|
| 82 | %defattr(-,root,root,-) |
---|
| 83 | %doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README |
---|
| 84 | %{_libdir}/%{name}.so.* |
---|
| 85 | |
---|
| 86 | %files devel |
---|
| 87 | %defattr(-,root,root,-) |
---|
| 88 | %{_includedir}/gusb-1 |
---|
| 89 | %{_libdir}/%{name}.so |
---|
| 90 | %{_libdir}/pkgconfig/gusb.pc |
---|
| 91 | |
---|
| 92 | %files doc |
---|
| 93 | %defattr(-,root,root,-) |
---|
| 94 | %{_datadir}/gtk-doc/html/gusb |
---|
| 95 | |
---|
| 96 | |
---|
| 97 | %changelog |
---|
| 98 | * Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.3-1 |
---|
| 99 | - initial build |
---|