gnome-bluetooth/gnome-bluetooth.spec

275 lines
8.1 KiB
RPMSpec
Raw Normal View History

Summary: GNOME Bluetooth Subsystem
Name: gnome-bluetooth
Version: 0.9.1
2007-07-12 20:57:06 +00:00
Release: 1%{?dist}
License: GPL
Group: System Environment/Libraries
URL: http://usefulinc.com/software/gnome-bluetooth
2006-06-14 09:59:20 +00:00
#Source: http://usefulinc.com/software/gnome-bluetooth/releases/%{name}-%{version}.tar.bz2
Source: http://ftp.gnome.org/pub/gnome/sources/gnome-bluetooth/0.7/%{name}-%{version}.tar.bz2
2005-09-28 10:56:39 +00:00
2007-02-27 13:43:07 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2005-07-08 14:11:29 +00:00
BuildRequires: autoconf >= 2.57 bluez-libs-devel >= 2.8 bluez-utils
BuildRequires: libgnomeui-devel >= 2.2 libbonobo-devel >= 2.0
BuildRequires: GConf2-devel >= 2.0 librsvg2-devel
2007-07-12 20:57:06 +00:00
BuildRequires: libbtctl-devel >= 0.9.0
2005-07-08 14:11:29 +00:00
BuildRequires: gob2 openobex-devel >= 1.0.1
BuildRequires: pygtk2-devel python-devel
2006-06-11 17:38:40 +00:00
BuildRequires: intltool automake libtool gettext
2005-07-08 14:11:29 +00:00
Requires: %{name}-libs = %{version}-%{release}
Requires(pre): GConf2
Requires(post): GConf2
Requires(preun): GConf2
2006-06-14 09:59:20 +00:00
Requires: bluez-utils
ExcludeArch: s390 s390x
2007-07-12 20:57:06 +00:00
Patch1: gnome-bluetooth-0.8.0-desktop.patch
2005-09-28 12:35:11 +00:00
%description
This package contains a Bonobo server to control Bluetooth devices,
and a simple GUI to explore which devices are available
2006-06-14 09:59:20 +00:00
(gnome-bluetooth-manager). Also, an OBEX server is available,
gnome-obex-server. This will receive files sent via Bluetooth to your PC,
and save them in your home directory.
%package libs
Summary: Libraries for applications, which use gnome-bluetooth
Group: Development/Libraries
%description libs
This package contains the libraries for applications,
which use gnome-bluetooth.
%package devel
Summary: Files for the development of applications, which use gnome-bluetooth
Group: Development/Libraries
2005-07-08 14:11:29 +00:00
Requires: %{name}-libs = %{version}-%{release}
Requires: glib2-devel
Requires: libbtctl-devel
%description devel
This package contains the files for the development of applications,
which will use gnome-bluetooth.
%prep
%setup -q
2007-07-12 20:57:06 +00:00
%patch1 -p1 -b .dfix
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
2006-11-13 12:58:24 +00:00
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}/gnome-vfs-2.0/modules/libbluetooth.*a
# Python's .m4 sucks
2007-07-12 21:29:44 +00:00
if [ $RPM_BUILD_ROOT/usr/lib/ != $RPM_BUILD_ROOT%{_libdir}/ ] ; then
mv $RPM_BUILD_ROOT/usr/lib/* $RPM_BUILD_ROOT%{_libdir}/
rmdir $RPM_BUILD_ROOT/usr/lib
fi
2005-07-08 14:11:29 +00:00
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%pre
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas >/dev/null || :
fi
2005-03-31 08:45:17 +00:00
%post libs -p /sbin/ldconfig
%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas > /dev/null || :
2005-03-31 08:45:17 +00:00
%postun libs -p /sbin/ldconfig
%preun
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas > /dev/null || :
fi
%files -f %{name}.lang
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/gnome-obex-send
2005-07-08 14:11:29 +00:00
%{_bindir}/gnome-obex-server
%{_datadir}/applications/gnome-obex-server.desktop
2005-07-08 14:11:29 +00:00
%{_datadir}/gnome-bluetooth/
2006-02-16 14:22:08 +00:00
%{_datadir}/pixmaps/*
2005-09-28 10:56:39 +00:00
%{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas
%files libs
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/libgnomebt.so.*
2005-07-08 14:11:29 +00:00
%{_libdir}/python*.*/site-packages/gnomebt/
%files devel
%defattr(-, root, root)
%doc COPYING
%{_libdir}/pkgconfig/gnome-bluetooth.pc
%{_libdir}/libgnomebt.so
2005-07-08 14:11:29 +00:00
%{_includedir}/gnome-bluetooth/
%changelog
* Mon Jul 23 2007 - Bastien Nocera <bnocera@redhat.com> - 0.9.1-1
- Upgrade to 0.9.1 to fix a crasher in the server
2007-07-12 20:57:06 +00:00
* Thu Jul 12 2007 - Bastien Nocera <bnocera@redhat.com> - 0.9.0-1
- Update for 0.9.0
- Fix installation of the python bindings
2007-07-12 20:57:06 +00:00
2007-04-02 21:45:40 +00:00
* Mon Apr 2 2007 Matthias Clasen <mclasen@redhat.com> - 0.8.0-4
- Remove unncessary gconfd killing from scripts (#224561)
* Tue Feb 27 2007 Harald Hoyer <harald@redhat.com> - 0.8.0-3%{?dist}
2007-02-27 13:43:07 +00:00
- corrected BuildRoot
- smp flags added
- specfile cleanup
- fixed desktop file
2007-02-27 13:43:07 +00:00
2006-12-07 19:35:01 +00:00
* Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 0.8.0-2
- rebuild for python 2.5
* Mon Nov 13 2006 Harald Hoyer <harald@redhat.com> - 0.8.0-1
2006-11-13 12:58:24 +00:00
- version 0.8.0
2006-07-12 05:58:54 +00:00
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.7.0-10.1
- rebuild
2006-06-14 09:59:20 +00:00
* Wed Jun 14 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-10
- bump for new openobex
2006-06-11 17:38:40 +00:00
* Sun Jun 11 2006 Jesse Keating <jkeating@redhat.com> - 0.7.0-9
- Missing automake, libtool, gettext BR
2006-06-11 17:19:22 +00:00
2006-06-11 16:11:29 +00:00
* Sun Jun 11 2006 Jesse Keating <jkeating@redhat.com> - 0.7.0-6
- Bump for new libbluetooth
2006-06-14 09:59:20 +00:00
* Wed May 31 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-6
- add dependency on bluez-utils, cosmetic tweaks (bug #190280)
* Tue May 30 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-5
- install schemata correctly (bug #193518)
2006-05-29 12:16:29 +00:00
* Mon May 29 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-3
- more build requires (bug #193374)
2006-02-27 13:41:44 +00:00
* Mon Feb 27 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-2
- pydir fixes for lib64
2006-02-16 14:22:08 +00:00
* Thu Feb 16 2006 Harald Hoyer <harald@redhat.com> - 0.7.0-1
- version 0.7.0
2006-02-11 03:12:57 +00:00
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.6.0-2.2.1
- bump again for double-long bug on ppc(64)
2006-02-07 11:51:07 +00:00
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.6.0-2.2
- rebuilt for new gcc4.1 snapshot and glibc changes
2005-12-09 22:40:36 +00:00
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Fri Oct 07 2005 Harald Hoyer <harald@redhat.com> - 0.6.0-2
- Fix relative path for the icons in desktop files which no longer works
with the icon cache.
2005-09-28 10:56:39 +00:00
* Wed Sep 28 2005 Harald Hoyer <harald@redhat.com> - 0.6.0-1
- new version 0.6.0
2005-08-17 06:21:57 +00:00
* Tue Aug 16 2005 Warren Togami <wtogami@redhat.com> 0.5.1-14
- rebuild for new cairo
2005-07-08 14:11:29 +00:00
* Thu Jul 7 2005 Matthias Saou <http://freshrpms.net/> 0.5.1-13
- Minor spec file cleanups.
- Fix relative path for the icons in desktop files which no longer works
with the icon cache.
- Remove useless zero epochs.
- Remove explicit python abi requirement, it's automatic for FC4 and up.
2005-03-31 08:45:17 +00:00
* Thu Mar 31 2005 Harald Hoyer <harald@redhat.com> - 0.5.1-12
- removed base requirement from libs
* Tue Mar 29 2005 Warren Togami <wtogami@redhat.com> - 0.5.1-11
- devel req glib2-devel libbtctl-devel for pkgconfig (#152488)
2005-03-02 12:34:57 +00:00
* Wed Mar 02 2005 Harald Hoyer <harald@redhat.com>
- rebuilt
* Mon Feb 21 2005 Harald Hoyer <harald@redhat.com> - 0.5.1-9
- added gnome hbox patch for bug rh#149215
2004-12-07 16:25:32 +00:00
* Tue Dec 07 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-8
- added requires for python-abi
* Tue Dec 07 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-7
- split package into app, libs and devel
* Mon Oct 25 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-6
- fixed again gnome-bluetooth-manager script for 64bit (bug 134864)
* Fri Oct 08 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-5
- buildrequire pygtk2-devel (bug 135032)
- fixed gnome-bluetooth-manager script for 64bit (bug 134864)
- fixed segfault on file receive (bug 133041)
2004-09-27 09:11:51 +00:00
* Mon Sep 27 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-4
- buildrequire libbtctl-devel
- buildrequire openobex-devel >= 1.0.1
2004-09-27 09:11:51 +00:00
- pythondir -> pyexecdir
* Wed Jul 28 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-3
- added build dependency for librsvg2-devel
* Tue Jul 27 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-2
- added pydir patch
* Thu Jul 22 2004 Harald Hoyer <harald@redhat.com> - 0.5.1-1
- version 0.5.1
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Tue May 25 2004 Harald Hoyer <harald@redhat.com> - 0.4.1-8
- corrected BuildRequires
* Wed Mar 10 2004 Harald Hoyer <harald@redhat.com> - 0.4.1-7
- added EggToolBar patch for gcc34
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Mon Jan 26 2004 Harald Hoyer <harald@redhat.de> 0.4.1-4
- added autofoo patch
* Thu Aug 28 2003 Harald Hoyer <harald@redhat.de> 0.4.1-3
- add .so to gnome-vfs module, if libtool does not!
* Thu Aug 07 2003 Harald Hoyer <harald@redhat.de> 0.4.1-2
- call libtool finish
* Wed Aug 6 2003 Harald Hoyer <harald@redhat.de> 0.4.1-1
- new version 0.4.1
* Wed Jun 5 2003 Harald Hoyer <harald@redhat.de> 0.4-1
- initial RPM