- Update to 2.27.1
This commit is contained in:
parent
6dcaf69471
commit
cbdddd33a8
@ -1 +1 @@
|
||||
gnome-bluetooth-0.12.0.tar.bz2
|
||||
gnome-bluetooth-2.27.1.tar.bz2
|
||||
|
@ -1,80 +1,99 @@
|
||||
Summary: GNOME Bluetooth Subsystem
|
||||
Name: gnome-bluetooth
|
||||
Version: 0.12.0
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2 and LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://live.gnome.org/GnomeBluetooth
|
||||
Source: http://download.gnome.org/sources/gnome-bluetooth/0.11/%{name}-%{version}.tar.bz2
|
||||
Version: 2.27.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Bluetooth graphical utilities
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
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
|
||||
BuildRequires: libbtctl-devel >= 0.9.0
|
||||
BuildRequires: gob2 openobex-devel >= 1.0.1
|
||||
BuildRequires: pygtk2-devel python-devel
|
||||
BuildRequires: intltool automake libtool gettext
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires(pre): GConf2
|
||||
Requires(post): GConf2
|
||||
Requires(preun): GConf2
|
||||
Requires: bluez-utils
|
||||
ExcludeArch: s390 s390x
|
||||
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
|
||||
|
||||
BuildRequires: perl-XML-Parser intltool desktop-file-utils gettext gtk-doc
|
||||
|
||||
Obsoletes: bluez-pin
|
||||
Provides: dbus-bluez-pin-helper
|
||||
Conflicts: bluez-gnome
|
||||
Obsoletes: bluez-gnome
|
||||
|
||||
Requires: gvfs-obexftp
|
||||
Requires: bluez
|
||||
Requires: obexd
|
||||
Requires: notification-daemon
|
||||
|
||||
Requires(post): desktop-file-utils
|
||||
Requires(postun): desktop-file-utils
|
||||
|
||||
%description
|
||||
This package contains a library with widgets for Bluetooth applications.
|
||||
The gnome-bluetooth package contains graphical utilities to setup,
|
||||
monitor and use Bluetooth devices.
|
||||
|
||||
%package libs
|
||||
Summary: Libraries for applications, which use gnome-bluetooth
|
||||
Group: Development/Libraries
|
||||
Summary: GTK+ Bluetooth device selection widgets
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description libs
|
||||
This package contains the libraries for applications,
|
||||
which use gnome-bluetooth.
|
||||
This package contains libraries needed for applications that
|
||||
want to display a Bluetooth device selection widget.
|
||||
|
||||
%package devel
|
||||
Summary: Files for the development of applications, which use gnome-bluetooth
|
||||
%package libs-devel
|
||||
Summary: Development files for %{name}-libs
|
||||
Group: Development/Libraries
|
||||
License: LGPLv2+
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: glib2-devel
|
||||
Requires: libbtctl-devel
|
||||
Requires: gtk-doc
|
||||
|
||||
%description devel
|
||||
This package contains the files for the development of applications,
|
||||
which will use gnome-bluetooth.
|
||||
%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
|
||||
%setup -q
|
||||
%setup -q -n gnome-bluetooth-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%configure
|
||||
%configure --disable-desktop-update --disable-icon-update
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
# we do not want .la files
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/python2.5/site-packages/gnomebt/*.la
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/libbluetooth.*a
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libgnome-bluetooth.la
|
||||
|
||||
# rename the icon file
|
||||
mv $RPM_BUILD_ROOT%{_datadir}/pixmaps/blueradio-48.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/blueradio.png
|
||||
desktop-file-install --vendor="" \
|
||||
--delete-original \
|
||||
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
|
||||
$RPM_BUILD_ROOT%{_datadir}/applications/bluetooth-properties.desktop
|
||||
|
||||
# Python's .m4 sucks
|
||||
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
|
||||
desktop-file-install --vendor="" \
|
||||
--delete-original \
|
||||
--dir=$RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/ \
|
||||
$RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop
|
||||
|
||||
%find_lang gnome-bluetooth2
|
||||
|
||||
%post
|
||||
update-desktop-database -q
|
||||
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||
gconftool-2 --makefile-install-rule \
|
||||
%{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas \
|
||||
>& /dev/null || :
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
||||
fi
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%pre
|
||||
if [ "$1" -gt 1 ]; then
|
||||
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||
@ -82,12 +101,13 @@ if [ "$1" -gt 1 ]; 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
|
||||
|
||||
%post libs -p /sbin/ldconfig
|
||||
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
if [ "$1" -eq 0 ]; then
|
||||
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||
@ -95,33 +115,50 @@ if [ "$1" -eq 0 ]; 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
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-, root, root)
|
||||
#GPLv2
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||
%postun
|
||||
update-desktop-database -q
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
||||
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
|
||||
%{_datadir}/gnome-bluetooth/
|
||||
%{_datadir}/pixmaps/*
|
||||
%{_datadir}/icons/hicolor/*/apps/*
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%files libs
|
||||
%defattr(-, root, root)
|
||||
#GPLv2
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||
%{_libdir}/python*.*/site-packages/gnomebt/
|
||||
#LGPLv2+
|
||||
%{_libdir}/libgnomebt.so.*
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING.LIB
|
||||
%{_libdir}/libgnome-bluetooth.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
#GPLv2
|
||||
%doc COPYING
|
||||
%{_libdir}/pkgconfig/gnome-bluetooth.pc
|
||||
%{_includedir}/gnome-bluetooth/
|
||||
#LGPLv2+
|
||||
%{_libdir}/libgnomebt.so
|
||||
%files libs-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/gnome-bluetooth/*.h
|
||||
%{_libdir}/libgnome-bluetooth.so
|
||||
%{_libdir}/pkgconfig/gnome-bluetooth-1.0.pc
|
||||
%{_datadir}/gtk-doc/html/gnome-bluetooth/
|
||||
|
||||
%changelog
|
||||
* Wed Mar 04 2009 - Bastien Nocera <bnocera@redhat.com> - 2.27.1-2
|
||||
- Update to 2.27.1
|
||||
|
||||
* 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user