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