]>
Commit | Line | Data |
---|---|---|
0c1be701 | 1 | # |
c08a558f | 2 | # TODO: |
a71c95fe | 3 | # - kill bashisms in crawl stuff |
28afbe66 | 4 | # - add qyoto based settings (requires new packages) |
36d6fb2e | 5 | # |
6 | %include /usr/lib/rpm/macros.mono | |
0217b850 | 7 | # |
8 | # Conditional build: | |
a71c95fe | 9 | %bcond_without apidocs # don't build API documentation |
28afbe66 | 10 | %bcond_with avahi # enable Avahi support |
a822419b | 11 | %bcond_without evolution # don't include evolution support |
cb261afd | 12 | %bcond_without galago # build without galago support |
13 | %bcond_without gsf # build without libgsf support | |
a71c95fe | 14 | %bcond_without gui # don't build GNOME based GUI |
29ce6ab0 | 15 | %bcond_without epiphany # don't build epiphany extension |
b33a45f4 | 16 | %bcond_without thunderbird # use Thunderbird backend |
a71c95fe | 17 | # |
49827961 | 18 | %if !%{with gui} |
a71c95fe | 19 | %undefine with_evolution |
20 | %endif | |
36d6fb2e | 21 | # |
99f1d7d3 | 22 | Summary: Beagle - An indexing subsystem |
e30bc3c5 | 23 | Summary(pl.UTF-8): Beagle - podsystem indeksujący |
99f1d7d3 | 24 | Name: beagle |
273f1f36 | 25 | Version: 0.3.8 |
13a3a69f | 26 | Release: 7 |
99f1d7d3 | 27 | License: Various |
28 | Group: Libraries | |
28afbe66 | 29 | Source0: http://ftp.gnome.org/pub/GNOME/sources/beagle/0.3/%{name}-%{version}.tar.bz2 |
273f1f36 | 30 | # Source0-md5: fcafad26efa65a3bf06a019268ae6230 |
4afaee22 | 31 | Patch0: %{name}-desktop.patch |
6182bda9 | 32 | Patch1: %{name}-crawl.patch |
28afbe66 | 33 | Patch2: %{name}-configure.patch |
273f1f36 | 34 | Patch3: %{name}-use-xdg-open.patch |
50e3f6c4 | 35 | Patch4: %{name}-epiphany.patch |
6aae2e75 | 36 | Patch5: %{name}-gmime-2.4.patch |
ff55a2dc | 37 | URL: http://beagle-project.org/Main_Page |
0b280122 MK |
38 | BuildRequires: autoconf >= 2.52 |
39 | BuildRequires: automake | |
643f8926 | 40 | BuildRequires: chmlib-devel |
273f1f36 | 41 | %{?with_avahi:BuildRequires: dotnet-avahi-devel >= 0.6.10} |
b0d572c4 | 42 | %{?with_evolution:BuildRequires: dotnet-evolution-sharp-devel >= 0.13.3} |
58203720 | 43 | %{?with_galago:BuildRequires: dotnet-galago-sharp-devel >= 0.5.0} |
6aae2e75 | 44 | BuildRequires: dotnet-gmime-sharp-devel >= 2.3.5 |
29ce6ab0 | 45 | %{?with_gsf:BuildRequires: dotnet-gsf-sharp-devel >= 0.8.1} |
87f0d596 | 46 | BuildRequires: dotnet-gtk-sharp2-devel >= 2.10.0 |
28afbe66 | 47 | BuildRequires: dotnet-ndesk-dbus-glib-sharp-devel >= 0.3.0 |
48 | BuildRequires: dotnet-ndesk-dbus-sharp-devel >= 0.6.0 | |
273f1f36 MB |
49 | %{?with_epiphany:BuildRequires: epiphany-devel >= 2.22.0} |
50 | BuildRequires: gettext-devel | |
119be5cb | 51 | BuildRequires: gtk+2-devel >= 2:2.10.10 |
273f1f36 | 52 | BuildRequires: intltool >= 0.40.0 |
a028da53 | 53 | BuildRequires: libtool |
273f1f36 MB |
54 | BuildRequires: mono-csharp >= 1.2.4 |
55 | BuildRequires: mono-devel >= 1.2.4 | |
6300fca8 | 56 | BuildRequires: pkgconfig |
273f1f36 MB |
57 | BuildRequires: sqlite3-devel >= 3.3.9 |
58 | BuildRequires: taglib-sharp-devel | |
4c824a15 | 59 | BuildRequires: wv-devel >= 1.2.4 |
7ba8a6a9 | 60 | BuildRequires: xorg-lib-libXScrnSaver-devel |
10b5eb30 | 61 | BuildRequires: zip |
a71c95fe | 62 | # GUI BRs |
63 | %if %{with gui} | |
87f0d596 | 64 | BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0 |
273f1f36 | 65 | BuildRequires: librsvg-devel >= 1:2.16.1 |
a71c95fe | 66 | %endif |
6aae2e75 | 67 | Requires: dotnet-gmime-sharp >= 2.3.5 |
4d7c0434 | 68 | Requires: dotnet-gsf-sharp |
273f1f36 | 69 | Requires: shared-mime-info |
1c9cdc87 | 70 | Requires: sqlite3 |
273f1f36 | 71 | Requires: xdg-utils |
79f56cce JB |
72 | Obsoletes: beagle-libs |
73 | Obsoletes: beagle-static | |
1aa42a1c | 74 | # sr@Latn vs. sr@latin |
75 | Conflicts: glibc-misc < 6:2.7 | |
a4757434 | 76 | ExclusiveArch: %{ix86} %{x8664} arm hppa ia64 ppc s390 s390x sparc sparcv9 sparc64 |
6300fca8 | 77 | ExcludeArch: i386 |
99f1d7d3 | 78 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
79 | ||
80 | %description | |
81 | Beagle is an indexing sub-system and search aggregator built on top of | |
82 | Lucene.Net. | |
83 | ||
2eeb2838 JR |
84 | %description -l pl.UTF-8 |
85 | Beagle jest podsystemem indeksującym i wyszukującym zbudowanym na | |
99f1d7d3 | 86 | bazie Lucene.Net. |
87 | ||
28afbe66 | 88 | %package debug |
89 | Summary: Debug files for the Mono part of Beagle | |
90 | Summary(pl.UTF-8): Pliki debugujące dla części Mono Beagle'a | |
91 | Group: Development/Libraries | |
92 | Requires: %{name} = %{version}-%{release} | |
93 | ||
94 | %description debug | |
95 | Debug files for the Mono part of Beagle. | |
96 | ||
97 | %description -l pl.UTF-8 | |
98 | Pliki debugujące dla części Mono Beagle'a. | |
99 | ||
99f1d7d3 | 100 | %package devel |
101 | Summary: Beagle development files | |
e30bc3c5 | 102 | Summary(pl.UTF-8): Pliki programistyczne Beagle |
99f1d7d3 | 103 | Group: Development/Libraries |
e944f3f6 | 104 | Requires: %{name} = %{version}-%{release} |
99f1d7d3 | 105 | |
106 | %description devel | |
cbe6bf97 | 107 | Beagle development files. |
99f1d7d3 | 108 | |
2eeb2838 | 109 | %description devel -l pl.UTF-8 |
cbe6bf97 | 110 | Pliki programistyczne Beagle. |
111 | ||
58203720 | 112 | %package apidocs |
113 | Summary: libbeagle API documentation | |
e30bc3c5 | 114 | Summary(pl.UTF-8): Dokumentacja API libbeagle |
58203720 | 115 | Group: Documentation |
116 | Requires: gtk-doc-common | |
117 | ||
118 | %description apidocs | |
119 | libbeagle API documentation. | |
120 | ||
2eeb2838 | 121 | %description apidocs -l pl.UTF-8 |
58203720 | 122 | Dokumentacja API libbeagle. |
123 | ||
4afaee22 | 124 | %package crawl-system |
125 | Summary: Beagle crawl system | |
e30bc3c5 | 126 | Summary(pl.UTF-8): System przeszukujący beagle-crawl |
4afaee22 | 127 | Group: Applications/System |
a822419b | 128 | Requires: crondaemon |
47a83e37 JB |
129 | Provides: group(beagleindex) |
130 | Provides: user(beagleindex) | |
4afaee22 | 131 | |
132 | %description crawl-system | |
133 | Beagle crawl system. | |
134 | ||
2eeb2838 JR |
135 | %description crawl-system -l pl.UTF-8 |
136 | System przeszukujący beagle-crawl. | |
4afaee22 | 137 | |
79f56cce JB |
138 | %package search-gui |
139 | Summary: GNOME based Beagle GUI | |
140 | Summary(pl.UTF-8): Oparty na GNOME graficzny interfejs dla Beagle | |
141 | Group: Libraries/Python | |
142 | Requires: %{name} = %{version}-%{release} | |
143 | Requires: gtk+2 >= 2:2.10.10 | |
144 | ||
145 | %description search-gui | |
146 | GNOME based Beagle GUI. | |
147 | ||
148 | %description search-gui -l pl.UTF-8 | |
149 | Oparty na GNOME graficzny interfejs dla Beagle. | |
150 | ||
151 | %package startup | |
152 | Summary: Automatic startup integration for Beagle | |
153 | Summary(pl.UTF-8): Integracja funkcji automatycznego startu Beagle | |
154 | Group: X11/Applications | |
155 | Requires: %{name} = %{version}-%{release} | |
156 | Obsoletes: beagle-gnome | |
157 | ||
158 | %description startup | |
159 | Automatic session startup integration for Beagle. | |
160 | ||
161 | %description startup -l pl.UTF-8 | |
162 | Integracja funkcji automatycznego startu Beagle. | |
163 | ||
164 | %package webinterface | |
165 | Summary: A web interface for Beagle | |
166 | Summary(pl.UTF-8): Interfejs sieciowy dla Beagle | |
167 | Group: Applications | |
168 | Requires: %{name} = %{version}-%{release} | |
169 | ||
170 | %description webinterface | |
171 | An AJAX interface that allows users to search for data through their | |
172 | web browser. | |
173 | ||
174 | %description webinterface -l pl.UTF-8 | |
175 | AJAX-owy interfejs pozwalający użytkownikom wyszukiwać dane za pomocą | |
176 | przeglądarki internetowej. | |
177 | ||
b4b515ca | 178 | %package evolution |
179 | Summary: Beagle Evolution backend | |
e30bc3c5 | 180 | Summary(pl.UTF-8): Backend Beagle dla Evolution |
b4b515ca | 181 | Group: X11/Applications/Networking |
182 | Requires: %{name} = %{version}-%{release} | |
7ba8a6a9 | 183 | Requires: dotnet-evolution-sharp >= 0.11.1 |
119be5cb | 184 | Requires: evolution >= 2.10.0 |
b4b515ca | 185 | |
0543bc3b | 186 | %description evolution |
b4b515ca | 187 | Beagle Evolution backend. |
188 | ||
2eeb2838 | 189 | %description evolution -l pl.UTF-8 |
b4b515ca | 190 | Backend Beagle dla Evolution. |
191 | ||
273f1f36 MB |
192 | %package icedove |
193 | Summary: Beagle Icedove backend | |
194 | Summary(pl.UTF-8): Backend Beagle dla Icedove | |
a4757434 | 195 | Group: X11/Applications/Networking |
196 | Requires: %{name} = %{version}-%{release} | |
273f1f36 MB |
197 | Requires: icedove |
198 | Provides: beagle-thunderbird | |
199 | Obsoletes: beagle-thunderbird | |
a4757434 | 200 | |
273f1f36 MB |
201 | %description icedove |
202 | Beagle Icedove backend. | |
a4757434 | 203 | |
273f1f36 MB |
204 | %description icedove -l pl.UTF-8 |
205 | Backend Beagle dla Icedove. | |
a4757434 | 206 | |
cbe6bf97 | 207 | %package -n epiphany-extension-beagle |
208 | Summary: Epiphany extension - beagle | |
e30bc3c5 | 209 | Summary(pl.UTF-8): Rozszerzenie dla Epiphany - beagle |
cbe6bf97 | 210 | Group: X11/Applications/Networking |
211 | Requires: %{name} = %{version}-%{release} | |
cfacbad7 | 212 | Requires: epiphany-extensions >= 2.22.0 |
cbe6bf97 | 213 | |
214 | %description -n epiphany-extension-beagle | |
215 | Epiphany extension that allows Beagle to index every page the user | |
216 | views. | |
217 | ||
2eeb2838 JR |
218 | %description -n epiphany-extension-beagle -l pl.UTF-8 |
219 | Rozszerzenie dla Epiphany sprawiające, że Beagle indeksuje każdą | |
220 | odwiedzaną stronę. | |
99f1d7d3 | 221 | |
273f1f36 MB |
222 | %package -n iceweasel-extension-beagle |
223 | Summary: Iceweasel extension - beagle | |
224 | Summary(pl.UTF-8): Rozszerzenie dla przeglądarki Iceweasel - beagle | |
79f56cce | 225 | Group: X11/Applications/Networking |
28afbe66 | 226 | Requires: %{name} = %{version}-%{release} |
273f1f36 MB |
227 | Requires: iceweasel |
228 | Provides: mozilla-firefox-extension-beagle | |
229 | Obsoletes: mozilla-firefox-extension-beagle | |
28afbe66 | 230 | |
273f1f36 MB |
231 | %description -n iceweasel-extension-beagle |
232 | Iceweasel extension that allows Beagle to index every page the user | |
233 | views. | |
28afbe66 | 234 | |
273f1f36 MB |
235 | %description -n iceweasel-extension-beagle -l pl.UTF-8 |
236 | Rozszerzenie dla przeglądarki Iceweasel sprawiające, że Beagle | |
79f56cce | 237 | indeksuje każdą odwiedzaną stronę. |
28afbe66 | 238 | |
99f1d7d3 | 239 | %prep |
240 | %setup -q | |
a822419b | 241 | %patch0 -p1 |
273f1f36 MB |
242 | %patch1 -p1 |
243 | %patch2 -p1 | |
244 | %patch3 -p1 | |
50e3f6c4 | 245 | %patch4 -p1 |
6aae2e75 | 246 | %patch5 -p1 |
99f1d7d3 | 247 | |
248 | %build | |
b0d572c4 | 249 | %{__intltoolize} |
0b280122 MK |
250 | %{__libtoolize} |
251 | %{__aclocal} | |
252 | %{__autoconf} | |
273f1f36 | 253 | %{__autoheader} |
0b280122 | 254 | %{__automake} |
0217b850 | 255 | %configure \ |
79f56cce | 256 | --disable-static \ |
dd2f6f33 | 257 | --%{!?with_epiphany:dis}%{?with_epiphany:en}able-epiphany-extension \ |
273f1f36 | 258 | --%{!?with_evolution:dis}%{?with_evolution:en}able-evolution \ |
a71c95fe | 259 | --%{!?with_gui:dis}%{?with_gui:en}able-gui \ |
28afbe66 | 260 | --%{!?with_thunderbird:dis}%{?with_thunderbird:en}able-thunderbird \ |
261 | --%{!?with_avahi:dis}%{?with_avahi:en}able-avahi | |
c08a558f | 262 | |
79f56cce | 263 | %{__make} |
99f1d7d3 | 264 | |
265 | %install | |
266 | rm -rf $RPM_BUILD_ROOT | |
416cd106 | 267 | install -d $RPM_BUILD_ROOT%{_var}/cache/beagle/indexes |
99f1d7d3 | 268 | |
269 | %{__make} install \ | |
c08a558f | 270 | DESTDIR=$RPM_BUILD_ROOT \ |
28afbe66 | 271 | monodocdir=%{_libdir}/monodoc/sources |
99f1d7d3 | 272 | |
79f56cce JB |
273 | rm $RPM_BUILD_ROOT%{_libdir}/%{name}/lib*glue.la |
274 | ||
273f1f36 | 275 | dest=$RPM_BUILD_ROOT%{_datadir}/iceweasel/extensions/\{fda00e13-8c62-4f63-9d19-d168115b11ca\} |
b9ae5f5e | 276 | install -d $dest $dest/chrome |
28afbe66 | 277 | install firefox-extension/{chrome.manifest,install.rdf} $dest |
278 | cp -r firefox-extension/chrome/* $dest/chrome | |
c08a558f | 279 | |
28afbe66 | 280 | %if %{with thunderbird} |
273f1f36 | 281 | tdest=$RPM_BUILD_ROOT%{_libdir}/icedove/extensions/\{b656ef18-fd76-45e6-95cc-8043f26361e7\} |
28afbe66 | 282 | install -d $tdest |
283 | install thunderbird-extension/{chrome.manifest,install.rdf} $tdest | |
284 | cp -r thunderbird-extension/{chrome,components,defaults} $tdest | |
285 | %endif | |
99f1d7d3 | 286 | |
1aa42a1c | 287 | [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ |
288 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} | |
690e79b3 | 289 | %find_lang %{name} |
290 | ||
99f1d7d3 | 291 | %clean |
292 | rm -rf $RPM_BUILD_ROOT | |
293 | ||
a822419b | 294 | %pre crawl-system |
295 | %groupadd -g 166 -r -f beagleindex | |
296 | %useradd -u 166 -r -d /var/cache/beagle -s /bin/false -c "Beagle indexing" -g beagleindex beagleindex | |
297 | ||
298 | %postun crawl-system | |
299 | if [ "$1" = "0" ]; then | |
300 | %userremove beagleindex | |
301 | %groupremove beagleindex | |
302 | fi | |
303 | ||
690e79b3 | 304 | %files -f %{name}.lang |
99f1d7d3 | 305 | %defattr(644,root,root,755) |
306 | %doc AUTHORS COPYING ChangeLog NEWS README | |
a71c95fe | 307 | %attr(755,root,root) %{_bindir}/beagle-config |
4c824a15 | 308 | %attr(755,root,root) %{_bindir}/beagle-doc-extractor |
df3b0f63 | 309 | %attr(755,root,root) %{_bindir}/beagle-extract-content |
a71c95fe | 310 | %attr(755,root,root) %{_bindir}/beagle-index-info |
a71c95fe | 311 | %attr(755,root,root) %{_bindir}/beagle-info |
312 | %attr(755,root,root) %{_bindir}/beagle-ping | |
313 | %attr(755,root,root) %{_bindir}/beagle-query | |
314 | %attr(755,root,root) %{_bindir}/beagle-shutdown | |
bad3b6b5 | 315 | %attr(755,root,root) %{_bindir}/beagle-static-query |
a71c95fe | 316 | %attr(755,root,root) %{_bindir}/beagle-status |
79f56cce | 317 | %attr(755,root,root) %{_bindir}/beagled |
bad3b6b5 | 318 | %attr(755,root,root) %{_bindir}/blocate |
9d454076 | 319 | %attr(755,root,root) %{_libdir}/%{name}/*.exe |
79f56cce | 320 | %attr(755,root,root) %{_libdir}/%{name}/libbeagleglue.so* |
273f1f36 MB |
321 | %dir %{_sysconfdir}/beagle |
322 | %dir %{_sysconfdir}/beagle/config-files | |
323 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/beagle/blocate.conf | |
324 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/beagle/query-mapping.xml | |
325 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/beagle/config-files/BeagleSearch.xml | |
326 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/beagle/config-files/Daemon.xml | |
327 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/beagle/config-files/FilesQueryable.xml | |
328 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/beagle/config-files/GoogleBackends.xml | |
329 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/beagle/config-files/Networking.xml | |
9d454076 | 330 | %dir %{_libdir}/%{name} |
b4b515ca | 331 | %dir %{_libdir}/%{name}/Backends |
96f57eb2 | 332 | %dir %{_libdir}/%{name}/Filters |
333 | %{_libdir}/%{name}/*.dll | |
0ee55bb7 | 334 | %{_libdir}/%{name}/*.dll.config |
273f1f36 | 335 | %{_libdir}/%{name}/Backends/GoogleBackends*.dll |
96f57eb2 | 336 | %{_libdir}/%{name}/Filters/*.dll |
3aa828d4 | 337 | %attr(755,root,root) %{_libdir}/%{name}/beagled-index-helper |
79f56cce | 338 | %{_mandir}/man1/beagle-config.1* |
273f1f36 MB |
339 | %{_mandir}/man1/beagle-info.1* |
340 | %{_mandir}/man1/beagle-ping.1* | |
79f56cce JB |
341 | %{_mandir}/man1/beagle-query.1* |
342 | %{_mandir}/man1/beagle-search.1* | |
343 | %{_mandir}/man1/beagle-shutdown.1* | |
344 | %{_mandir}/man1/beagle-status.1* | |
345 | %{_mandir}/man1/beagled.1* | |
273f1f36 MB |
346 | %{_mandir}/man8/beagle-doc-extractor.8* |
347 | %{_mandir}/man8/beagle-index-info.8* | |
4afaee22 | 348 | |
28afbe66 | 349 | %files debug |
99f1d7d3 | 350 | %defattr(644,root,root,755) |
28afbe66 | 351 | %{_libdir}/%{name}/Backends/*.mdb |
352 | %{_libdir}/%{name}/Filters/*.mdb | |
353 | %{_libdir}/%{name}/*.mdb | |
cbe6bf97 | 354 | |
28afbe66 | 355 | %files devel |
58203720 | 356 | %defattr(644,root,root,755) |
79f56cce JB |
357 | %{_pkgconfigdir}/beagle-0.0.pc |
358 | %{_pkgconfigdir}/beagle-ui-0.0.pc | |
359 | %{_pkgconfigdir}/beagle-daemon.pc | |
360 | ||
361 | %if %{with apidocs} | |
362 | %files apidocs | |
363 | %defattr(644,root,root,755) | |
364 | %{_libdir}/monodoc/sources/* | |
365 | %endif | |
58203720 | 366 | |
4afaee22 | 367 | %files crawl-system |
368 | %defattr(644,root,root,755) | |
bad3b6b5 | 369 | %dir %{_sysconfdir}/beagle/crawl-rules |
bad3b6b5 | 370 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/beagle/crawl-rules/crawl-applications |
371 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/beagle/crawl-rules/crawl-documentation | |
273f1f36 | 372 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/beagle/crawl-rules/crawl-executables |
bad3b6b5 | 373 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/beagle/crawl-rules/crawl-manpages |
374 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/beagle/crawl-rules/crawl-monodoc | |
375 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/beagle/crawl-rules/crawl-windows | |
79f56cce JB |
376 | # XXX: samples not here |
377 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/beagle/external-filters.xml.sample | |
378 | %attr(750,root,crontab) %config(noreplace) %verify(not md5 mtime size) /etc/cron.daily/beagle-crawl-system | |
86f426aa | 379 | %dir %attr(755,beagleindex,beagleindex) %{_var}/cache/beagle |
416cd106 | 380 | %dir %attr(755,beagleindex,beagleindex) %{_var}/cache/beagle/indexes |
79f56cce JB |
381 | %attr(755,root,root) %{_sbindir}/beagle-build-index |
382 | %attr(755,root,root) %{_sbindir}/beagle-dump-index | |
383 | %attr(755,root,root) %{_sbindir}/beagle-manage-index | |
384 | %attr(755,root,root) %{_sbindir}/beagle-master-delete-button | |
273f1f36 MB |
385 | %attr(755,root,root) %{_sbindir}/beagle-removable-index |
386 | %{_mandir}/man8/beagle-dump-index.8* | |
79f56cce JB |
387 | %{_mandir}/man8/beagle-build-index.8* |
388 | %{_mandir}/man8/beagle-extract-content.8* | |
389 | %{_mandir}/man8/beagle-manage-index.8* | |
4afaee22 | 390 | |
79f56cce JB |
391 | %if %{with gui} |
392 | %files search-gui | |
28afbe66 | 393 | %defattr(644,root,root,755) |
79f56cce JB |
394 | %attr(755,root,root) %{_bindir}/beagle-imlogviewer |
395 | %attr(755,root,root) %{_bindir}/beagle-search | |
396 | %attr(755,root,root) %{_bindir}/beagle-settings | |
397 | %attr(755,root,root) %{_libdir}/%{name}/libbeagleuiglue.so* | |
273f1f36 MB |
398 | %attr(755,root,root) %{_libdir}/%{name}/keygrabber.py |
399 | %{_mandir}/man1/beagle-settings.1* | |
79f56cce JB |
400 | %{_mandir}/man8/beagle-imlogviewer.8* |
401 | %{_desktopdir}/*.desktop | |
28afbe66 | 402 | %endif |
403 | ||
79f56cce JB |
404 | %files startup |
405 | %defattr(644,root,root,755) | |
406 | %{_sysconfdir}/xdg/autostart/beagled-autostart.desktop | |
407 | %{_sysconfdir}/xdg/autostart/beagle-search-autostart.desktop | |
408 | ||
409 | %files webinterface | |
410 | %defattr(644,root,root,755) | |
411 | %{_datadir}/%{name} | |
412 | ||
a71c95fe | 413 | %if %{with evolution} |
b4b515ca | 414 | %files evolution |
415 | %defattr(644,root,root,755) | |
a4757434 | 416 | %{_libdir}/%{name}/Backends/Evolution*.dll |
a71c95fe | 417 | %endif |
b4b515ca | 418 | |
4c824a15 | 419 | %if %{with thunderbird} |
273f1f36 | 420 | %files icedove |
a4757434 | 421 | %defattr(644,root,root,755) |
422 | %{_libdir}/%{name}/Backends/Thunderbird*.dll | |
273f1f36 | 423 | %{_libdir}/icedove/extensions/{b656ef18-fd76-45e6-95cc-8043f26361e7} |
4c824a15 | 424 | %endif |
a4757434 | 425 | |
0217b850 | 426 | %if %{with epiphany} |
cbe6bf97 | 427 | %files -n epiphany-extension-beagle |
428 | %defattr(644,root,root,755) | |
50e3f6c4 MB |
429 | %attr(755,root,root) %{_libdir}/epiphany/2.24/extensions/beagle.py |
430 | %{_libdir}/epiphany/2.24/extensions/*.ephy-extension | |
1c9cdc87 | 431 | %endif |
a71c95fe | 432 | |
273f1f36 | 433 | %files -n iceweasel-extension-beagle |
28afbe66 | 434 | %defattr(644,root,root,755) |
273f1f36 | 435 | %{_datadir}/iceweasel/extensions/{fda00e13-8c62-4f63-9d19-d168115b11ca} |