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