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