123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260 |
- %ifarch %ix86 x86_64 ppc ia64 armv4l sparc s390 s390x
- # defined to zero, because beehive doesn't do macros for BuildRequires
- %define with_mono 0
- %else
- %define with_mono 0
- %endif
- ExcludeArch: s390 s390x
- Summary: Library for the GNOME Bluetooth Subsystem
- Summary(ja): GNOME Bluetooth サブシステム用ライブラリ
- Name: libbtctl
- Version: 0.10.0
- Release: 6%{?_dist_release}
- License: GPL+
- Group: System Environment/Libraries
- URL: http://live.gnome.org/GnomeBluetooth
- Source: http://ftp.gnome.org/pub/gnome/sources/libbtctl/0.10/%{name}-%{version}.tar.bz2
- #----------------------------------------------------------------------------
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- #----------------------------------------------------------------------------
- BuildRequires: autoconf >= 0:2.57, bluez-libs-devel, glib2-devel, gtk-doc
- BuildRequires: openobex-devel >= 0:1.1, pygtk2-devel, gtk2-devel
- BuildRequires: python, python-devel, gettext, automake, libtool, intltool
- %if %{with_mono}
- %{expand BuildRequires: mono-devel gtk-sharp-gapi gtk-sharp}
- %endif
- Patch1: libbtctl-bluez4.patch
- Patch2: libbtctl-0.4.1-pydir.patch
- ## Patch4: libbtctl-0.6.0-print.patch
- #----------------------------------------------------------------------------
- %description
- Library for the GNOME Bluetooth Subsystem
- %description -l ja
- GNOME Bluetooth サブシステム用ライブラリ
- #----------------------------------------------------------------------------
- %package devel
- Summary: Development files for libbtctl.
- Summary(ja): libbtctl 開発のためのDEVELパッケージ
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: glib2-devel
- %description devel
- This package contains the files needed for developing applications,
- which use libbtctl.
- %description devel -l ja
- libbtctl を使用するアプリケーション開発のために必要な
- ヘッダー類のパッケージ
- #----------------------------------------------------------------------------
- %prep
- %setup -q
- %patch1 -p0 -b .bluez4
- %patch2 -p1 -b .pydir
- ## %patch4 -p1 -b .print
- aclocal
- automake -a
- intltoolize -c -f
- autoconf
- %build
- %configure \
- %if %{with_mono}
- ;
- %else
- --disable-mono
- %endif
- # %%{?_smp_mflags} does not work
- make
- #----------------------------------------------------------------------------
- %install
- rm -rf $RPM_BUILD_ROOT
- make DESTDIR=$RPM_BUILD_ROOT install
- # we do not want .la files
- rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
- rm -f $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages/*.a
- rm -f $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages/*.la
- %find_lang %name
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- #----------------------------------------------------------------------------
- %files -f %{name}.lang
- %defattr(-, root, root)
- %doc AUTHORS ChangeLog NEWS README
- %{_libdir}/lib*.so.*
- %{_libdir}/python?.?/site-packages/*btctl*
- %if %{with_mono}
- %{_libdir}/mono/gac/btctl/*/btctl.dll
- %{_libdir}/mono/libbtctl/btctl.dll
- %{_datadir}/gapi/btctl-api.xml
- %endif
- %files devel
- %defattr(-, root, root)
- %{_libdir}/lib*.so
- %{_libdir}/lib*.a
- %{_libdir}/pkgconfig/libbtctl.pc
- %{_includedir}/libbtctl
- %{_datadir}/gtk-doc/html/libbtctl
- %if %{with_mono}
- %{_libdir}/pkgconfig/libbtctl-sharp.pc
- %endif
- #----------------------------------------------------------------------------
- # Maintainers: babasaki@mindgear.org
- #
- #----------------------------------------------------------------------------
- %changelog
- * Fri Oct 24 2008 Seiichirou Babasaki 0.10.0-6
- - Update to 0.10.0 (VineSeed)
- - added "# Maintainers: " comments.
- - changed UTF-8 encode at libbtctl.vs.spec
- - FedoraCore - LOGS
- -- 0.10.0-5
- - Rebuild with patch for BlueZ 4.x
- -- 0.10.0-3
- -- made doc subpackage to avoid conflict on multiarch env.
- -- Resolves: #341931
- -- 0.10.0-2
- -- gcc43 rebuild
- -- 0.10.0-1
- -- Update to 0.10.0
- * Wed Jan 16 2008 Seiichirou Babasaki 0.9.0-4
- - Import bluez-libbtctl - Packager: Babasaki
- - fixed wrong Source URL
- - Updated specfile
- #----------------------------------------------------------------------------
- * Tue Sep 18 2007 - Ondrej Vasik <ovasik@redhat.com> - 0.9.0-3
- - fixed wrong Source URL
- * Thu Aug 23 2007 - Ondrej Vasik <ovasik@redhat.com> - 0.9.0-2
- - rebuilt for F8
- - changed License tag to GPL+
- * Thu Jul 12 2007 - Bastien Nocera <bnocera@redhat.com> - 0.9.0-1
- - Update to 0.9.0
- - Remove out-dated patches
- * Wed Feb 28 2007 Harald Hoyer <harald@redhat.com> - 0.8.2-3%{?dist}
- - specfile review
- - portet crash patch to 0.8.2
- * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 0.8.2-2%{?dist}
- - rebuild for python 2.5
- * Mon Nov 13 2006 Harald Hoyer <harald@redhat.com> - 0.8.2-1%{?dist}
- - version 0.8.2
- - Resolves: rhbz#215230
- * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.6.0-9.1
- - rebuild
- * Wed Jun 14 2006 Harald Hoyer <harald@redhat.com> - 0.6.0-9
- - rebuilt for openobex
- * Sun Jun 11 2006 Jesse Keating <jkeating@redhat.com> - 0.6.0-8
- - Bump for new libbluetooth
- * Wed Jun 7 2006 Harald Hoyer <harald@redhat.com> - 0.6.0-7
- - printf format corrected
- - more build requires
- * Wed May 17 2006 Harald Hoyer <harald@redhat.com> 0.6.0-6
- - added more build requirements (bug #191981)
- * Thu Feb 23 2006 Matthias Clasen <mclasen@redhat.com> 0.6.0-5
- - try a fix for (#179413)
- * Thu Feb 23 2006 Harald Hoyer <harald@redhat.com> 0.6.0-2
- - rebuild
- * Thu Feb 16 2006 Harald Hoyer <harald@redhat.com> 0.6.0-1
- - version 0.6.0
- * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.5.0-1.2.1
- - bump again for double-long bug on ppc(64)
- * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.5.0-1.2
- - rebuilt for new gcc4.1 snapshot and glibc changes
- * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- - rebuilt
- * Wed Sep 28 2005 Harald Hoyer <harald@redhat.com> 0.5.0-1
- - new version 0.5.0
- * Tue Jul 19 2005 Harald Hoyer <harald@redhat.com> 0.4.1-8
- - added gtk2-devel to BuildRequires
- * Thu Apr 21 2005 Harald Hoyer <harald@redhat.com> 0.4.1-7
- - rebuild with requires python-abi
- * Wed Mar 30 2005 Warren Togami <wtogami@redhat.com> 0.4.1-6
- - devel req glib2-devel for pkgconfig (#152497)
- * Wed Mar 02 2005 Harald Hoyer <harald@redhat.com>
- - rebuilt
- * Wed Feb 09 2005 Harald Hoyer <harald@redhat.com>
- - rebuilt
- * Fri Oct 08 2004 Harald Hoyer <harald@redhat.de> 0.4.1-3
- - buildrequires pygtk2-devel
- * Fri Sep 24 2004 Harald Hoyer <harald@redhat.de> 0.4.1-2
- - split out devel package
- - require openobex >= 1.0.1
- - patch for lib64 python path
- * Thu Jul 22 2004 Harald Hoyer <harald@redhat.de> 0.4.1-1
- - version 0.4.1
- * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- - rebuilt
- * Tue May 25 2004 Harald Hoyer <harald@redhat.de> 0.3-6
- - buildrequire bluez-libs-devel and glib2-devel
- * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
- - rebuilt
- * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- - rebuilt
- * Tue Aug 5 2003 Harald Hoyer <harald@redhat.de> 0.3-4
- - make shared library
- * Tue Aug 5 2003 Harald Hoyer <harald@redhat.de> 0.3-3
- - BuildRequires bluez-sdp
- * Tue Jun 24 2003 Harald Hoyer <harald@redhat.de> 0.3-2
- - exclude arch s390
- * Wed Jun 5 2003 Harald Hoyer <harald@redhat.de> 0.3-1
- - initial RPM
|