]> git.pld-linux.org Git - packages/bluez-gnome.git/blobdiff - bluez-gnome.spec
- up to 0.14, NFY
[packages/bluez-gnome.git] / bluez-gnome.spec
index f212733de1aa18312f4ef11a905a2f9dd0750d04..4947d14d492cfe96f260c51bf3d46e52954f86f0 100644 (file)
@@ -1,17 +1,25 @@
 Summary:       Bluetooth PIN manager for GNOME
-Summary(pl):   Zarz±dca kodów PIN Bluetootha dla GNOME
+Summary(pl.UTF-8):     Zarządca kodów PIN Bluetootha dla GNOME
 Name:          bluez-gnome
-Version:       0.2
+Version:       0.14
 Release:       1
-License:       GPL
+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: 36e9b25d4afa841950afb0676ff376d5
+# Source0-md5: 7c4106e6932683c12c1e30bfb166c13d
 URL:           http://www.bluez.org/
+BuildRequires: GConf2-devel >= 2.6
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake
 BuildRequires: dbus-glib-devel >= 0.60
+BuildRequires: gettext-devel
 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
+Requires(post,preun):  GConf2 >= 2.6
 Requires:      dbus-glib >= 0.60
 Requires:      gtk+2 >= 2:2.10.0
 Obsoletes:     bluez-pin
@@ -25,18 +33,22 @@ to be entered. PINs can optionally be saved in a persistent database,
 for use with dumb devices that are unable to remember pairing
 information across sessions.
 
-%description -l pl
-Bardzo prosty program pilnuj±cy numerów PIN u¿ywanych do parowania
-urz±dzeñ Bluetooth. Kiedy wymagany jest PIN dla przychodz±cego lub
-wychodz±cego po³±czenia, pokazuje okienko umo¿liwiaj±ce wprowadzenie
-kodu. PIN-y opcjonalnie mog± byæ przechowywane w bazie danych do
-u¿ywania z prymitywnymi urz±dzeniami nie potrafi±cymi zapamiêtaæ
-informacji o parowaniu miêdzy sesjami.
+%description -l pl.UTF-8
+Bardzo prosty program pilnujący numerów PIN używanych do parowania
+urządzeń Bluetooth. Kiedy wymagany jest PIN dla przychodzącego lub
+wychodzącego połączenia, pokazuje okienko umożliwiające wprowadzenie
+kodu. PIN-y opcjonalnie mogą być przechowywane w bazie danych do
+używania z prymitywnymi urządzeniami nie potrafiącymi zapamiętać
+informacji o parowaniu między sesjami.
 
 %prep
 %setup -q
 
 %build
+%{__aclocal}
+%{__automake}
+%{__autoheader}
+%{__autoconf}
 %configure
 %{__make}
 
@@ -45,13 +57,29 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       autostartdir=%{_datadir}/gnome/autostart
+       autostartdir=%{_sysconfdir}/xdg/autostart
+
+%find_lang bluetooth-manager
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%post
+%gconf_schema_install bluetooth-manager.schemas
+
+%preun
+%gconf_schema_uninstall bluetooth-manager.schemas
+
+%files -f bluetooth-manager.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_bindir}/bt-applet
-%{_datadir}/gnome/autostart/bt-applet.desktop
+%doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_bindir}/bluetooth-applet
+%attr(755,root,root) %{_bindir}/bluetooth-properties
+%attr(755,root,root) %{_bindir}/bluetooth-analyzer
+%{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop
+%{_desktopdir}/bluetooth-properties.desktop
+%{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas
+%{_mandir}/man1/bluetooth-applet.1*
+%{_mandir}/man1/bluetooth-properties.1*
+%{_mandir}/man1/bluetooth-analyzer.1*
+%{_desktopdir}/bluetooth-analyzer.desktop
This page took 0.029888 seconds and 4 git commands to generate.