]> git.pld-linux.org Git - packages/bluez-gnome.git/blob - bluez-gnome.spec
- 0.25
[packages/bluez-gnome.git] / bluez-gnome.spec
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.25
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:  4acb0c83b351e4f36e88c6d775f15837
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):  hicolor-icon-theme
25 Requires(post,postun):  shared-mime-info
26 Requires:       dbus-glib >= 0.60
27 Requires:       gtk+2 >= 2:2.10.0
28 Suggests:       gnome-vfs-obexftp
29 Obsoletes:      bluez-pin
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 This is a very simple program which takes care of the PIN numbers used
34 to pair Bluetooth devices. When a PIN is required for either an
35 incoming or outgoing connection, it pops up a window to allow the code
36 to be entered. PINs can optionally be saved in a persistent database,
37 for use with dumb devices that are unable to remember pairing
38 information across sessions.
39
40 %description -l pl.UTF-8
41 Bardzo prosty program pilnujący numerów PIN używanych do parowania
42 urządzeń Bluetooth. Kiedy wymagany jest PIN dla przychodzącego lub
43 wychodzącego połączenia, pokazuje okienko umożliwiające wprowadzenie
44 kodu. PIN-y opcjonalnie mogą być przechowywane w bazie danych do
45 używania z prymitywnymi urządzeniami nie potrafiącymi zapamiętać
46 informacji o parowaniu między sesjami.
47
48 %prep
49 %setup -q
50
51 %build
52 %{__intltoolize}
53 %{__aclocal}
54 %{__automake}
55 %{__autoheader}
56 %{__autoconf}
57 %configure \
58         --disable-desktop-update \
59         --disable-mime-update
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT \
67         autostartdir=%{_sysconfdir}/xdg/autostart
68
69 %find_lang bluetooth-manager
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post
75 %gconf_schema_install bluetooth-manager.schemas
76 %update_mime_database
77 %update_icon_cache hicolor
78
79 %preun
80 %gconf_schema_uninstall bluetooth-manager.schemas
81
82 %postun
83 %update_mime_database
84 %update_icon_cache hicolor
85
86 %files -f bluetooth-manager.lang
87 %defattr(644,root,root,755)
88 %doc AUTHORS ChangeLog README
89 %attr(755,root,root) %{_bindir}/bluetooth-analyzer
90 %attr(755,root,root) %{_bindir}/bluetooth-applet
91 %attr(755,root,root) %{_bindir}/bluetooth-properties
92 %attr(755,root,root) %{_bindir}/bluetooth-sendto
93 %{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop
94 %{_desktopdir}/bluetooth-properties.desktop
95 %{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas
96 %{_mandir}/man1/bluetooth-analyzer.1*
97 %{_mandir}/man1/bluetooth-applet.1*
98 %{_mandir}/man1/bluetooth-properties.1*
99 %{_mandir}/man1/bluetooth-sendto.1*
100 %{_desktopdir}/bluetooth-analyzer.desktop
101 %{_datadir}/mime/packages/*.xml
102 %{_iconsdir}/hicolor/*/apps/bluetooth.png
103 %{_iconsdir}/hicolor/*/apps/bluetooth.svg
This page took 0.124829 seconds and 3 git commands to generate.