]>
Commit | Line | Data |
---|---|---|
1 | # TODO locale file | |
2 | Summary: Bluetooth PIN manager for GNOME | |
3 | Summary(pl.UTF-8): Zarządca kodów PIN Bluetootha dla GNOME | |
4 | Name: bluez-gnome | |
5 | Version: 0.14 | |
6 | Release: 1 | |
7 | License: GPL v2+ | |
8 | Group: X11/Applications | |
9 | #Source0Download: http://www.bluez.org/download.html | |
10 | Source0: http://bluez.sourceforge.net/download/%{name}-%{version}.tar.gz | |
11 | # Source0-md5: 7c4106e6932683c12c1e30bfb166c13d | |
12 | URL: http://www.bluez.org/ | |
13 | BuildRequires: GConf2-devel >= 2.6 | |
14 | BuildRequires: autoconf >= 2.50 | |
15 | BuildRequires: automake | |
16 | BuildRequires: dbus-glib-devel >= 0.60 | |
17 | BuildRequires: gettext-devel | |
18 | BuildRequires: gtk+2-devel >= 2:2.10.0 | |
19 | BuildRequires: hal-devel >= 0.5.8 | |
20 | BuildRequires: libnotify-devel >= 0.3.2 | |
21 | BuildRequires: pkgconfig | |
22 | BuildRequires: rpmbuild(macros) >= 1.311 | |
23 | Requires(post,preun): GConf2 >= 2.6 | |
24 | Requires(post,postun): shared-mime-info | |
25 | Requires: dbus-glib >= 0.60 | |
26 | Requires: gtk+2 >= 2:2.10.0 | |
27 | Suggests: gnome-vfs-obexftp | |
28 | Obsoletes: bluez-pin | |
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 | ||
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. | |
46 | ||
47 | %prep | |
48 | %setup -q | |
49 | ||
50 | %build | |
51 | %{__intltoolize} | |
52 | %{__aclocal} | |
53 | %{__automake} | |
54 | %{__autoheader} | |
55 | %{__autoconf} | |
56 | %configure \ | |
57 | --disable-desktop-update \ | |
58 | --disable-mime-update | |
59 | %{__make} | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %{__make} install \ | |
65 | DESTDIR=$RPM_BUILD_ROOT \ | |
66 | autostartdir=%{_sysconfdir}/xdg/autostart | |
67 | ||
68 | %find_lang bluetooth-manager | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %post | |
74 | %gconf_schema_install bluetooth-manager.schemas | |
75 | %update_mime_database | |
76 | ||
77 | %preun | |
78 | %gconf_schema_uninstall bluetooth-manager.schemas | |
79 | ||
80 | %postun | |
81 | %update_mime_database | |
82 | ||
83 | %files -f bluetooth-manager.lang | |
84 | %defattr(644,root,root,755) | |
85 | %doc AUTHORS ChangeLog README | |
86 | %attr(755,root,root) %{_bindir}/bluetooth-applet | |
87 | %attr(755,root,root) %{_bindir}/bluetooth-properties | |
88 | %attr(755,root,root) %{_bindir}/bluetooth-analyzer | |
89 | %{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop | |
90 | %{_desktopdir}/bluetooth-properties.desktop | |
91 | %{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas | |
92 | %{_mandir}/man1/bluetooth-applet.1* | |
93 | %{_mandir}/man1/bluetooth-properties.1* | |
94 | %{_mandir}/man1/bluetooth-analyzer.1* | |
95 | %{_desktopdir}/bluetooth-analyzer.desktop | |
96 | %{_datadir}/mime/packages/*.xml |