]>
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 | |
a726324f | 8 | Version: 4.14.3 |
ec3c3f61 | 9 | Release: 3 |
d7ae5cd6 AM |
10 | License: LGPLv2 or LGPLv3 |
11 | Group: X11/Applications | |
12 | URL: http://www.kde.org/ | |
d01742b1 | 13 | Source0: http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz |
a726324f | 14 | # Source0-md5: 09575539cf2c76c951a67da00bd5df5b |
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} | |
52ff177b | 31 | Requires: kde4-kfilemetadata-devel >= %{version} |
d7ae5cd6 AM |
32 | |
33 | %description devel | |
34 | Baloo development files and libraries. | |
35 | ||
36 | %prep | |
37 | %setup -q -n %{orgname}-%{version} | |
38 | ||
39 | %build | |
40 | install -d build | |
41 | cd build | |
42 | %cmake \ | |
43 | -DHTML_INSTALL_DIR=%{_kdedocdir} \ | |
44 | -DKDE_DISTRIBUTION_TEXT="PLD-Linux" \ | |
45 | -DKDE4_ENABLE_FINAL=OFF \ | |
46 | ../ | |
47 | ||
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} -C build install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %post -p /sbin/ldconfig | |
60 | %postun -p /sbin/ldconfig | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %attr(755,root,root) %{_bindir}/akonadi_baloo_indexer | |
65 | %attr(755,root,root) %{_bindir}/baloo_file | |
66 | %attr(755,root,root) %{_bindir}/baloo_file_cleaner | |
67 | %attr(755,root,root) %{_bindir}/baloo_file_extractor | |
6d0c451a | 68 | %attr(755,root,root) %{_bindir}/balooctl |
d7ae5cd6 AM |
69 | %attr(755,root,root) %{_bindir}/baloosearch |
70 | %attr(755,root,root) %{_bindir}/balooshow | |
71 | %attr(755,root,root) %{_libdir}/libbaloocore.so.*.*.* | |
72 | %attr(755,root,root) %ghost %{_libdir}/libbaloocore.so.? | |
73 | %attr(755,root,root) %{_libdir}/libbaloofiles.so.*.*.* | |
74 | %attr(755,root,root) %ghost %{_libdir}/libbaloofiles.so.? | |
75 | %attr(755,root,root) %{_libdir}/libbaloopim.so.*.*.* | |
76 | %attr(755,root,root) %ghost %{_libdir}/libbaloopim.so.? | |
7a867c01 AM |
77 | %attr(755,root,root) %{_libdir}/libbalooqueryparser.so.*.*.* |
78 | %attr(755,root,root) %ghost %{_libdir}/libbalooqueryparser.so.? | |
d7ae5cd6 AM |
79 | %attr(755,root,root) %{_libdir}/libbalooxapian.so.*.*.* |
80 | %attr(755,root,root) %ghost %{_libdir}/libbalooxapian.so.? | |
81 | %attr(755,root,root) %{_libdir}/kde4/akonadi/akonadi_baloo_searchplugin.so | |
82 | %attr(755,root,root) %{_libdir}/kde4/baloo_*.so | |
83 | %attr(755,root,root) %{_libdir}/kde4/kcm_baloofile.so | |
84 | %attr(755,root,root) %{_libdir}/kde4/kio_baloosearch.so | |
85 | %attr(755,root,root) %{_libdir}/kde4/kio_tags.so | |
86 | %attr(755,root,root) %{_libdir}/kde4/kio_timeline.so | |
87 | %attr(755,root,root) %{_libdir}/kde4/krunner_baloosearchrunner.so | |
88 | %attr(755,root,root) %{_libdir}/kde4/libexec/kde_baloo_filewatch_raiselimit | |
89 | %{_libdir}/kde4/akonadi/akonadibaloosearchplugin.desktop | |
90 | %{_datadir}/akonadi/agents/akonadibalooindexingagent.desktop | |
91 | %{_datadir}/autostart/baloo_file.desktop | |
92 | %{_datadir}/dbus-1/interfaces/org.kde.baloo.file.indexer.xml | |
93 | %{_datadir}/dbus-1/system-services/org.kde.baloo.filewatch.service | |
94 | %{_iconsdir}/hicolor/128x128/apps/baloo.png | |
95 | %{_datadir}/kde4/services/baloo_*.desktop | |
96 | %{_datadir}/kde4/services/kcm_baloofile.desktop | |
97 | %{_datadir}/kde4/services/plasma-runner-baloosearch.desktop | |
98 | %{_datadir}/kde4/services/tags.protocol | |
99 | %{_datadir}/kde4/services/timeline.protocol | |
100 | %{_datadir}/kde4/servicetypes/baloosearchstore.desktop | |
101 | %{_datadir}/kde4/services/baloosearch.protocol | |
102 | %{_datadir}/polkit-1/actions/org.kde.baloo.filewatch.policy | |
103 | /etc/dbus-1/system.d/org.kde.baloo.filewatch.conf | |
104 | ||
105 | %files devel | |
106 | %defattr(644,root,root,755) | |
107 | %{_includedir}/baloo | |
108 | %attr(755,root,root) %{_libdir}/libbaloocore.so | |
109 | %attr(755,root,root) %{_libdir}/libbaloofiles.so | |
110 | %attr(755,root,root) %{_libdir}/libbaloopim.so | |
7a867c01 | 111 | %attr(755,root,root) %{_libdir}/libbalooqueryparser.so |
d7ae5cd6 AM |
112 | %attr(755,root,root) %{_libdir}/libbalooxapian.so |
113 | %{_libdir}/cmake/Baloo |