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