- 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
|
Name: gnome-bluetooth
|
||||||
Version: 0.12.0
|
Version: 2.27.1
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2 and LGPLv2+
|
Summary: Bluetooth graphical utilities
|
||||||
Group: System Environment/Libraries
|
|
||||||
URL: http://live.gnome.org/GnomeBluetooth
|
|
||||||
Source: http://download.gnome.org/sources/gnome-bluetooth/0.11/%{name}-%{version}.tar.bz2
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
Group: Applications/Communications
|
||||||
BuildRequires: autoconf >= 2.57 bluez-libs-devel >= 2.8 bluez-utils
|
License: GPLv2+
|
||||||
BuildRequires: libgnomeui-devel >= 2.2 libbonobo-devel >= 2.0
|
URL: http://live.gnome.org/GnomeBluetooth
|
||||||
BuildRequires: GConf2-devel >= 2.0 librsvg2-devel
|
Source0: http://download.gnome.org/sources/gnome-bluetooth/2.27/gnome-bluetooth-%{version}.tar.bz2
|
||||||
BuildRequires: libbtctl-devel >= 0.9.0
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
BuildRequires: gob2 openobex-devel >= 1.0.1
|
|
||||||
BuildRequires: pygtk2-devel python-devel
|
BuildRequires: gtk2-devel
|
||||||
BuildRequires: intltool automake libtool gettext
|
BuildRequires: GConf2-devel
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
BuildRequires: dbus-glib-devel
|
||||||
Requires(pre): GConf2
|
BuildRequires: hal-devel
|
||||||
Requires(post): GConf2
|
BuildRequires: unique-devel
|
||||||
Requires(preun): GConf2
|
BuildRequires: libnotify-devel
|
||||||
Requires: bluez-utils
|
|
||||||
ExcludeArch: s390 s390x
|
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
|
%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
|
%package libs
|
||||||
Summary: Libraries for applications, which use gnome-bluetooth
|
Summary: GTK+ Bluetooth device selection widgets
|
||||||
Group: Development/Libraries
|
Group: System Environment/Libraries
|
||||||
|
License: LGPLv2+
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description libs
|
%description libs
|
||||||
This package contains the libraries for applications,
|
This package contains libraries needed for applications that
|
||||||
which use gnome-bluetooth.
|
want to display a Bluetooth device selection widget.
|
||||||
|
|
||||||
%package devel
|
%package libs-devel
|
||||||
Summary: Files for the development of applications, which use gnome-bluetooth
|
Summary: Development files for %{name}-libs
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
|
License: LGPLv2+
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
Requires: glib2-devel
|
Requires: gtk-doc
|
||||||
Requires: libbtctl-devel
|
|
||||||
|
|
||||||
%description devel
|
%description libs-devel
|
||||||
This package contains the files for the development of applications,
|
This package contains the libraries amd header files that are needed
|
||||||
which will use gnome-bluetooth.
|
for writing applications that require a Bluetooth device selection widget.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n gnome-bluetooth-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure --disable-desktop-update --disable-icon-update
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
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}/libgnome-bluetooth.la
|
||||||
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
|
|
||||||
|
|
||||||
# rename the icon file
|
desktop-file-install --vendor="" \
|
||||||
mv $RPM_BUILD_ROOT%{_datadir}/pixmaps/blueradio-48.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/blueradio.png
|
--delete-original \
|
||||||
|
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
|
||||||
|
$RPM_BUILD_ROOT%{_datadir}/applications/bluetooth-properties.desktop
|
||||||
|
|
||||||
# Python's .m4 sucks
|
desktop-file-install --vendor="" \
|
||||||
if [ $RPM_BUILD_ROOT/usr/lib/ != $RPM_BUILD_ROOT%{_libdir}/ ] ; then
|
--delete-original \
|
||||||
mv $RPM_BUILD_ROOT/usr/lib/* $RPM_BUILD_ROOT%{_libdir}/
|
--dir=$RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/ \
|
||||||
rmdir $RPM_BUILD_ROOT/usr/lib
|
$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
|
fi
|
||||||
|
|
||||||
%find_lang %{name}
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
if [ "$1" -gt 1 ]; then
|
if [ "$1" -gt 1 ]; then
|
||||||
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||||
@ -82,11 +101,12 @@ if [ "$1" -gt 1 ]; then
|
|||||||
gconftool-2 --makefile-uninstall-rule \
|
gconftool-2 --makefile-uninstall-rule \
|
||||||
%{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas >/dev/null || :
|
%{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas >/dev/null || :
|
||||||
fi
|
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
|
fi
|
||||||
|
|
||||||
%post libs -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun libs -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ "$1" -eq 0 ]; then
|
if [ "$1" -eq 0 ]; then
|
||||||
@ -95,33 +115,50 @@ if [ "$1" -eq 0 ]; then
|
|||||||
gconftool-2 --makefile-uninstall-rule \
|
gconftool-2 --makefile-uninstall-rule \
|
||||||
%{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas > /dev/null || :
|
%{_sysconfdir}/gconf/schemas/gnome-obex-server.schemas > /dev/null || :
|
||||||
fi
|
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
|
fi
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%postun
|
||||||
%defattr(-, root, root)
|
update-desktop-database -q
|
||||||
#GPLv2
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
/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}/gnome-bluetooth/
|
||||||
%{_datadir}/pixmaps/*
|
%{_datadir}/icons/hicolor/*/apps/*
|
||||||
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%defattr(-, root, root)
|
%defattr(-,root,root,-)
|
||||||
#GPLv2
|
%doc COPYING.LIB
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
%{_libdir}/libgnome-bluetooth.so.*
|
||||||
%{_libdir}/python*.*/site-packages/gnomebt/
|
|
||||||
#LGPLv2+
|
|
||||||
%{_libdir}/libgnomebt.so.*
|
|
||||||
|
|
||||||
%files devel
|
%files libs-devel
|
||||||
%defattr(-, root, root)
|
%defattr(-,root,root,-)
|
||||||
#GPLv2
|
%{_includedir}/gnome-bluetooth/*.h
|
||||||
%doc COPYING
|
%{_libdir}/libgnome-bluetooth.so
|
||||||
%{_libdir}/pkgconfig/gnome-bluetooth.pc
|
%{_libdir}/pkgconfig/gnome-bluetooth-1.0.pc
|
||||||
%{_includedir}/gnome-bluetooth/
|
%{_datadir}/gtk-doc/html/gnome-bluetooth/
|
||||||
#LGPLv2+
|
|
||||||
%{_libdir}/libgnomebt.so
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user