- updated gettext BR
[packages/blueman.git] / blueman.spec
CommitLineData
26a66f4f
ER
1# TODO
2# unpackaged
3# /usr/lib/nautilus-sendto/plugins/libnstblueman.a
4# /usr/lib/nautilus-sendto/plugins/libnstblueman.la
5# /usr/lib/nautilus-sendto/plugins/libnstblueman.so
5cc4ce65
MWP
6Summary: Blueman - bluetooth management utility for GNOME
7Name: blueman
26a66f4f 8Version: 1.23
b8c4aac2 9Release: 3
3c7b0773 10License: GPL
5cc4ce65 11Group: Applications
fb1a0cdd 12Source0: http://download.tuxfamily.org/blueman/%{name}-%{version}.tar.gz
26a66f4f 13# Source0-md5: f0bee59589f4c23e35bf08c2ef8acaef
b8c4aac2
JR
14Patch0: missing-icons.patch
15Patch1: icon-active.patch
5cc4ce65
MWP
16URL: http://blueman.tuxfamily.org/
17BuildRequires: bluez-libs-devel
15e75860 18BuildRequires: gettext-tools
5cc4ce65 19BuildRequires: gnome-bluetooth-devel
e84511d9 20BuildRequires: intltool
b8c4aac2 21BuildRequires: librsvg
44d265e7 22BuildRequires: pkgconfig
5cc4ce65 23BuildRequires: python-Pyrex
fb1a0cdd 24BuildRequires: python-dbus-devel
5cc4ce65
MWP
25BuildRequires: python-devel >= 2.5
26BuildRequires: python-distutils-extra
3d942288 27BuildRequires: python-pynotify-devel
5cc4ce65 28BuildRequires: rpm-pythonprov
c6c66b9e 29BuildRequires: startup-notification-devel
f0242065
AF
30Requires(post,postun): gtk-update-icon-cache
31Requires(post,postun): hicolor-icon-theme
1d6da7c9
MWP
32Requires: bluez-libs >= 4.25
33Requires: bluez-utils >= 4.25
5cc4ce65 34Requires: gtk+2 >= 2.12
11ad311c
TP
35%pyrequires_eq python = %py_ver
36Requires: python-bluetooth
37Requires: python-dbus
38Requires: python-pygtk-gtk
39Requires: python-pynotify
5cc4ce65
MWP
40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42%description
43Blueman is a GTK+ bluetooth management utility for GNOME using bluez
44dbus backend. The aim is to create a full featured graphical bluetooth
45manager for Linux.
46
47Features:
48
49- Easy to use interface
50- Storing Favourite devices
51- Send files
52- Browse files on devices
53- List all seen devices
54- View Local/Remote Device information
55- View transfer speeds and link quality
56- Configure local devices
57- Manage Pairing (Bonding)
58- Host/Connect to Personal Area Networks
59- Bind services to /dev/rfcomm ports, for eg. connecting via gprs
60- Connect and receive connections from: audio, network, input and
61 serial devices
62
63%prep
fb1a0cdd 64%setup -q
ad01613c 65%patch0 -p1
b8c4aac2 66%patch1 -p1
5cc4ce65
MWP
67
68%build
0348fefb
JR
69%configure \
70 --disable-hal
71
fb1a0cdd 72%{__make}
5cc4ce65
MWP
73
74%install
75rm -rf $RPM_BUILD_ROOT
76
fb1a0cdd 77%{__make} install \
11ad311c 78 DESTDIR=$RPM_BUILD_ROOT
5cc4ce65 79
b8c4aac2
JR
80for s in 16 32 48 ; do
81 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${s}x${s}/status
82 rsvg-convert -w $s -h $s -o $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${s}x${s}/status/blueman-tray.png \
83 data/icons/hicolor/scalable/status/blueman-tray.svg
84 rsvg-convert -w $s -h $s -o $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${s}x${s}/status/blueman-tray-active.png \
85 data/icons/hicolor/scalable/status/blueman-tray-active.svg
86 rsvg-convert -w $s -h $s -o $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${s}x${s}/status/blueman-tray-disabled.png \
87 data/icons/hicolor/scalable/status/blueman-tray-disabled.svg
88done
89install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/scalable/status
90install data/icons/hicolor/scalable/status/*.svg $RPM_BUILD_ROOT%{_iconsdir}/hicolor/scalable/status
91
5cc4ce65
MWP
92%find_lang %{name} --with-gnome
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
8235d8ec 97%post
98%update_icon_cache hicolor
99
100%postun
101%update_icon_cache hicolor
102
5cc4ce65
MWP
103%files -f %{name}.lang
104%defattr(644,root,root,755)
105%doc README
fb1a0cdd
MWP
106%config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.blueman.Mechanism.conf
107%attr(755,root,root) %{_libdir}/%{name}-mechanism
5cc4ce65
MWP
108%attr(755,root,root) %{_bindir}/*
109%{_datadir}/%{name}
110%{_datadir}/dbus-1/system-services/org.blueman.Mechanism.service
7e0fad4e 111%{_iconsdir}/hicolor/scalable/*/*.svg
b8c4aac2 112%{_iconsdir}/hicolor/*/*/*.png
c6c66b9e 113%{_datadir}/polkit-1/actions/org.blueman.policy
fb1a0cdd
MWP
114%{_desktopdir}/blueman-manager.desktop
115%{py_sitedir}/*.so
116%{py_sitedir}/*.a
117%{py_sitedir}/*.la
118%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/autostart/blueman.desktop
119%{_mandir}/man1/*.1*
120%{_datadir}/dbus-1/services/blueman-applet.service
fb1a0cdd 121%{py_sitescriptdir}/%{name}
This page took 0.09695 seconds and 4 git commands to generate.