]>
Commit | Line | Data |
---|---|---|
1253c3bb | 1 | # |
2 | # TODO: | |
3 | # - pl | |
4 | # - what about strigi daemon? | |
5 | # | |
493bcf16 | 6 | Summary: Strigi desktop search |
7 | #Summary(pl.UTF-8): Strigi | |
1253c3bb | 8 | Name: strigi |
9 | Version: 0.5.1 | |
ec27b71a | 10 | Release: 2 |
1253c3bb | 11 | License: GPL |
12 | Group: X11/Applications | |
13 | Source0: http://www.vandenoever.info/software/strigi/%{name}-%{version}.tar.bz2 | |
14 | # Source0-md5: b976b4f3cf451fc53cd773c338d78994 | |
15 | URL: http://www.vandenoever.info/software/strigi/ | |
16 | BuildRequires: autoconf | |
17 | BuildRequires: automake | |
18 | BuildRequires: cmake | |
19 | BuildRequires: rpmbuild(macros) >= 1.129 | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
493bcf16 | 23 | Strigi Desktop Search |
24 | ||
25 | Here are the main features of Strigi: very fast crawling very small | |
26 | memory footprint no hammering of the system pluggable backend, | |
27 | currently clucene and hyperestraier, sqlite3 and xapian are in the | |
28 | works communication between daemon and search program over an abstract | |
29 | interface with two implementations: DBus and a simple unix socket. | |
30 | Especially the DBus interface makes it very easy to write client | |
31 | applications. There are a few sample scripts in the code using Perl, | |
32 | Python, GTK and Qt. Writing clients is so easy that any Gnome or KDE | |
33 | app could implement this. Aditionally, there is a simple interface for | |
34 | implementing plugins for extracting information. We'll try to reuse | |
35 | the kat plugins, although native plugins will have a large speed | |
36 | advantage. Strigi also has calculation of sha1 for every file crawled | |
37 | which allows for fast finding of duplicate files. | |
1253c3bb | 38 | |
39 | #%description -l pl.UTF-8 | |
40 | ||
41 | %package devel | |
493bcf16 | 42 | Summary: Header files for strigi |
43 | Summary(pl.UTF-8): Pliki nagłówkowe dla strigi | |
44 | Group: Development/Libraries | |
45 | Requires: %{name} = %{version}-%{release} | |
1253c3bb | 46 | |
47 | %description devel | |
48 | Header files for strigi. | |
49 | ||
50 | %description devel -l pl.UTF-8 | |
51 | Pliki nagłówkowe dla strigi. | |
52 | ||
53 | %prep | |
54 | %setup -q | |
55 | ||
56 | %build | |
57 | install -d build | |
58 | cd build | |
59 | %cmake \ | |
ec27b71a | 60 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ |
61 | %if "%{_lib}" == "lib64" | |
62 | -DLIB_SUFFIX=64 \ | |
63 | %endif | |
64 | ../ | |
1253c3bb | 65 | |
66 | %{__make} | |
67 | ||
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | cd build | |
71 | %{__make} install \ | |
72 | DESTDIR=$RPM_BUILD_ROOT | |
73 | ||
74 | %clean | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %post -p /sbin/ldconfig | |
78 | %postun -p /sbin/ldconfig | |
79 | ||
80 | %files | |
81 | %defattr(644,root,root,755) | |
82 | %attr(755,root,root) %{_bindir}/* | |
ec27b71a | 83 | %attr(755,root,root) %{_libdir}/*.so* |
84 | %dir %{_libdir}/strigi | |
85 | %attr(755,root,root) %{_libdir}/strigi/*.so | |
1253c3bb | 86 | |
87 | %files devel | |
88 | %defattr(644,root,root,755) | |
89 | %dir %{_includedir}/strigi | |
90 | %{_includedir}/strigi/*.h | |
ec27b71a | 91 | %{_pkgconfigdir}/*.pc |
1253c3bb | 92 | %dir %{_datadir}/strigi |
93 | %{_datadir}/strigi/fieldproperties |