]>
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 |
ac5858aa AM |
5 | Version: 1.2 |
6 | Release: 1 | |
e4043c78 | 7 | License: GPL v2+ |
087ab353 JB |
8 | Group: X11/Applications |
9 | #Source0Download: http://www.bluez.org/download.html | |
ac5858aa AM |
10 | Source0: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.gz |
11 | # Source0-md5: 645fdd6bc201fc54984da87cbefe3f70 | |
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 |
261e6a6e | 24 | Requires(post,postun): hicolor-icon-theme |
9caa5ed1 | 25 | Requires(post,postun): shared-mime-info |
f1e34873 | 26 | Requires: dbus-glib >= 0.60 |
ae1e90a8 | 27 | Requires: gtk+2 >= 2:2.10.0 |
e260cdfa | 28 | Requires: obex-data-server >= 0.3 |
e47ffb42 | 29 | Suggests: gnome-vfs-obexftp |
087ab353 | 30 | Obsoletes: bluez-pin |
00596cc7 | 31 | Obsoletes: gnome-bluetooth |
16d17beb | 32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33 | ||
34 | %description | |
35 | This is a very simple program which takes care of the PIN numbers used | |
36 | to pair Bluetooth devices. When a PIN is required for either an | |
37 | incoming or outgoing connection, it pops up a window to allow the code | |
38 | to be entered. PINs can optionally be saved in a persistent database, | |
39 | for use with dumb devices that are unable to remember pairing | |
40 | information across sessions. | |
41 | ||
5656450b JR |
42 | %description -l pl.UTF-8 |
43 | Bardzo prosty program pilnujący numerów PIN używanych do parowania | |
44 | urządzeń Bluetooth. Kiedy wymagany jest PIN dla przychodzącego lub | |
45 | wychodzącego połączenia, pokazuje okienko umożliwiające wprowadzenie | |
46 | kodu. PIN-y opcjonalnie mogą być przechowywane w bazie danych do | |
47 | używania z prymitywnymi urządzeniami nie potrafiącymi zapamiętać | |
48 | informacji o parowaniu między sesjami. | |
16d17beb | 49 | |
50 | %prep | |
51 | %setup -q | |
52 | ||
53 | %build | |
c39e82d9 | 54 | %{__intltoolize} |
4cbcb1d1 | 55 | %{__aclocal} |
56 | %{__automake} | |
e4043c78 | 57 | %{__autoheader} |
4cbcb1d1 | 58 | %{__autoconf} |
c39e82d9 | 59 | %configure \ |
53732a14 JB |
60 | --disable-desktop-update \ |
61 | --disable-mime-update | |
16d17beb | 62 | %{__make} |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT \ | |
4fa2d98c | 69 | autostartdir=%{_sysconfdir}/xdg/autostart |
16d17beb | 70 | |
6b090baf | 71 | # error: bluez-gnome-0.28-1: req /usr/share/locale/mus/LC_MESSAGES not found |
72 | rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/mus/LC_MESSAGES | |
73 | ||
e4043c78 JB |
74 | %find_lang bluetooth-manager |
75 | ||
16d17beb | 76 | %clean |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
e4043c78 JB |
79 | %post |
80 | %gconf_schema_install bluetooth-manager.schemas | |
c39e82d9 | 81 | %update_mime_database |
261e6a6e | 82 | %update_icon_cache hicolor |
e4043c78 JB |
83 | |
84 | %preun | |
85 | %gconf_schema_uninstall bluetooth-manager.schemas | |
86 | ||
c39e82d9 MWP |
87 | %postun |
88 | %update_mime_database | |
261e6a6e | 89 | %update_icon_cache hicolor |
c39e82d9 | 90 | |
e4043c78 | 91 | %files -f bluetooth-manager.lang |
16d17beb | 92 | %defattr(644,root,root,755) |
e4043c78 | 93 | %doc AUTHORS ChangeLog README |
261e6a6e | 94 | %attr(755,root,root) %{_bindir}/bluetooth-analyzer |
4cbcb1d1 | 95 | %attr(755,root,root) %{_bindir}/bluetooth-applet |
96 | %attr(755,root,root) %{_bindir}/bluetooth-properties | |
261e6a6e | 97 | %attr(755,root,root) %{_bindir}/bluetooth-sendto |
ac5858aa | 98 | %attr(755,root,root) %{_bindir}/bluetooth-wizard |
4fa2d98c | 99 | %{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop |
4cbcb1d1 | 100 | %{_desktopdir}/bluetooth-properties.desktop |
e4043c78 | 101 | %{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas |
261e6a6e | 102 | %{_mandir}/man1/bluetooth-analyzer.1* |
e4043c78 JB |
103 | %{_mandir}/man1/bluetooth-applet.1* |
104 | %{_mandir}/man1/bluetooth-properties.1* | |
261e6a6e | 105 | %{_mandir}/man1/bluetooth-sendto.1* |
ac5858aa | 106 | %{_mandir}/man1/bluetooth-wizard.1* |
4fa2d98c | 107 | %{_desktopdir}/bluetooth-analyzer.desktop |
9caa5ed1 | 108 | %{_datadir}/mime/packages/*.xml |
261e6a6e PZ |
109 | %{_iconsdir}/hicolor/*/apps/bluetooth.png |
110 | %{_iconsdir}/hicolor/*/apps/bluetooth.svg |