]> git.pld-linux.org Git - packages/bluez-gnome.git/blob - bluez-gnome.spec
- error: bluez-gnome-0.28-1: req /usr/share/locale/mus/LC_MESSAGES not found
[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.28
6 Release:        2
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:  f2afcb04e998fdc6aa545633190bc941
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 Requires:       obex-data-server >= 0.3
29 Suggests:       gnome-vfs-obexftp
30 Obsoletes:      bluez-pin
31 Obsoletes:      gnome-bluetooth
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
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.
49
50 %prep
51 %setup -q
52
53 %build
54 %{__intltoolize}
55 %{__aclocal}
56 %{__automake}
57 %{__autoheader}
58 %{__autoconf}
59 %configure \
60         --disable-desktop-update \
61         --disable-mime-update
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT \
69         autostartdir=%{_sysconfdir}/xdg/autostart
70
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
74 %find_lang bluetooth-manager
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post
80 %gconf_schema_install bluetooth-manager.schemas
81 %update_mime_database
82 %update_icon_cache hicolor
83
84 %preun
85 %gconf_schema_uninstall bluetooth-manager.schemas
86
87 %postun
88 %update_mime_database
89 %update_icon_cache hicolor
90
91 %files -f bluetooth-manager.lang
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog README
94 %attr(755,root,root) %{_bindir}/bluetooth-analyzer
95 %attr(755,root,root) %{_bindir}/bluetooth-applet
96 %attr(755,root,root) %{_bindir}/bluetooth-properties
97 %attr(755,root,root) %{_bindir}/bluetooth-sendto
98 %{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop
99 %{_desktopdir}/bluetooth-properties.desktop
100 %{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas
101 %{_mandir}/man1/bluetooth-analyzer.1*
102 %{_mandir}/man1/bluetooth-applet.1*
103 %{_mandir}/man1/bluetooth-properties.1*
104 %{_mandir}/man1/bluetooth-sendto.1*
105 %{_desktopdir}/bluetooth-analyzer.desktop
106 %{_datadir}/mime/packages/*.xml
107 %{_iconsdir}/hicolor/*/apps/bluetooth.png
108 %{_iconsdir}/hicolor/*/apps/bluetooth.svg
This page took 0.062811 seconds and 3 git commands to generate.