source: projects/specs/trunk/lib/libg/libgusb/libgusb-vl.spec @ 7294

Revision 7294, 2.4 KB checked in by Takemikaduchi, 11 years ago (diff)

KDE-4.9.5

Line 
1Name:           libgusb
2Version:        0.1.4
3Release:        1%{?_dist_release}
4Summary:        GObject wrapper for libusb1
5Summary(ja):    libusb1 用 GObject ラッパー
6
7Group:          System Environment/Libraries
8License:        LGPLv2+
9URL:            https://gitorious.org/gusb/
10Source0:        http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
11BuildRoot:      %{_tmppath}/%{name}-%{version}-root
12
13BuildRequires:  glib2-devel >= 2.28.0
14BuildRequires:  libgudev1-devel
15BuildRequires:  libusb1-devel >= 1.0.0
16
17Vendor:         Project Vine
18Distribution:   Vine Linux
19Packager:       Takemikaduchi
20
21
22%description
23GUsb is a GObject wrapper for libusb1 that makes it easy to do
24asynchronous control, bulk and interrupt transfers with proper
25cancellation and integration into a mainloop.
26This makes it easy to integrate low level USB transfers with your
27high-level application or system daemon.
28
29Not everything you can do in libusb1 is wrapped, although we'll accept
30feature requests (with patches) if it makes sense. There is some pretty
31low hanging fruit if you're interested.
32
33
34%package        devel
35Summary:        Development files for %{name}
36Summary(ja):    %{name} の開発ファイル
37Group:          Development/Libraries
38Requires:       %{name} = %{version}-%{release}
39Requires:       glib2-devel
40
41%description    devel
42The %{name}-devel package contains libraries and header files for
43developing applications that use %{name}.
44
45
46%package        doc
47Summary:        Documentation for %{name}
48Summary(ja):    %{name} 用のドキュメント
49Group:          Documentation
50Requires:       %{name} = %{version}-%{release}
51BuildArch:      noarch
52
53%description    doc
54This package contains documentation for %{name}.
55
56
57%prep
58%setup -q
59
60%build
61%configure --disable-static
62make %{?_smp_mflags}
63
64%check
65
66%install
67rm -rf $RPM_BUILD_ROOT
68make install DESTDIR=$RPM_BUILD_ROOT
69find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
70
71
72%clean
73rm -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 Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.4-1
99- new upstream release
100
101* Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.3-1
102- initial build
Note: See TracBrowser for help on using the repository browser.