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