1 | Name: libgusb |
---|
2 | Version: 0.1.6 |
---|
3 | Release: 2%{?_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: gobject-introspection-devel |
---|
15 | BuildRequires: libgudev1-devel |
---|
16 | BuildRequires: libusb1-devel >= 1.0.0 |
---|
17 | |
---|
18 | Vendor: Project Vine |
---|
19 | Distribution: Vine Linux |
---|
20 | Packager: Takemikaduchi |
---|
21 | |
---|
22 | |
---|
23 | %description |
---|
24 | GUsb is a GObject wrapper for libusb1 that makes it easy to do |
---|
25 | asynchronous control, bulk and interrupt transfers with proper |
---|
26 | cancellation and integration into a mainloop. |
---|
27 | This makes it easy to integrate low level USB transfers with your |
---|
28 | high-level application or system daemon. |
---|
29 | |
---|
30 | Not everything you can do in libusb1 is wrapped, although we'll accept |
---|
31 | feature requests (with patches) if it makes sense. There is some pretty |
---|
32 | low hanging fruit if you're interested. |
---|
33 | |
---|
34 | |
---|
35 | %package devel |
---|
36 | Summary: Development files for %{name} |
---|
37 | Summary(ja): %{name} の開発ファイル |
---|
38 | Group: Development/Libraries |
---|
39 | Requires: %{name} = %{version}-%{release} |
---|
40 | Requires: glib2-devel |
---|
41 | |
---|
42 | %description devel |
---|
43 | The %{name}-devel package contains libraries and header files for |
---|
44 | developing applications that use %{name}. |
---|
45 | |
---|
46 | |
---|
47 | %package doc |
---|
48 | Summary: Documentation for %{name} |
---|
49 | Summary(ja): %{name} 用のドキュメント |
---|
50 | Group: Documentation |
---|
51 | Requires: %{name} = %{version}-%{release} |
---|
52 | BuildArch: noarch |
---|
53 | |
---|
54 | %description doc |
---|
55 | This package contains documentation for %{name}. |
---|
56 | |
---|
57 | |
---|
58 | %prep |
---|
59 | %setup -q |
---|
60 | |
---|
61 | %build |
---|
62 | %configure --disable-static |
---|
63 | make %{?_smp_mflags} |
---|
64 | |
---|
65 | %check |
---|
66 | |
---|
67 | %install |
---|
68 | rm -rf $RPM_BUILD_ROOT |
---|
69 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
70 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
71 | |
---|
72 | |
---|
73 | %clean |
---|
74 | rm -rf $RPM_BUILD_ROOT |
---|
75 | |
---|
76 | |
---|
77 | %post -p /sbin/ldconfig |
---|
78 | |
---|
79 | %postun -p /sbin/ldconfig |
---|
80 | |
---|
81 | |
---|
82 | %files |
---|
83 | %defattr(-,root,root,-) |
---|
84 | %doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README |
---|
85 | %{_libdir}/%{name}.so.* |
---|
86 | %{_libdir}/girepository-1.0/GUsb-1.0.typelib |
---|
87 | |
---|
88 | %files devel |
---|
89 | %defattr(-,root,root,-) |
---|
90 | %{_includedir}/gusb-1 |
---|
91 | %{_libdir}/%{name}.so |
---|
92 | %{_libdir}/pkgconfig/gusb.pc |
---|
93 | %{_datadir}/gir-1.0/GUsb-1.0.gir |
---|
94 | |
---|
95 | %files doc |
---|
96 | %defattr(-,root,root,-) |
---|
97 | %{_datadir}/gtk-doc/html/gusb |
---|
98 | |
---|
99 | |
---|
100 | %changelog |
---|
101 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.6-2 |
---|
102 | - rebuild with VineSeed environment |
---|
103 | |
---|
104 | * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.6-1 |
---|
105 | - new upstream release |
---|
106 | - add BuildRequires: gobject-introspection-devel |
---|
107 | |
---|
108 | * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.4-1 |
---|
109 | - new upstream release |
---|
110 | |
---|
111 | * Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.3-1 |
---|
112 | - initial build |
---|