gnome-bluetooth/gnome-bluetooth.spec

410 lines
12 KiB
RPMSpec
Raw Normal View History

2009-03-04 23:11:19 +00:00
Name: gnome-bluetooth
2009-04-14 13:48:31 +00:00
Version: 2.27.4
Release: 4%{?dist}
2009-03-04 23:11:19 +00:00
Summary: Bluetooth graphical utilities
Group: Applications/Communications
License: GPLv2+
URL: http://live.gnome.org/GnomeBluetooth
Source0: http://download.gnome.org/sources/gnome-bluetooth/2.27/gnome-bluetooth-%{version}.tar.bz2
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: gtk2-devel
BuildRequires: GConf2-devel
BuildRequires: dbus-glib-devel
BuildRequires: hal-devel
BuildRequires: unique-devel
BuildRequires: libnotify-devel
2009-04-14 13:57:34 +00:00
BuildRequires: gnome-doc-utils
2009-03-04 23:11:19 +00:00
BuildRequires: perl-XML-Parser intltool desktop-file-utils gettext gtk-doc
Obsoletes: bluez-pin
Provides: dbus-bluez-pin-helper
Conflicts: bluez-gnome <= 1.8
Obsoletes: bluez-gnome <= 1.8
2009-03-04 23:11:19 +00:00
Requires: gvfs-obexftp
Requires: bluez
Requires: obexd
Requires: notification-daemon
2009-04-16 18:08:43 +00:00
Requires: pulseaudio-module-bluetooth
2009-03-04 23:11:19 +00:00
2009-03-05 00:21:11 +00:00
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils
%description
2009-03-04 23:11:19 +00:00
The gnome-bluetooth package contains graphical utilities to setup,
monitor and use Bluetooth devices.
%package libs
2009-03-04 23:11:19 +00:00
Summary: GTK+ Bluetooth device selection widgets
Group: System Environment/Libraries
License: LGPLv2+
Requires: %{name} = %{version}-%{release}
%description libs
2009-03-04 23:11:19 +00:00
This package contains libraries needed for applications that
want to display a Bluetooth device selection widget.
2009-03-04 23:11:19 +00:00
%package libs-devel
Summary: Development files for %{name}-libs
Group: Development/Libraries
License: LGPLv2+
Requires: %{name}-libs = %{version}-%{release}
Requires: gtk-doc pkgconfig
Obsoletes: gnome-bluetooth-devel
Provides: gnome-bluetooth-devel
2009-03-04 23:11:19 +00:00
%description libs-devel
This package contains the libraries amd header files that are needed
for writing applications that require a Bluetooth device selection widget.
%prep
2009-03-04 23:11:19 +00:00
%setup -q -n gnome-bluetooth-%{version}
%build
2009-03-04 23:11:19 +00:00
%configure --disable-desktop-update --disable-icon-update
make %{?_smp_mflags}
2009-03-04 23:11:19 +00:00
%install
rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
2009-03-04 23:11:19 +00:00
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/libgnome-bluetooth.la
desktop-file-install --vendor="" \
--delete-original \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/bluetooth-properties.desktop
desktop-file-install --vendor="" \
--delete-original \
--dir=$RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/ \
$RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop
2009-04-14 14:14:06 +00:00
# gnome-bluetooth2 is the name for the gettext domain,
# gnome-bluetooth is the name in the docs
2009-03-04 23:11:19 +00:00
%find_lang gnome-bluetooth2
2009-04-14 14:14:06 +00:00
%find_lang %{name} --with-gnome
cat %{name}.lang >> gnome-bluetooth2.lang
# save space by linking identical images in translated docs
helpdir=$RPM_BUILD_ROOT%{_datadir}/gnome/help/%{name}
for f in $helpdir/C/figures/*.png; do
b="$(basename $f)"
for d in $helpdir/*; do
if [ -d "$d" -a "$d" != "$helpdir/C" ]; then
g="$d/figures/$b"
if [ -f "$g" ]; then
if cmp -s $f $g; then
rm "$g"; ln -s "../../C/figures/$b" "$g"
fi
fi
fi
done
done
2009-03-04 23:11:19 +00:00
%post
2009-04-14 14:14:06 +00:00
scrollkeeper-update -q
2009-03-04 23:11:19 +00:00
update-desktop-database -q
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas \
2009-03-04 23:11:19 +00:00
>& /dev/null || :
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%pre
if [ "$1" -gt 1 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
if [ -f %{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas ] ; then
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas >/dev/null || :
fi
if [ -f %{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas ] ; then
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas \
>& /dev/null || :
fi
fi
%preun
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
if [ -f %{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas ] ; then
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas > /dev/null || :
fi
if [ -f %{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas ] ; then
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas \
>& /dev/null || :
fi
fi
2009-03-04 23:11:19 +00:00
%postun
2009-04-14 14:14:06 +00:00
scrollkeeper-update -q
2009-03-04 23:11:19 +00:00
update-desktop-database -q
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
2009-03-04 23:11:19 +00:00
fi
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files -f gnome-bluetooth2.lang
%defattr(-,root,root,-)
%doc README NEWS COPYING
%{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas
%{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop
%{_bindir}/bluetooth-*
%{_datadir}/applications/*.desktop
2005-07-08 14:11:29 +00:00
%{_datadir}/gnome-bluetooth/
2009-04-08 17:36:54 +00:00
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/icons/hicolor/*/status/*
2009-03-04 23:11:19 +00:00
%{_mandir}/man1/*
%files libs
2009-03-04 23:11:19 +00:00
%defattr(-,root,root,-)
%doc COPYING.LIB
%{_libdir}/libgnome-bluetooth.so.*
%files libs-devel
%defattr(-,root,root,-)
%{_includedir}/gnome-bluetooth/
2009-03-04 23:11:19 +00:00
%{_libdir}/libgnome-bluetooth.so
%{_libdir}/pkgconfig/gnome-bluetooth-1.0.pc
%{_datadir}/gtk-doc/html/gnome-bluetooth/
%changelog
* Fri May 01 2009 Bastien Nocera <bnocera@redhat.com> 2.27.4-4
- Use the scriplets on the wiki for the icon update
* Fri May 01 2009 Bastien Nocera <bnocera@redhat.com> 2.27.4-3
- Touch the icon theme directory, should fix the icon not appearing
properly on new installs
2009-04-16 18:08:43 +00:00
* Thu Apr 16 2009 - Bastien Nocera <bnocera@redhat.com> - 2.27.4-2
- Require the PA Bluetooth plugins
2009-04-14 13:48:31 +00:00
* Tue Apr 14 2009 - Bastien Nocera <bnocera@redhat.com> - 2.27.4-1
- Update to 2.27.4
2009-04-09 22:19:06 +00:00
* Thu Apr 09 2009 - Bastien Nocera <bnocera@redhat.com> - 2.27.3-1
- Update to 2.27.3
2009-04-08 18:51:20 +00:00
* Wed Apr 08 2009 - Bastien Nocera <bnocera@redhat.com> - 2.27.2-2
- Fix schema installation
2009-04-08 17:06:00 +00:00
* Wed Apr 08 2009 - Bastien Nocera <bnocera@redhat.com> - 2.27.2-1
- Upgrade to 2.27.2
* Tue Mar 10 2009 - Bastien Nocera <bnocera@redhat.com> - 2.27.1-4
- Make the -libs-devel obsolete and provide the -devel package, so
we can actually upgrade...
2009-03-05 00:21:11 +00:00
* Thu Mar 05 2009 - Bastien Nocera <bnocera@redhat.com> - 2.27.1-3
- Add patch to fix sendto
2009-03-04 23:11:19 +00:00
* Wed Mar 04 2009 - Bastien Nocera <bnocera@redhat.com> - 2.27.1-2
- Update to 2.27.1
- Loads of fixes mentioned by Bill Nottingham in bug #488498
2009-03-04 23:11:19 +00:00
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2009-02-19 17:10:52 +00:00
* Thu Feb 19 2009 - Bastien Nocera <bnocera@redhat.com> - 0.12.0-1
- Update to 0.12.0
2008-12-05 02:16:25 +00:00
* Thu Dec 4 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.0-8
- Rebuild for Python 2.6
2008-11-29 16:37:05 +00:00
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.11.0-7
- Rebuild for Python 2.6
2008-11-01 00:00:07 +00:00
* Fri Oct 31 2008 - Bastien Nocera <bnocera@redhat.com> - 0.11.0-6
- Remove a few more .la files
2008-09-11 05:25:25 +00:00
* Thu Sep 11 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.0-5
- Rebuild against new bluez-libs
2008-05-20 07:07:31 +00:00
* Wed May 14 2008 - Ondrej Vasik <ovasik@redhat.com> - 0.11.0-4
- Changed name of icon file(#444811)
* Wed Feb 27 2008 - Bastien Nocera <bnocera@redhat.com> - 0.11.0-3
- Remove gnome-obex-server, we should use gnome-user-share now
2008-02-11 11:30:13 +00:00
* Mon Feb 11 2008 - Ondrej Vasik <ovasik@redhat.com> - 0.11.0-1
- gcc43 rebuild
2008-01-21 20:37:52 +00:00
* Mon Jan 21 2008 - Bastien Nocera <bnocera@redhat.com> - 0.11.0
- Update to 0.11.0
2008-01-21 16:30:26 +00:00
* Mon Jan 21 2008 - Bastien Nocera <bnocera@redhat.com> - 0.10.0
- Update to 0.10.0
2007-10-22 12:06:08 +00:00
* Mon Oct 22 2007 - Ondrej Vasik <ovasik@redhat.com> - 0.9.1-4
- marked gnome-obex-server.schemas as config file
- changed upstream URL
2007-09-18 15:13:50 +00:00
* Tue Sep 18 2007 - Ondrej Vasik <ovasik@redhat.com> - 0.9.1-3
- fixed wrong source URL
* Thu Aug 23 2007 - Ondrej Vasik <ovasik@redhat.com> - 0.9.1-2
- rebuilt for F8
- changed license tag to GPLv2 and LGPLv2+
* 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