]> git.pld-linux.org Git - packages/bluez-gnome.git/blobdiff - bluez-gnome.spec
- 0.25
[packages/bluez-gnome.git] / bluez-gnome.spec
index 37adb60679bc52c8c6a5719c99e295a5759b411b..37dd1188ae4028fccf53ce4bf28fcb1d12656b79 100644 (file)
@@ -1,13 +1,14 @@
+# TODO locale file
 Summary:       Bluetooth PIN manager for GNOME
 Summary(pl.UTF-8):     Zarządca kodów PIN Bluetootha dla GNOME
 Name:          bluez-gnome
-Version:       0.9
+Version:       0.25
 Release:       1
 License:       GPL v2+
 Group:         X11/Applications
 #Source0Download: http://www.bluez.org/download.html
 Source0:       http://bluez.sourceforge.net/download/%{name}-%{version}.tar.gz
-# Source0-md5: 1a6efed67cb0165e76582d3452b4148a
+# Source0-md5: 4acb0c83b351e4f36e88c6d775f15837
 URL:           http://www.bluez.org/
 BuildRequires: GConf2-devel >= 2.6
 BuildRequires: autoconf >= 2.50
@@ -18,10 +19,13 @@ BuildRequires:      gtk+2-devel >= 2:2.10.0
 BuildRequires: hal-devel >= 0.5.8
 BuildRequires: libnotify-devel >= 0.3.2
 BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.198
+BuildRequires: rpmbuild(macros) >= 1.311
 Requires(post,preun):  GConf2 >= 2.6
+Requires(post,postun): hicolor-icon-theme
+Requires(post,postun): shared-mime-info
 Requires:      dbus-glib >= 0.60
 Requires:      gtk+2 >= 2:2.10.0
+Suggests:      gnome-vfs-obexftp
 Obsoletes:     bluez-pin
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -45,11 +49,14 @@ informacji o parowaniu między sesjami.
 %setup -q
 
 %build
+%{__intltoolize}
 %{__aclocal}
 %{__automake}
 %{__autoheader}
 %{__autoconf}
-%configure
+%configure \
+       --disable-desktop-update \
+       --disable-mime-update
 %{__make}
 
 %install
@@ -57,7 +64,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       autostartdir=%{_datadir}/gnome/autostart
+       autostartdir=%{_sysconfdir}/xdg/autostart
 
 %find_lang bluetooth-manager
 
@@ -66,17 +73,31 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %gconf_schema_install bluetooth-manager.schemas
+%update_mime_database
+%update_icon_cache hicolor
 
 %preun
 %gconf_schema_uninstall bluetooth-manager.schemas
 
+%postun
+%update_mime_database
+%update_icon_cache hicolor
+
 %files -f bluetooth-manager.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_bindir}/bluetooth-analyzer
 %attr(755,root,root) %{_bindir}/bluetooth-applet
 %attr(755,root,root) %{_bindir}/bluetooth-properties
-%{_datadir}/gnome/autostart/bluetooth-applet.desktop
+%attr(755,root,root) %{_bindir}/bluetooth-sendto
+%{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop
 %{_desktopdir}/bluetooth-properties.desktop
 %{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas
+%{_mandir}/man1/bluetooth-analyzer.1*
 %{_mandir}/man1/bluetooth-applet.1*
 %{_mandir}/man1/bluetooth-properties.1*
+%{_mandir}/man1/bluetooth-sendto.1*
+%{_desktopdir}/bluetooth-analyzer.desktop
+%{_datadir}/mime/packages/*.xml
+%{_iconsdir}/hicolor/*/apps/bluetooth.png
+%{_iconsdir}/hicolor/*/apps/bluetooth.svg
This page took 0.031016 seconds and 4 git commands to generate.