]>
Commit | Line | Data |
---|---|---|
c39e82d9 | 1 | # TODO locale file |
16d17beb | 2 | Summary: Bluetooth PIN manager for GNOME |
a56cc5ab | 3 | Summary(pl.UTF-8): Zarządca kodów PIN Bluetootha dla GNOME |
16d17beb | 4 | Name: bluez-gnome |
fff7fac2 MWP |
5 | Version: 0.14 |
6 | Release: 1 | |
e4043c78 | 7 | License: GPL v2+ |
087ab353 JB |
8 | Group: X11/Applications |
9 | #Source0Download: http://www.bluez.org/download.html | |
16d17beb | 10 | Source0: http://bluez.sourceforge.net/download/%{name}-%{version}.tar.gz |
fff7fac2 | 11 | # Source0-md5: 7c4106e6932683c12c1e30bfb166c13d |
087ab353 | 12 | URL: http://www.bluez.org/ |
ae1e90a8 | 13 | BuildRequires: GConf2-devel >= 2.6 |
e4043c78 | 14 | BuildRequires: autoconf >= 2.50 |
4cbcb1d1 | 15 | BuildRequires: automake |
087ab353 | 16 | BuildRequires: dbus-glib-devel >= 0.60 |
e4043c78 | 17 | BuildRequires: gettext-devel |
ae1e90a8 | 18 | BuildRequires: gtk+2-devel >= 2:2.10.0 |
e4043c78 | 19 | BuildRequires: hal-devel >= 0.5.8 |
ae1e90a8 | 20 | BuildRequires: libnotify-devel >= 0.3.2 |
087ab353 | 21 | BuildRequires: pkgconfig |
9caa5ed1 | 22 | BuildRequires: rpmbuild(macros) >= 1.311 |
e4043c78 | 23 | Requires(post,preun): GConf2 >= 2.6 |
9caa5ed1 | 24 | Requires(post,postun): shared-mime-info |
f1e34873 | 25 | Requires: dbus-glib >= 0.60 |
ae1e90a8 | 26 | Requires: gtk+2 >= 2:2.10.0 |
e47ffb42 | 27 | Suggests: gnome-vfs-obexftp |
087ab353 | 28 | Obsoletes: bluez-pin |
16d17beb | 29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30 | ||
31 | %description | |
32 | This is a very simple program which takes care of the PIN numbers used | |
33 | to pair Bluetooth devices. When a PIN is required for either an | |
34 | incoming or outgoing connection, it pops up a window to allow the code | |
35 | to be entered. PINs can optionally be saved in a persistent database, | |
36 | for use with dumb devices that are unable to remember pairing | |
37 | information across sessions. | |
38 | ||
5656450b JR |
39 | %description -l pl.UTF-8 |
40 | Bardzo prosty program pilnujący numerów PIN używanych do parowania | |
41 | urządzeń Bluetooth. Kiedy wymagany jest PIN dla przychodzącego lub | |
42 | wychodzącego połączenia, pokazuje okienko umożliwiające wprowadzenie | |
43 | kodu. PIN-y opcjonalnie mogą być przechowywane w bazie danych do | |
44 | używania z prymitywnymi urządzeniami nie potrafiącymi zapamiętać | |
45 | informacji o parowaniu między sesjami. | |
16d17beb | 46 | |
47 | %prep | |
48 | %setup -q | |
49 | ||
50 | %build | |
c39e82d9 | 51 | %{__intltoolize} |
4cbcb1d1 | 52 | %{__aclocal} |
53 | %{__automake} | |
e4043c78 | 54 | %{__autoheader} |
4cbcb1d1 | 55 | %{__autoconf} |
c39e82d9 | 56 | %configure \ |
53732a14 JB |
57 | --disable-desktop-update \ |
58 | --disable-mime-update | |
16d17beb | 59 | %{__make} |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %{__make} install \ | |
65 | DESTDIR=$RPM_BUILD_ROOT \ | |
4fa2d98c | 66 | autostartdir=%{_sysconfdir}/xdg/autostart |
16d17beb | 67 | |
e4043c78 JB |
68 | %find_lang bluetooth-manager |
69 | ||
16d17beb | 70 | %clean |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
e4043c78 JB |
73 | %post |
74 | %gconf_schema_install bluetooth-manager.schemas | |
c39e82d9 | 75 | %update_mime_database |
e4043c78 JB |
76 | |
77 | %preun | |
78 | %gconf_schema_uninstall bluetooth-manager.schemas | |
79 | ||
c39e82d9 MWP |
80 | %postun |
81 | %update_mime_database | |
82 | ||
e4043c78 | 83 | %files -f bluetooth-manager.lang |
16d17beb | 84 | %defattr(644,root,root,755) |
e4043c78 | 85 | %doc AUTHORS ChangeLog README |
4cbcb1d1 | 86 | %attr(755,root,root) %{_bindir}/bluetooth-applet |
87 | %attr(755,root,root) %{_bindir}/bluetooth-properties | |
4fa2d98c MWP |
88 | %attr(755,root,root) %{_bindir}/bluetooth-analyzer |
89 | %{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop | |
4cbcb1d1 | 90 | %{_desktopdir}/bluetooth-properties.desktop |
e4043c78 JB |
91 | %{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas |
92 | %{_mandir}/man1/bluetooth-applet.1* | |
93 | %{_mandir}/man1/bluetooth-properties.1* | |
4fa2d98c MWP |
94 | %{_mandir}/man1/bluetooth-analyzer.1* |
95 | %{_desktopdir}/bluetooth-analyzer.desktop | |
9caa5ed1 | 96 | %{_datadir}/mime/packages/*.xml |