source: projects/specs/trunk/b/blueman/blueman-vl.spec @ 9791

Revision 9791, 5.5 KB checked in by Takemikaduchi, 9 years ago (diff)

GNOME 3.18.1, BlueZ 5.35, ICU 56.1, Mesa 11.0.4, PulseAudio 7.1, xserver 1.17.4, etc.

Line 
1Summary:        Full featured bluetooth manager for GNOME/GTK
2Summary(ja):    GNOME/GTK 用の高機能な Bluetooth マネージャ
3
4Name:           blueman
5Version:        2.0.1
6Release:        2%{?_dist_release}
7License:        GPLv2+
8Group:          Applications/System
9Url:            https://github.com/blueman-project/blueman
10
11Source0:        https://github.com/blueman-project/blueman/releases/download/2.0/%{name}-%{version}.tar.xz
12
13Buildroot:      %{_tmppath}/%{name}-%{version}
14BuildRequires:  desktop-file-utils
15BuildRequires:  perl(XML::Parser)
16BuildRequires:  glib2-devel
17BuildRequires:  gtk2-devel
18BuildRequires:  pygtk2-devel
19BuildRequires:  polkit-devel
20BuildRequires:  intltool
21BuildRequires:  startup-notification-devel
22BuildRequires:  pygobject3-devel
23BuildRequires:  Cython
24BuildRequires:  notify-python
25BuildRequires:  bluez-libs-devel >= 4.37
26BuildRequires:  python-devel
27BuildRequires:  python-pyrex
28BuildRequires:  dbus-python
29Requires:       bluez
30Requires:       obex-data-server
31Requires:       notify-python
32Requires:       pygtk2
33Requires:       dbus-python
34Requires:       pygobject3
35Requires:       Cython
36Requires:       polkit
37Requires(postun,posttrans): glib2
38Requires(post,postun): desktop-file-utils
39Requires(post,postun): gtk2
40
41Provides:       dbus-bluez-pin-helper
42
43Obsoletes:      bluez-gnome < 1.9
44
45Vendor: Project Vine
46Distribution: Vine Linux
47Packager: daisuke
48
49
50%description
51Blueman is designed to provide simple, yet effective means for
52controlling 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
61Blueman 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
72rm -rf %{buildroot}
73%__make install DESTDIR=${RPM_BUILD_ROOT}
74
75desktop-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
80find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
81find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
82
83rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
84
85%find_lang %{name}
86
87%clean
88rm -rf %{buildroot}
89
90%post
91update-desktop-database %{_datadir}/applications >& /dev/null || :
92touch --no-create %{_datadir}/icons/hicolor
93if [ -x /usr/bin/gtk-update-icon-cache ]; then
94  /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
95fi
96 
97%postun
98update-desktop-database %{_datadir}/applications >& /dev/null || :
99touch --no-create %{_datadir}/icons/hicolor
100if [ -x /usr/bin/gtk-update-icon-cache ]; then
101  /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
102fi
103glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
104
105%posttrans
106glib-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
Note: See TracBrowser for help on using the repository browser.