]> git.pld-linux.org Git - packages/bluez-pin.git/blob - bluez-pin.spec
- rel 2
[packages/bluez-pin.git] / bluez-pin.spec
1 Summary:        Bluetooth PIN manager
2 Summary(pl):    Zarz±dca kodów PIN dla Bluetooth
3 Name:           bluez-pin
4 Version:        0.26
5 Release:        2
6 License:        GPL
7 Group:          Applications
8 Source0:        ftp://gpe.handhelds.org/projects/gpe/source/%{name}-%{version}.tar.gz
9 # Source0-md5:  8d3b88c85908307935bcc10fcd9c2547
10 Patch0:         %{name}-pl.po-update.patch
11 Patch1:         %{name}-dbus.patch
12 URL:            http://gpe.handhelds.org/projects/bluez-pin.shtml
13 BuildRequires:  GConf2-devel >= 2.0.0
14 BuildRequires:  bluez-libs-devel
15 BuildRequires:  dbus-glib-devel >= 0.60
16 BuildRequires:  gettext-devel
17 BuildRequires:  gtk+2-devel >= 1:2.0.0
18 BuildRequires:  libglade2-devel >= 2.0.0
19 BuildRequires:  pkgconfig
20 BuildRequires:  sed >= 4.0
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This is a very simple program which takes care of the PIN numbers used
25 to pair Bluetooth devices. When a PIN is required for either an
26 incoming or outgoing connection, it pops up a window to allow the code
27 to be entered. PINs can optionally be saved in a persistent database,
28 for use with dumb devices that are unable to remember pairing
29 information across sessions.
30
31 %description -l pl
32 Bardzo prosty program pilnuj±cy numerów PIN u¿ywanych do parowania
33 urz±dzeñ Bluetooth. Kiedy wymagany jest PIN dla przychodz±cego lub
34 wychodz±cego po³±czenia, pokazuje okienko umo¿liwiaj±ce wprowadzenie
35 kodu. PIN-y opcjonalnie mog± byæ przechowywane w bazie danych do
36 u¿ywania z prymitywnymi urz±dzeniami nie potrafi±cymi zapamiêtaæ
37 informacji o parowaniu miêdzy sesjami.
38
39 %prep
40 %setup -q
41 %patch0 -p1
42 %patch1 -p1
43
44 sed -i -e 's/-O2 -g/%{rpmcflags}/' Makefile
45
46 %build
47 %{__make} \
48         CC="%{__cc}" \
49         PREFIX=%{_prefix}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT \
56         PREFIX=%{_prefix} \
57         SYSCONFDIR=%{_sysconfdir}
58
59 %find_lang %{name}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files -f %{name}.lang
65 %defattr(644,root,root,755)
66 %doc ChangeLog
67 %attr(755,root,root) %{_bindir}/bluez-pin
68 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dbus-1/system.d/bluez.conf
69 %{_pixmapsdir}/bt-logo.png
70 %{_datadir}/%{name}
This page took 0.038426 seconds and 3 git commands to generate.