1 |
Summary: Bluetooth PIN GUI |
2 |
Name: bluez-pin |
3 |
Version: 0.30 |
4 |
Release: %mkrel 21 |
5 |
Url: https://www.bluez.org/ |
6 |
License: GPLv2+ |
7 |
Group: Communications/Bluetooth |
8 |
Source0: ftp://gpe.handhelds.org/projects/gpe/source/%{name}-%{version}.tar.bz2 |
9 |
|
10 |
BuildRequires: imagemagick |
11 |
BuildRequires: gtk2-devel |
12 |
BuildRequires: pkgconfig(libglade-2.0) |
13 |
BuildRequires: pkgconfig(gconf-2.0) |
14 |
BuildRequires: pkgconfig(bluez) |
15 |
BuildRequires: pkgconfig(dbus-glib-1) >= 0.50 |
16 |
BuildRequires: perl(XML::Parser) |
17 |
|
18 |
%description |
19 |
A GTK+ helper app for entering a Bluetooth PIN. |
20 |
|
21 |
%prep |
22 |
%setup -q |
23 |
|
24 |
%build |
25 |
%configure |
26 |
make |
27 |
|
28 |
%install |
29 |
%make_install |
30 |
|
31 |
%post |
32 |
update-alternatives --install /bin/bluepin bluepin /usr/bin/bluez-pin 10 |
33 |
|
34 |
%postun |
35 |
[ $1 != 0 ] && exit 0 |
36 |
update-alternatives --remove bluepin /usr/bin/bluez-pin |
37 |
|
38 |
%files |
39 |
%doc ChangeLog |
40 |
%_bindir/%name |
41 |
%config %_sysconfdir/dbus*/* |
42 |
%_datadir/pixmaps/* |
43 |
%_datadir/%name |