]>
Commit | Line | Data |
---|---|---|
d7ae5cd6 AM |
1 | # $Revision:$, $Date:$ |
2 | %define _state stable | |
3 | %define orgname baloo | |
4 | %define qtver 4.8.3 | |
5 | ||
6 | Summary: A framework for searching and managing metadata | |
7 | Name: kde4-baloo | |
64049b9b | 8 | Version: 4.13.1 |
d7ae5cd6 AM |
9 | Release: 1 |
10 | License: LGPLv2 or LGPLv3 | |
11 | Group: X11/Applications | |
12 | URL: http://www.kde.org/ | |
13 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz | |
64049b9b | 14 | # Source0-md5: e98b513d70a5dcb32bce503cea41e598 |
d7ae5cd6 AM |
15 | BuildRequires: QtCore-devel >= %{qtver} |
16 | BuildRequires: akonadi-devel >= 1.12.0 | |
17 | BuildRequires: kde4-kdelibs-devel >= %{version} | |
18 | BuildRequires: kde4-kdepimlibs-devel >= %{version} | |
19 | BuildRequires: kde4-kfilemetadata-devel >= %{version} | |
20 | BuildRequires: pkgconfig | |
21 | BuildRequires: xapian-core-devel | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | A framework for searching and managing metadata. | |
26 | ||
27 | %package devel | |
28 | Summary: Developer files for %{name} | |
29 | Group: X11/Development/Libraries | |
30 | Requires: %{name} = %{version}-%{release} | |
31 | ||
32 | %description devel | |
33 | Baloo development files and libraries. | |
34 | ||
35 | %prep | |
36 | %setup -q -n %{orgname}-%{version} | |
37 | ||
38 | %build | |
39 | install -d build | |
40 | cd build | |
41 | %cmake \ | |
42 | -DHTML_INSTALL_DIR=%{_kdedocdir} \ | |
43 | -DKDE_DISTRIBUTION_TEXT="PLD-Linux" \ | |
44 | -DKDE4_ENABLE_FINAL=OFF \ | |
45 | ../ | |
46 | ||
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} -C build install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %post -p /sbin/ldconfig | |
59 | %postun -p /sbin/ldconfig | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
63 | %attr(755,root,root) %{_bindir}/akonadi_baloo_indexer | |
64 | %attr(755,root,root) %{_bindir}/baloo_file | |
65 | %attr(755,root,root) %{_bindir}/baloo_file_cleaner | |
66 | %attr(755,root,root) %{_bindir}/baloo_file_extractor | |
67 | %attr(755,root,root) %{_bindir}/baloosearch | |
68 | %attr(755,root,root) %{_bindir}/balooshow | |
69 | %attr(755,root,root) %{_libdir}/libbaloocore.so.*.*.* | |
70 | %attr(755,root,root) %ghost %{_libdir}/libbaloocore.so.? | |
71 | %attr(755,root,root) %{_libdir}/libbaloofiles.so.*.*.* | |
72 | %attr(755,root,root) %ghost %{_libdir}/libbaloofiles.so.? | |
73 | %attr(755,root,root) %{_libdir}/libbaloopim.so.*.*.* | |
74 | %attr(755,root,root) %ghost %{_libdir}/libbaloopim.so.? | |
75 | %attr(755,root,root) %{_libdir}/libbalooxapian.so.*.*.* | |
76 | %attr(755,root,root) %ghost %{_libdir}/libbalooxapian.so.? | |
77 | %attr(755,root,root) %{_libdir}/kde4/akonadi/akonadi_baloo_searchplugin.so | |
78 | %attr(755,root,root) %{_libdir}/kde4/baloo_*.so | |
79 | %attr(755,root,root) %{_libdir}/kde4/kcm_baloofile.so | |
80 | %attr(755,root,root) %{_libdir}/kde4/kio_baloosearch.so | |
81 | %attr(755,root,root) %{_libdir}/kde4/kio_tags.so | |
82 | %attr(755,root,root) %{_libdir}/kde4/kio_timeline.so | |
83 | %attr(755,root,root) %{_libdir}/kde4/krunner_baloosearchrunner.so | |
84 | %attr(755,root,root) %{_libdir}/kde4/libexec/kde_baloo_filewatch_raiselimit | |
85 | %{_libdir}/kde4/akonadi/akonadibaloosearchplugin.desktop | |
86 | %{_datadir}/akonadi/agents/akonadibalooindexingagent.desktop | |
87 | %{_datadir}/autostart/baloo_file.desktop | |
88 | %{_datadir}/dbus-1/interfaces/org.kde.baloo.file.indexer.xml | |
89 | %{_datadir}/dbus-1/system-services/org.kde.baloo.filewatch.service | |
90 | %{_iconsdir}/hicolor/128x128/apps/baloo.png | |
91 | %{_datadir}/kde4/services/baloo_*.desktop | |
92 | %{_datadir}/kde4/services/kcm_baloofile.desktop | |
93 | %{_datadir}/kde4/services/plasma-runner-baloosearch.desktop | |
94 | %{_datadir}/kde4/services/tags.protocol | |
95 | %{_datadir}/kde4/services/timeline.protocol | |
96 | %{_datadir}/kde4/servicetypes/baloosearchstore.desktop | |
97 | %{_datadir}/kde4/services/baloosearch.protocol | |
98 | %{_datadir}/polkit-1/actions/org.kde.baloo.filewatch.policy | |
99 | /etc/dbus-1/system.d/org.kde.baloo.filewatch.conf | |
100 | ||
101 | %files devel | |
102 | %defattr(644,root,root,755) | |
103 | %{_includedir}/baloo | |
104 | %attr(755,root,root) %{_libdir}/libbaloocore.so | |
105 | %attr(755,root,root) %{_libdir}/libbaloofiles.so | |
106 | %attr(755,root,root) %{_libdir}/libbaloopim.so | |
107 | %attr(755,root,root) %{_libdir}/libbalooxapian.so | |
108 | %{_libdir}/cmake/Baloo |