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