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