]> git.pld-linux.org Git - packages/bluez-gnome.git/blame - bluez-gnome.spec
- 1.3
[packages/bluez-gnome.git] / bluez-gnome.spec
CommitLineData
c39e82d9 1# TODO locale file
16d17beb 2Summary: Bluetooth PIN manager for GNOME
a56cc5ab 3Summary(pl.UTF-8): Zarządca kodów PIN Bluetootha dla GNOME
16d17beb 4Name: bluez-gnome
f1b4b44a 5Version: 1.3
ac5858aa 6Release: 1
e4043c78 7License: GPL v2+
087ab353
JB
8Group: X11/Applications
9#Source0Download: http://www.bluez.org/download.html
ac5858aa 10Source0: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.gz
f1b4b44a
PZ
11# Source0-md5: dc824a04adcef5ee6567beb660cf5bcc
12Patch0: %{name}-desktop.patch
087ab353 13URL: http://www.bluez.org/
ae1e90a8 14BuildRequires: GConf2-devel >= 2.6
e4043c78 15BuildRequires: autoconf >= 2.50
4cbcb1d1 16BuildRequires: automake
087ab353 17BuildRequires: dbus-glib-devel >= 0.60
e4043c78 18BuildRequires: gettext-devel
ae1e90a8 19BuildRequires: gtk+2-devel >= 2:2.10.0
e4043c78 20BuildRequires: hal-devel >= 0.5.8
ae1e90a8 21BuildRequires: libnotify-devel >= 0.3.2
087ab353 22BuildRequires: pkgconfig
9caa5ed1 23BuildRequires: rpmbuild(macros) >= 1.311
e4043c78 24Requires(post,preun): GConf2 >= 2.6
261e6a6e 25Requires(post,postun): hicolor-icon-theme
9caa5ed1 26Requires(post,postun): shared-mime-info
f1e34873 27Requires: dbus-glib >= 0.60
ae1e90a8 28Requires: gtk+2 >= 2:2.10.0
e260cdfa 29Requires: obex-data-server >= 0.3
e47ffb42 30Suggests: gnome-vfs-obexftp
087ab353 31Obsoletes: bluez-pin
00596cc7 32Obsoletes: gnome-bluetooth
16d17beb 33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
36This is a very simple program which takes care of the PIN numbers used
37to pair Bluetooth devices. When a PIN is required for either an
38incoming or outgoing connection, it pops up a window to allow the code
39to be entered. PINs can optionally be saved in a persistent database,
40for use with dumb devices that are unable to remember pairing
41information across sessions.
42
5656450b
JR
43%description -l pl.UTF-8
44Bardzo prosty program pilnujący numerów PIN używanych do parowania
45urządzeń Bluetooth. Kiedy wymagany jest PIN dla przychodzącego lub
46wychodzącego połączenia, pokazuje okienko umożliwiające wprowadzenie
47kodu. PIN-y opcjonalnie mogą być przechowywane w bazie danych do
48używania z prymitywnymi urządzeniami nie potrafiącymi zapamiętać
49informacji o parowaniu między sesjami.
16d17beb 50
51%prep
52%setup -q
f1b4b44a 53%patch0 -p1
16d17beb 54
55%build
c39e82d9 56%{__intltoolize}
4cbcb1d1 57%{__aclocal}
58%{__automake}
e4043c78 59%{__autoheader}
4cbcb1d1 60%{__autoconf}
c39e82d9 61%configure \
53732a14
JB
62 --disable-desktop-update \
63 --disable-mime-update
16d17beb 64%{__make}
65
66%install
67rm -rf $RPM_BUILD_ROOT
68
69%{__make} install \
70 DESTDIR=$RPM_BUILD_ROOT \
4fa2d98c 71 autostartdir=%{_sysconfdir}/xdg/autostart
16d17beb 72
6b090baf 73# error: bluez-gnome-0.28-1: req /usr/share/locale/mus/LC_MESSAGES not found
74rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/mus/LC_MESSAGES
75
e4043c78
JB
76%find_lang bluetooth-manager
77
16d17beb 78%clean
79rm -rf $RPM_BUILD_ROOT
80
e4043c78
JB
81%post
82%gconf_schema_install bluetooth-manager.schemas
c39e82d9 83%update_mime_database
261e6a6e 84%update_icon_cache hicolor
e4043c78
JB
85
86%preun
87%gconf_schema_uninstall bluetooth-manager.schemas
88
c39e82d9
MWP
89%postun
90%update_mime_database
261e6a6e 91%update_icon_cache hicolor
c39e82d9 92
e4043c78 93%files -f bluetooth-manager.lang
16d17beb 94%defattr(644,root,root,755)
e4043c78 95%doc AUTHORS ChangeLog README
261e6a6e 96%attr(755,root,root) %{_bindir}/bluetooth-analyzer
4cbcb1d1 97%attr(755,root,root) %{_bindir}/bluetooth-applet
98%attr(755,root,root) %{_bindir}/bluetooth-properties
261e6a6e 99%attr(755,root,root) %{_bindir}/bluetooth-sendto
ac5858aa 100%attr(755,root,root) %{_bindir}/bluetooth-wizard
4fa2d98c 101%{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop
4cbcb1d1 102%{_desktopdir}/bluetooth-properties.desktop
e4043c78 103%{_sysconfdir}/gconf/schemas/bluetooth-manager.schemas
261e6a6e 104%{_mandir}/man1/bluetooth-analyzer.1*
e4043c78
JB
105%{_mandir}/man1/bluetooth-applet.1*
106%{_mandir}/man1/bluetooth-properties.1*
261e6a6e 107%{_mandir}/man1/bluetooth-sendto.1*
ac5858aa 108%{_mandir}/man1/bluetooth-wizard.1*
4fa2d98c 109%{_desktopdir}/bluetooth-analyzer.desktop
9caa5ed1 110%{_datadir}/mime/packages/*.xml
261e6a6e
PZ
111%{_iconsdir}/hicolor/*/apps/bluetooth.png
112%{_iconsdir}/hicolor/*/apps/bluetooth.svg
This page took 0.460769 seconds and 4 git commands to generate.