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

Revision 7633, 2.7 KB checked in by Takemikaduchi, 11 years ago (diff)

GNOME-3.8.1

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