1 | Name: baloo |
---|
2 | Summary: The file indexing and file search framework for KDE. |
---|
3 | Summary(ja): ファイルのインデックス作成及び検索のフレームワーク |
---|
4 | Version: 4.14.3 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv2 |
---|
8 | Group: System Environment/Libraries |
---|
9 | URL: https://community.kde.org/Baloo |
---|
10 | |
---|
11 | Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: kdelibs-devel |
---|
16 | BuildRequires: kdepimlibs-devel |
---|
17 | BuildRequires: qjson-devel |
---|
18 | BuildRequires: kfilemetadata-devel |
---|
19 | BuildRequires: xapian-core-devel |
---|
20 | BuildRequires: akonadi-devel |
---|
21 | |
---|
22 | Vendor: Project Vine |
---|
23 | Distribution: Vine Linux |
---|
24 | Packager: Takemikaduchi |
---|
25 | |
---|
26 | %description |
---|
27 | Baloo is the file indexing and file search framework for KDE. |
---|
28 | Baloo focuses on providing a very small memory footprint along with |
---|
29 | with extremely fast searching. It internally uses a mixture of sqlite |
---|
30 | along with Xapian to store the file index. |
---|
31 | |
---|
32 | %package libs |
---|
33 | Summary: %{name} runtime libraries |
---|
34 | Summary(ja): %{name} のラインタイムライブラリ |
---|
35 | Group: System Environment/Libraries |
---|
36 | Requires: kdelibs >= %{version} |
---|
37 | |
---|
38 | %description libs |
---|
39 | %{summary}. |
---|
40 | |
---|
41 | %package devel |
---|
42 | Summary: Development files for kdepim |
---|
43 | Summary(ja): %{name} の開発用ファイル |
---|
44 | Group: Development/Libraries |
---|
45 | Requires: %{name}-libs = %{version}-%{release} |
---|
46 | Requires: kdelibs-devel |
---|
47 | |
---|
48 | %description devel |
---|
49 | Development files for %{name}. |
---|
50 | Install %{name}-devel if you want to write or compile %{name} plugins. |
---|
51 | |
---|
52 | %package akonadi |
---|
53 | Summary: Akonadi runtime support for %{name} |
---|
54 | Summary(ja): %{name} の Akonadi サポート |
---|
55 | Group: System Environment/Libraries |
---|
56 | Requires: %{name} = %{version}-%{release} |
---|
57 | Requires: akonadi |
---|
58 | |
---|
59 | %description akonadi |
---|
60 | %{summary}. |
---|
61 | |
---|
62 | %prep |
---|
63 | %setup -q |
---|
64 | |
---|
65 | %build |
---|
66 | mkdir -p %{_target_platform} |
---|
67 | pushd %{_target_platform} |
---|
68 | %cmake \ |
---|
69 | -DCMAKE_BUILD_TYPE=release \ |
---|
70 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
71 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
72 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
73 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
74 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
75 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
76 | -DKDEPIM_BUILD_MOBILE:BOOL=OFF \ |
---|
77 | .. |
---|
78 | popd |
---|
79 | |
---|
80 | make %{?_smp_mflags} -C %{_target_platform} |
---|
81 | |
---|
82 | %install |
---|
83 | rm -rf $RPM_BUILD_ROOT |
---|
84 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
85 | |
---|
86 | %post |
---|
87 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
88 | |
---|
89 | %posttrans |
---|
90 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
91 | |
---|
92 | %postun |
---|
93 | if [ $1 -eq 0 ] ; then |
---|
94 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
95 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
96 | fi |
---|
97 | |
---|
98 | %post libs -p /sbin/ldconfig |
---|
99 | |
---|
100 | %postun libs -p /sbin/ldconfig |
---|
101 | |
---|
102 | %clean |
---|
103 | rm -rf $RPM_BUILD_ROOT |
---|
104 | |
---|
105 | %files |
---|
106 | %defattr(-,root,root,-) |
---|
107 | %doc COPYING COPYING.LIB |
---|
108 | %config %{_sysconfdir}/dbus-1/system.d/org.kde.baloo.filewatch.conf |
---|
109 | %{_bindir}/baloo_file |
---|
110 | %{_bindir}/baloo_file_cleaner |
---|
111 | %{_bindir}/baloo_file_extractor |
---|
112 | %{_bindir}/balooctl |
---|
113 | %{_bindir}/baloosearch |
---|
114 | %{_bindir}/balooshow |
---|
115 | %{_libdir}/kde4/*.so |
---|
116 | %{_libexecdir}/kde4/kde_baloo_filewatch_raiselimit |
---|
117 | %{_datadir}/autostart/baloo_file.desktop |
---|
118 | %{_datadir}/dbus-1/interfaces/org.kde.baloo.file.indexer.xml |
---|
119 | %{_datadir}/dbus-1/system-services/org.kde.baloo.filewatch.service |
---|
120 | %{_datadir}/icons/hicolor/*/*/* |
---|
121 | %{_datadir}/kde4/services/* |
---|
122 | %{_datadir}/kde4/servicetypes/* |
---|
123 | %{_datadir}/polkit-1/actions/*.policy |
---|
124 | |
---|
125 | %files libs |
---|
126 | %defattr(-,root,root,-) |
---|
127 | %{_libdir}/lib*.so.* |
---|
128 | |
---|
129 | %files devel |
---|
130 | %defattr(-,root,root,-) |
---|
131 | %{_includedir}/kde4/%{name} |
---|
132 | %{_libdir}/lib*.so |
---|
133 | %{_libdir}/cmake/Baloo/*.cmake |
---|
134 | |
---|
135 | %files akonadi |
---|
136 | %defattr(-,root,root,-) |
---|
137 | %{_bindir}/akonadi_baloo_indexer |
---|
138 | %{_libdir}/kde4/akonadi/akonadi_baloo_searchplugin.so |
---|
139 | %{_libdir}/kde4/akonadi/akonadibaloosearchplugin.desktop |
---|
140 | %{_datadir}/akonadi/agents/akonadibalooindexingagent.desktop |
---|
141 | |
---|
142 | %changelog |
---|
143 | * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1 |
---|
144 | - initial build |
---|