1 | Summary: Full featured bluetooth manager for GNOME/GTK |
---|
2 | Summary(ja): GNOME/GTK 用の高機能な Bluetooth マネージャ |
---|
3 | |
---|
4 | Name: blueman |
---|
5 | Version: 2.0.1 |
---|
6 | Release: 2%{?_dist_release} |
---|
7 | License: GPLv2+ |
---|
8 | Group: Applications/System |
---|
9 | Url: https://github.com/blueman-project/blueman |
---|
10 | |
---|
11 | Source0: https://github.com/blueman-project/blueman/releases/download/2.0/%{name}-%{version}.tar.xz |
---|
12 | |
---|
13 | Buildroot: %{_tmppath}/%{name}-%{version} |
---|
14 | BuildRequires: desktop-file-utils |
---|
15 | BuildRequires: perl(XML::Parser) |
---|
16 | BuildRequires: glib2-devel |
---|
17 | BuildRequires: gtk2-devel |
---|
18 | BuildRequires: pygtk2-devel |
---|
19 | BuildRequires: polkit-devel |
---|
20 | BuildRequires: intltool |
---|
21 | BuildRequires: startup-notification-devel |
---|
22 | BuildRequires: pygobject3-devel |
---|
23 | BuildRequires: Cython |
---|
24 | BuildRequires: notify-python |
---|
25 | BuildRequires: bluez-libs-devel >= 4.37 |
---|
26 | BuildRequires: python-devel |
---|
27 | BuildRequires: python-pyrex |
---|
28 | BuildRequires: dbus-python |
---|
29 | Requires: bluez |
---|
30 | Requires: obex-data-server |
---|
31 | Requires: notify-python |
---|
32 | Requires: pygtk2 |
---|
33 | Requires: dbus-python |
---|
34 | Requires: pygobject3 |
---|
35 | Requires: Cython |
---|
36 | Requires: polkit |
---|
37 | Requires(postun,posttrans): glib2 |
---|
38 | Requires(post,postun): desktop-file-utils |
---|
39 | Requires(post,postun): gtk2 |
---|
40 | |
---|
41 | Provides: dbus-bluez-pin-helper |
---|
42 | |
---|
43 | Obsoletes: bluez-gnome < 1.9 |
---|
44 | |
---|
45 | Vendor: Project Vine |
---|
46 | Distribution: Vine Linux |
---|
47 | Packager: daisuke |
---|
48 | |
---|
49 | |
---|
50 | %description |
---|
51 | Blueman is designed to provide simple, yet effective means for |
---|
52 | controlling BlueZ API and simplifying bluetooth tasks such as: |
---|
53 | |
---|
54 | * Connecting to 3G/EDGE/GPRS via dial-up |
---|
55 | * Connecting to/Creating bluetooth networks |
---|
56 | * Connecting to input devices |
---|
57 | * Connecting to audio devices |
---|
58 | * Sending/Receiving/Browsing files via OBEX |
---|
59 | * Pairing |
---|
60 | |
---|
61 | Blueman also integrates with Network Manager 0.7, so any Dialup/Network |
---|
62 | connections will be made available (via HAL) to Network Manager. |
---|
63 | |
---|
64 | %prep |
---|
65 | %setup -q |
---|
66 | |
---|
67 | %build |
---|
68 | %configure --disable-desktop-update --disable-icon-update --disable-schemas-install |
---|
69 | %__make %{?_smp_mflags} |
---|
70 | |
---|
71 | %install |
---|
72 | rm -rf %{buildroot} |
---|
73 | %__make install DESTDIR=${RPM_BUILD_ROOT} |
---|
74 | |
---|
75 | desktop-file-install --vendor="" \ |
---|
76 | --add-category="GNOME;GTK" \ |
---|
77 | --add-category="Settings;HardwareSettings" \ |
---|
78 | --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/%{name}-manager.desktop |
---|
79 | |
---|
80 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
81 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
82 | |
---|
83 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} |
---|
84 | |
---|
85 | %find_lang %{name} |
---|
86 | |
---|
87 | %clean |
---|
88 | rm -rf %{buildroot} |
---|
89 | |
---|
90 | %post |
---|
91 | update-desktop-database %{_datadir}/applications >& /dev/null || : |
---|
92 | touch --no-create %{_datadir}/icons/hicolor |
---|
93 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
94 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
95 | fi |
---|
96 | |
---|
97 | %postun |
---|
98 | update-desktop-database %{_datadir}/applications >& /dev/null || : |
---|
99 | touch --no-create %{_datadir}/icons/hicolor |
---|
100 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
101 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
102 | fi |
---|
103 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
104 | |
---|
105 | %posttrans |
---|
106 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
107 | |
---|
108 | |
---|
109 | %files -f %{name}.lang |
---|
110 | %doc CHANGELOG.md COPYING FAQ README.md |
---|
111 | %defattr(-,root,root) |
---|
112 | %{_sysconfdir}/dbus-1/system.d/org.%{name}*.conf |
---|
113 | %{_sysconfdir}/xdg/autostart/%{name}.desktop |
---|
114 | %{_bindir}/%{name}-* |
---|
115 | %{_datadir}/Thunar/sendto/thunar-sendto-%{name}.desktop |
---|
116 | %{_datadir}/applications/%{name}-adapters.desktop |
---|
117 | %{_datadir}/applications/%{name}-manager.desktop |
---|
118 | %{_datadir}/%{name}/ui/*.ui |
---|
119 | %{_datadir}/dbus-1/services/%{name}-applet.service |
---|
120 | %{_datadir}/dbus-1/system-services/org.%{name}*.service |
---|
121 | %{_datadir}/glib-2.0/schemas/org.%{name}.gschema.xml |
---|
122 | %{_datadir}/icons/hicolor/*/*/* |
---|
123 | %{_datadir}/pixmaps/%{name} |
---|
124 | %{_datadir}/polkit-1/actions/org.%{name}.policy |
---|
125 | %{_mandir}/man1/%{name}*1.* |
---|
126 | %{python_sitelib}/* |
---|
127 | %if %_lib == lib64 |
---|
128 | %{python_sitearch}/* |
---|
129 | %endif |
---|
130 | %{_libexecdir}/%{name}-* |
---|
131 | |
---|
132 | |
---|
133 | %changelog |
---|
134 | * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.1-2 |
---|
135 | - rebuild with bluez-5.36 |
---|
136 | |
---|
137 | * Sat Oct 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.1-1 |
---|
138 | - new upstream release |
---|
139 | |
---|
140 | * Sun Sep 06 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-2 |
---|
141 | - remove Requires: polkit-gnome, gnome-python |
---|
142 | - add Requires: polkit |
---|
143 | |
---|
144 | * Sun Jul 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0-1 |
---|
145 | - update to 2.0 |
---|
146 | - add BuildRequires: polkit-devel, pygobject3-devel, Cython |
---|
147 | - remove BuildRequires: pygobject-devel |
---|
148 | |
---|
149 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.23-4 |
---|
150 | - rebuild with VineSeed environment |
---|
151 | |
---|
152 | * Sat Oct 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.23-3 |
---|
153 | - change Requires: polkit-gnome instead of PolicyKit-gnome |
---|
154 | |
---|
155 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.23-2 |
---|
156 | - rebuild with python-2.7.2 |
---|
157 | |
---|
158 | * Tue Jan 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.23-1 |
---|
159 | - new upstream release |
---|
160 | |
---|
161 | * Mon Apr 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.21-4 |
---|
162 | - rebuild with rpm-4.8.1 |
---|
163 | |
---|
164 | * Sun Feb 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.21-3 |
---|
165 | - add BuildRequires: gtk2-devel |
---|
166 | |
---|
167 | * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.21-2 |
---|
168 | - rebuilt with python-2.6.4 |
---|
169 | |
---|
170 | * Mon Jan 04 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.21-1 |
---|
171 | - new upstream release |
---|
172 | |
---|
173 | * Mon Jan 04 2010 Shu KONNO <owa@bg.wakwak.com> 1.10-2 |
---|
174 | - added _blueman to %%files (if lib64) |
---|
175 | |
---|
176 | * Tue May 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.10-1 |
---|
177 | - initial build for Vine Linux |
---|
178 | |
---|
179 | * Fri Mar 27 2009 Emmanuel Andry <eandry@mandriva.org> 1.02-4mdv2009.1 |
---|
180 | + Revision: 361574 |
---|
181 | - don't explicitely requires notification-daemon |
---|
182 | |
---|
183 | * Mon Mar 02 2009 Emmanuel Andry <eandry@mandriva.org> 1.02-3mdv2009.1 |
---|
184 | + Revision: 347587 |
---|
185 | - requires python-blueman |
---|
186 | |
---|
187 | * Mon Mar 02 2009 Emmanuel Andry <eandry@mandriva.org> 1.02-2mdv2009.1 |
---|
188 | + Revision: 347346 |
---|
189 | - fix files |
---|
190 | - BR python-dbus |
---|
191 | - fix BR |
---|
192 | - BR python-devel |
---|
193 | - import blueman |
---|
194 | |
---|
195 | |
---|