]>
Commit | Line | Data |
---|---|---|
755ba0df | 1 | %define kdever 4.7.2 |
12e4124c | 2 | %define qtver 4.7.4 |
b9a95dd3 | 3 | %define orgname bluedevil |
12e4124c | 4 | %define state stable |
b9a95dd3 | 5 | |
6 | Summary: KDE Bluetooth framework | |
7 | Summary(pl.UTF-8): Podstawowe środowisko KDE Bluetooth | |
8 | Name: kde4-bluedevil | |
84766097 | 9 | Version: 1.3.1 |
8fd8b998 | 10 | Release: 1 |
b9a95dd3 | 11 | License: GPL |
12 | Group: X11/Applications | |
12e4124c | 13 | Source0: ftp://ftp.kde.org/pub/kde/%{state}/bluedevil/%{version}/src/%{orgname}-%{version}.tar.bz2 |
84766097 | 14 | # Source0-md5: d21ad78030ffd892bb2ae5c78aa37919 |
c9dcad2e | 15 | URL: http://www.afiestas.org/ |
b9a95dd3 | 16 | BuildRequires: automoc4 >= 0.9.88 |
17 | BuildRequires: cmake >= 2.8.0 | |
24140c19 | 18 | BuildRequires: gettext-devel |
12e4124c | 19 | BuildRequires: kde4-kdelibs-devel >= %{kdever} |
84766097 | 20 | BuildRequires: libbluedevil-devel >= 1.9.3 |
b9a95dd3 | 21 | BuildRequires: qt4-build >= %{qtver} |
22 | BuildRequires: qt4-qmake >= %{qtver} | |
d4f0e5a3 | 23 | BuildRequires: rpmbuild(macros) >= 1.600 |
6cac6dcd KK |
24 | BuildRequires: shared-mime-info |
25 | Requires: bluez | |
b9a95dd3 | 26 | Requires: obex-data-server |
41e7b965 | 27 | Obsoletes: kde4-kdebluetooth |
b9a95dd3 | 28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
30 | %description | |
31 | BlueDevil is a set of components, which integrates bluetooth within | |
32 | the KDE SC, for example adding a system preference module (KCM), or | |
33 | allowing to browse the files in a cell phone from you favorite file | |
34 | browser. | |
35 | ||
36 | %prep | |
e779c3e7 | 37 | %setup -q -n %{orgname}-%{version} |
b9a95dd3 | 38 | |
39 | %build | |
40 | install -d build | |
41 | cd build | |
42 | %cmake \ | |
b9a95dd3 | 43 | ../ |
44 | ||
45 | %{__make} | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %{__make} -C build install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT \ | |
52 | kde_htmldir=%{_kdedocdir} | |
53 | ||
353945ca AA |
54 | # remove unsupported locales |
55 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{sr@ijekavian,sr@ijekavianlatin} | |
56 | ||
24140c19 KK |
57 | %find_lang %{orgname} |
58 | ||
b9a95dd3 | 59 | %clean |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %post -p /sbin/ldconfig | |
63 | %postun -p /sbin/ldconfig | |
64 | ||
24140c19 | 65 | %files -f %{orgname}.lang |
b9a95dd3 | 66 | %defattr(644,root,root,755) |
f19f3f49 | 67 | %attr(755,root,root) %{_bindir}/bluedevil-audio |
f19f3f49 AM |
68 | %attr(755,root,root) %{_bindir}/bluedevil-helper |
69 | %attr(755,root,root) %{_bindir}/bluedevil-input | |
70 | %attr(755,root,root) %{_bindir}/bluedevil-monolithic | |
12e4124c AA |
71 | %attr(755,root,root) %{_bindir}/bluedevil-network-dun |
72 | %attr(755,root,root) %{_bindir}/bluedevil-network-panu | |
f19f3f49 AM |
73 | %attr(755,root,root) %{_bindir}/bluedevil-sendfile |
74 | %attr(755,root,root) %{_bindir}/bluedevil-wizard | |
12e4124c AA |
75 | %attr(755,root,root) %{_libdir}/kde4/libexec/bluedevil-requestconfirmation |
76 | %attr(755,root,root) %{_libdir}/kde4/libexec/bluedevil-requestpin | |
77 | %attr(755,root,root) %{_libdir}/kde4/libexec/bluedevil-authorize | |
78 | %attr(755,root,root) %{_libdir}/kde4/libexec/bluedevil-confirmmodechange | |
f19f3f49 | 79 | %{_datadir}/apps/bluedevil |
8fd8b998 | 80 | %{_datadir}/apps/bluedevilwizard |
b9a95dd3 | 81 | %{_datadir}/mime/packages/bluedevil-mime.xml |
82 | %{_datadir}/kde4/servicetypes/actionplugin.desktop | |
b9a95dd3 | 83 | %{_datadir}/kde4/services/bluedevil-audio.desktop |
12e4124c AA |
84 | %{_datadir}/kde4/services/bluedevil-input.desktop |
85 | %{_datadir}/kde4/services/bluedevil-network-dun.desktop | |
86 | %{_datadir}/kde4/services/bluedevil-network-panu.desktop | |
b9a95dd3 | 87 | %{_datadir}/kde4/services/bluedeviladapters.desktop |
12e4124c AA |
88 | %{_datadir}/kde4/services/bluedevildevices.desktop |
89 | %{_datadir}/kde4/services/bluedevilsendfile.desktop | |
b9a95dd3 | 90 | %{_datadir}/kde4/services/bluedeviltransfer.desktop |
91 | %{_datadir}/kde4/services/bluetooth.protocol | |
92 | %{_datadir}/kde4/services/obexftp.protocol | |
12e4124c | 93 | %{_datadir}/kde4/services/sendfile.desktop |
b9a95dd3 | 94 | %{_datadir}/kde4/services/kded/bluedevil.desktop |
c9dcad2e | 95 | %{_datadir}/kde4/services/kded/obexftpdaemon.desktop |
f19f3f49 AM |
96 | %{_desktopdir}/kde4/bluedevil-audio.desktop |
97 | %{_desktopdir}/kde4/bluedevil-input.desktop | |
98 | %{_desktopdir}/kde4/bluedevil-monolithic.desktop | |
12e4124c AA |
99 | %{_desktopdir}/kde4/bluedevil-network-dun.desktop |
100 | %{_desktopdir}/kde4/bluedevil-network-panu.desktop | |
f19f3f49 AM |
101 | %{_desktopdir}/kde4/bluedevil-sendfile.desktop |
102 | %{_desktopdir}/kde4/bluedevil-wizard.desktop | |
b9a95dd3 | 103 | %{_datadir}/dbus-1/services/org.kde.BlueDevil.Service.service |
f19f3f49 AM |
104 | %attr(755,root,root) %{_libdir}/libbluedevilaction.so |
105 | %attr(755,root,root) %{_libdir}/kde4/bluedevilaudioactionplugin.so | |
106 | %attr(755,root,root) %{_libdir}/kde4/bluedevilinputactionplugin.so | |
12e4124c AA |
107 | %attr(755,root,root) %{_libdir}/kde4/bluedevilnetworkdunactionplugin.so |
108 | %attr(755,root,root) %{_libdir}/kde4/bluedevilnetworkpanuactionplugin.so | |
f19f3f49 | 109 | %attr(755,root,root) %{_libdir}/kde4/bluedevilsendfileactionplugin.so |
12e4124c | 110 | %attr(755,root,root) %{_libdir}/kde4/bluetoothfiletiemaction.so |
f19f3f49 AM |
111 | %attr(755,root,root) %{_libdir}/kde4/kcm_bluedeviladapters.so |
112 | %attr(755,root,root) %{_libdir}/kde4/kcm_bluedevildevices.so | |
113 | %attr(755,root,root) %{_libdir}/kde4/kcm_bluedeviltransfer.so | |
114 | %attr(755,root,root) %{_libdir}/kde4/kded_bluedevil.so | |
115 | %attr(755,root,root) %{_libdir}/kde4/kded_obexftpdaemon.so | |
116 | %attr(755,root,root) %{_libdir}/kde4/kio_bluetooth.so | |
117 | %attr(755,root,root) %{_libdir}/kde4/kio_obexftp.so |