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

Revision 9646, 5.2 KB checked in by Takemikaduchi, 9 years ago (diff)

new upstream release

Line 
1Summary:        Full featured bluetooth manager for GNOME/GTK
2Summary(ja):    GNOME/GTK 用の高機能な Bluetooth マネージャ
3
4Name:           blueman
5Version:        2.0
6Release:        1%{?_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:       gnome-python
34Requires:       dbus-python
35Requires:       pygobject3
36Requires:       Cython
37Requires:       polkit-gnome
38Requires(postun,posttrans): glib2
39Requires(post,postun): desktop-file-utils
40Requires(post,postun): gtk2
41
42Provides:       dbus-bluez-pin-helper
43
44Obsoletes:      bluez-gnome < 1.9
45
46Vendor: Project Vine
47Distribution: Vine Linux
48Packager: daisuke
49
50
51%description
52Blueman is designed to provide simple, yet effective means for
53controlling 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
62Blueman 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
73rm -rf %{buildroot}
74%__make install DESTDIR=${RPM_BUILD_ROOT}
75
76desktop-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
81find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
82find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
83
84rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
85
86%find_lang %{name}
87
88%clean
89rm -rf %{buildroot}
90
91%post
92update-desktop-database %{_datadir}/applications >& /dev/null || :
93touch --no-create %{_datadir}/icons/hicolor
94if [ -x /usr/bin/gtk-update-icon-cache ]; then
95  /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
96fi
97 
98%postun
99update-desktop-database %{_datadir}/applications >& /dev/null || :
100touch --no-create %{_datadir}/icons/hicolor
101if [ -x /usr/bin/gtk-update-icon-cache ]; then
102  /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
103fi
104glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
105
106%posttrans
107glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
108
109
110%files -f %{name}.lang
111%doc CHANGELOG.md COPYING FAQ README.md
112%defattr(-,root,root)
113%{_sysconfdir}/dbus-1/system.d/org.%{name}*.conf
114%{_sysconfdir}/xdg/autostart/%{name}.desktop
115%{_bindir}/%{name}-*
116%{_datadir}/Thunar/sendto/thunar-sendto-%{name}.desktop
117%{_datadir}/applications/%{name}-adapters.desktop
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
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
126%{_mandir}/man1/%{name}*1.*
127%{python_sitelib}/*
128%if %_lib == lib64
129%{python_sitearch}/*
130%endif
131%{_libexecdir}/%{name}-*
132
133
134%changelog
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
140* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.23-4
141- rebuild with VineSeed environment
142
143* Sat Oct 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.23-3
144- change Requires: polkit-gnome instead of PolicyKit-gnome
145
146* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.23-2
147- rebuild with python-2.7.2
148
149* Tue Jan 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.23-1
150- new upstream release
151
152* Mon Apr 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.21-4
153- rebuild with rpm-4.8.1
154
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
Note: See TracBrowser for help on using the repository browser.