1 | # to activate, add --with mono to rpmbuild |
---|
2 | %bcond_with mono |
---|
3 | |
---|
4 | Summary: Library for the GNOME Bluetooth Subsystem |
---|
5 | Summary(ja): GNOME Bluetooth サブシステム用ライブラリ |
---|
6 | Name: libbtctl |
---|
7 | Version: 0.11.1 |
---|
8 | Release: 2%{?_dist_release} |
---|
9 | License: GPLv2+ and LGPLv2.1+ |
---|
10 | Group: System Environment/Libraries |
---|
11 | URL: http://live.gnome.org/GnomeBluetooth |
---|
12 | |
---|
13 | Source0: http://ftp.gnome.org/pub/gnome/sources/libbtctl/0.11/%{name}-%{version}.tar.bz2 |
---|
14 | Patch5: libbtctl-0.11.1-lib64.patch |
---|
15 | # Vine Patch |
---|
16 | # to build with openobex 1.7.1 |
---|
17 | Patch100: libbtctl-0.11.1-unicode.patch |
---|
18 | |
---|
19 | ExcludeArch: s390 s390x |
---|
20 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
21 | BuildRequires: autoconf automake libtool gettext intltool |
---|
22 | BuildRequires: bluez-libs-devel |
---|
23 | BuildRequires: glib2-devel |
---|
24 | BuildRequires: gtk-doc |
---|
25 | BuildRequires: gtk2-devel |
---|
26 | BuildRequires: openobex-devel |
---|
27 | BuildRequires: pygtk2-devel |
---|
28 | BuildRequires: python |
---|
29 | BuildRequires: python-devel |
---|
30 | |
---|
31 | %if %{with mono} |
---|
32 | BuildRequires: mono-devel gtk-sharp-gapi gtk-sharp |
---|
33 | %endif |
---|
34 | |
---|
35 | Packager: babasaki |
---|
36 | |
---|
37 | %description |
---|
38 | Library for the GNOME Bluetooth Subsystem |
---|
39 | |
---|
40 | %description -l ja |
---|
41 | GNOME Bluetooth サブシステム用ライブラリです。 |
---|
42 | |
---|
43 | |
---|
44 | %package devel |
---|
45 | Summary: Development files for libbtctl |
---|
46 | Summary(ja): libbtctl の開発用ファイル |
---|
47 | Group: Development/Libraries |
---|
48 | Requires: %{name} = %{version}-%{release} |
---|
49 | Requires: glib2-devel |
---|
50 | |
---|
51 | %description devel |
---|
52 | This package contains the files needed for developing applications, |
---|
53 | which use libbtctl. |
---|
54 | |
---|
55 | %description devel -l ja |
---|
56 | libbtctl を使用するアプリケーション開発に必要なファイルを含んでいます。 |
---|
57 | |
---|
58 | |
---|
59 | %prep |
---|
60 | %setup -q |
---|
61 | %ifarch x86_64 |
---|
62 | %patch5 -p0 -b .lib64 |
---|
63 | %endif |
---|
64 | |
---|
65 | %patch100 -p1 -b .unicode |
---|
66 | |
---|
67 | %build |
---|
68 | autoreconf -fiv |
---|
69 | |
---|
70 | %if %{with mono} |
---|
71 | %configure --disable-static |
---|
72 | %else |
---|
73 | %configure --disable-mono --disable-static |
---|
74 | %endif |
---|
75 | |
---|
76 | make |
---|
77 | |
---|
78 | |
---|
79 | %install |
---|
80 | rm -rf $RPM_BUILD_ROOT |
---|
81 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
82 | |
---|
83 | # we do not want .la files |
---|
84 | rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la |
---|
85 | rm -f $RPM_BUILD_ROOT/%{python_sitearch}/*.la |
---|
86 | %find_lang %name |
---|
87 | |
---|
88 | |
---|
89 | %clean |
---|
90 | rm -rf $RPM_BUILD_ROOT |
---|
91 | |
---|
92 | %post -p /sbin/ldconfig |
---|
93 | |
---|
94 | %postun -p /sbin/ldconfig |
---|
95 | |
---|
96 | %files -f %{name}.lang |
---|
97 | %defattr(-, root, root) |
---|
98 | %doc AUTHORS ChangeLog NEWS README |
---|
99 | %{_libdir}/lib*.so.* |
---|
100 | %{python_sitearch}/*btctl* |
---|
101 | %if %{with mono} |
---|
102 | %{_libdir}/mono/gac/btctl/*/btctl.dll |
---|
103 | %{_libdir}/mono/libbtctl/btctl.dll |
---|
104 | %{_datadir}/gapi/btctl-api.xml |
---|
105 | %endif |
---|
106 | |
---|
107 | %files devel |
---|
108 | %defattr(-, root, root) |
---|
109 | %{_libdir}/lib*.so |
---|
110 | #%{_libdir}/lib*.a |
---|
111 | %{_libdir}/pkgconfig/libbtctl.pc |
---|
112 | %{_includedir}/libbtctl |
---|
113 | %{_datadir}/gtk-doc/html/libbtctl |
---|
114 | %if %{with mono} |
---|
115 | %{_libdir}/pkgconfig/libbtctl-sharp.pc |
---|
116 | %endif |
---|
117 | |
---|
118 | |
---|
119 | %changelog |
---|
120 | * Tue Nov 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.11.1-2 |
---|
121 | - added Patch100 to build with openobex-1.7.1 |
---|
122 | |
---|
123 | * Mon Oct 04 2010 Shu KONNO <owa@bg.wakwak.com> 0.11.1-1 |
---|
124 | - updated libbtctl to 0.11.1 |
---|
125 | - dropt Patch2: libbtctl-0.4.1-pydir.patch |
---|
126 | - added Patch5: libbtctl-0.11.1-lib64.patch (on x86_64) |
---|
127 | - uninstall *.a |
---|
128 | - move "Maintainers:" to "packager:" |
---|
129 | - spec in utf-8 (too) |
---|
130 | - changed spec file name as vine style |
---|
131 | - rebuilt with new environment and rpm-4.8.1 |
---|
132 | |
---|
133 | * Fri Oct 24 2008 Seiichirou Babasaki 0.10.0-6 |
---|
134 | - Update to 0.10.0 (VineSeed) |
---|
135 | - added "# Maintainers: " comments. |
---|
136 | - changed UTF-8 encode at libbtctl.vs.spec |
---|
137 | - FedoraCore - LOGS |
---|
138 | -- 0.10.0-5 |
---|
139 | - Rebuild with patch for BlueZ 4.x |
---|
140 | -- 0.10.0-3 |
---|
141 | -- made doc subpackage to avoid conflict on multiarch env. |
---|
142 | -- Resolves: #341931 |
---|
143 | -- 0.10.0-2 |
---|
144 | -- gcc43 rebuild |
---|
145 | -- 0.10.0-1 |
---|
146 | -- Update to 0.10.0 |
---|
147 | |
---|
148 | * Wed Jan 16 2008 Seiichirou Babasaki 0.9.0-4 |
---|
149 | - Import bluez-libbtctl - Packager: Babasaki |
---|
150 | - fixed wrong Source URL |
---|
151 | - Updated specfile |
---|
152 | |
---|
153 | * Tue Sep 18 2007 - Ondrej Vasik <ovasik@redhat.com> - 0.9.0-3 |
---|
154 | - fixed wrong Source URL |
---|
155 | |
---|
156 | * Thu Aug 23 2007 - Ondrej Vasik <ovasik@redhat.com> - 0.9.0-2 |
---|
157 | - rebuilt for F8 |
---|
158 | - changed License tag to GPL+ |
---|
159 | |
---|
160 | * Thu Jul 12 2007 - Bastien Nocera <bnocera@redhat.com> - 0.9.0-1 |
---|
161 | - Update to 0.9.0 |
---|
162 | - Remove out-dated patches |
---|
163 | |
---|
164 | * Wed Feb 28 2007 Harald Hoyer <harald@redhat.com> - 0.8.2-3%{?dist} |
---|
165 | - specfile review |
---|
166 | - portet crash patch to 0.8.2 |
---|
167 | |
---|
168 | * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 0.8.2-2%{?dist} |
---|
169 | - rebuild for python 2.5 |
---|
170 | |
---|
171 | * Mon Nov 13 2006 Harald Hoyer <harald@redhat.com> - 0.8.2-1%{?dist} |
---|
172 | - version 0.8.2 |
---|
173 | - Resolves: rhbz#215230 |
---|
174 | |
---|
175 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.6.0-9.1 |
---|
176 | - rebuild |
---|
177 | |
---|
178 | * Wed Jun 14 2006 Harald Hoyer <harald@redhat.com> - 0.6.0-9 |
---|
179 | - rebuilt for openobex |
---|
180 | |
---|
181 | * Sun Jun 11 2006 Jesse Keating <jkeating@redhat.com> - 0.6.0-8 |
---|
182 | - Bump for new libbluetooth |
---|
183 | |
---|
184 | * Wed Jun 7 2006 Harald Hoyer <harald@redhat.com> - 0.6.0-7 |
---|
185 | - printf format corrected |
---|
186 | - more build requires |
---|
187 | |
---|
188 | * Wed May 17 2006 Harald Hoyer <harald@redhat.com> 0.6.0-6 |
---|
189 | - added more build requirements (bug #191981) |
---|
190 | |
---|
191 | * Thu Feb 23 2006 Matthias Clasen <mclasen@redhat.com> 0.6.0-5 |
---|
192 | - try a fix for (#179413) |
---|
193 | |
---|
194 | * Thu Feb 23 2006 Harald Hoyer <harald@redhat.com> 0.6.0-2 |
---|
195 | - rebuild |
---|
196 | |
---|
197 | * Thu Feb 16 2006 Harald Hoyer <harald@redhat.com> 0.6.0-1 |
---|
198 | - version 0.6.0 |
---|
199 | |
---|
200 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.5.0-1.2.1 |
---|
201 | - bump again for double-long bug on ppc(64) |
---|
202 | |
---|
203 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.5.0-1.2 |
---|
204 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
205 | |
---|
206 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
207 | - rebuilt |
---|
208 | |
---|
209 | * Wed Sep 28 2005 Harald Hoyer <harald@redhat.com> 0.5.0-1 |
---|
210 | - new version 0.5.0 |
---|
211 | |
---|
212 | * Tue Jul 19 2005 Harald Hoyer <harald@redhat.com> 0.4.1-8 |
---|
213 | - added gtk2-devel to BuildRequires |
---|
214 | |
---|
215 | * Thu Apr 21 2005 Harald Hoyer <harald@redhat.com> 0.4.1-7 |
---|
216 | - rebuild with requires python-abi |
---|
217 | |
---|
218 | * Wed Mar 30 2005 Warren Togami <wtogami@redhat.com> 0.4.1-6 |
---|
219 | - devel req glib2-devel for pkgconfig (#152497) |
---|
220 | |
---|
221 | * Wed Mar 02 2005 Harald Hoyer <harald@redhat.com> |
---|
222 | - rebuilt |
---|
223 | |
---|
224 | * Wed Feb 09 2005 Harald Hoyer <harald@redhat.com> |
---|
225 | - rebuilt |
---|
226 | |
---|
227 | * Fri Oct 08 2004 Harald Hoyer <harald@redhat.de> 0.4.1-3 |
---|
228 | - buildrequires pygtk2-devel |
---|
229 | |
---|
230 | * Fri Sep 24 2004 Harald Hoyer <harald@redhat.de> 0.4.1-2 |
---|
231 | - split out devel package |
---|
232 | - require openobex >= 1.0.1 |
---|
233 | - patch for lib64 python path |
---|
234 | |
---|
235 | * Thu Jul 22 2004 Harald Hoyer <harald@redhat.de> 0.4.1-1 |
---|
236 | - version 0.4.1 |
---|
237 | |
---|
238 | * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
---|
239 | - rebuilt |
---|
240 | |
---|
241 | * Tue May 25 2004 Harald Hoyer <harald@redhat.de> 0.3-6 |
---|
242 | - buildrequire bluez-libs-devel and glib2-devel |
---|
243 | |
---|
244 | * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> |
---|
245 | - rebuilt |
---|
246 | |
---|
247 | * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> |
---|
248 | - rebuilt |
---|
249 | |
---|
250 | * Tue Aug 5 2003 Harald Hoyer <harald@redhat.de> 0.3-4 |
---|
251 | - make shared library |
---|
252 | |
---|
253 | * Tue Aug 5 2003 Harald Hoyer <harald@redhat.de> 0.3-3 |
---|
254 | - BuildRequires bluez-sdp |
---|
255 | |
---|
256 | * Tue Jun 24 2003 Harald Hoyer <harald@redhat.de> 0.3-2 |
---|
257 | - exclude arch s390 |
---|
258 | |
---|
259 | * Wed Jun 5 2003 Harald Hoyer <harald@redhat.de> 0.3-1 |
---|
260 | - initial RPM |
---|
261 | |
---|
262 | |
---|