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