]> git.pld-linux.org Git - packages/strigi.git/blame - strigi.spec
- don't package dead symlinks
[packages/strigi.git] / strigi.spec
CommitLineData
1253c3bb 1#
2# TODO:
1253c3bb 3# - what about strigi daemon?
4#
493bcf16 5Summary: Strigi desktop search
abba28fc 6Summary(pl.UTF-8): System wyszukiwania Strigi
1253c3bb 7Name: strigi
db4c1768 8Version: 0.5.5
cfd761d3 9Release: 2
1253c3bb 10License: GPL
11Group: X11/Applications
12Source0: http://www.vandenoever.info/software/strigi/%{name}-%{version}.tar.bz2
db4c1768 13# Source0-md5: bf61ec453f5e0063ea70ace783df3a14
1253c3bb 14URL: http://www.vandenoever.info/software/strigi/
15BuildRequires: autoconf
16BuildRequires: automake
17BuildRequires: cmake
18BuildRequires: rpmbuild(macros) >= 1.129
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
abba28fc
JB
22Here are the main features of Strigi Desktop Search: very fast
23crawling, very small memory footprint, no hammering of the system,
24pluggable backend (currently clucene and hyperestraier, sqlite3 and
25xapian are in the works), communication between daemon and search
26program over an abstract interface with two implementations: DBus and
27a simple unix socket. Especially the DBus interface makes it very easy
28to write client applications. There are a few sample scripts in the
29code using Perl, Python, GTK+ and Qt. Writing clients is so easy that
30any GNOME or KDE app could implement this. Additionally, there is a
31simple interface for implementing plugins for extracting information.
32We'll try to reuse the kat plugins, although native plugins will have
33a large speed advantage. Strigi also has calculation of sha1 for every
34file crawled which allows for fast finding of duplicate files.
493bcf16 35
abba28fc
JB
36%description -l pl.UTF-8
37Główne cechy systemu wyszukiwania Strigi to: bardzo szybkie
38przeglądanie, bardzo mały narzut pamięciowy, nieprzytykanie systemu,
39backend z obsługą wtyczek (aktualnie clucene i hyperestraier, sqlite3
40i xapian w trakcie rozwoju), komunikacja między demonem a programem
41wyszukującym po abstrakcyjnym interfejsie z dwiema implementacjami:
42DBus i prostym gdzieździe uniksowym. Zwłaszcza interfejs DBus znacznie
43ułatwia pisanie aplikacji klienckich. Istnieje kilka przykładowych
44skryptów napisanych z użyciem Perla, Pythona, GTK+ i Qt. Tworzenie
45klientów jest tak proste, że każda aplikacja GNOME czy KDE może to
46zaimplementować. Ponadto istnieje prosty interfejs do implementowania
47wtyczek do wydobywania informacji. Autorzy będą próbowali
48wykorzystywać wtyczki kata, ale natywne wtyczki będą miały większą
49szybkość. Strigi ma także obliczanie sha1 dla każdego przeglądanego
50pliku, co pozwala na szybkie znajdowanie duplikatów.
1253c3bb 51
52%package devel
493bcf16 53Summary: Header files for strigi
54Summary(pl.UTF-8): Pliki nagłówkowe dla strigi
55Group: Development/Libraries
56Requires: %{name} = %{version}-%{release}
1253c3bb 57
58%description devel
59Header files for strigi.
60
61%description devel -l pl.UTF-8
62Pliki nagłówkowe dla strigi.
63
64%prep
65%setup -q
66
67%build
68install -d build
69cd build
70%cmake \
ec27b71a 71 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
a52c8172 72 -DCMAKE_VERBOSE_MAKEFILE=1 \
ec27b71a 73%if "%{_lib}" == "lib64"
74 -DLIB_SUFFIX=64 \
75%endif
a52c8172 76 ..
1253c3bb 77
78%{__make}
79
80%install
81rm -rf $RPM_BUILD_ROOT
abba28fc
JB
82
83%{__make} -C build install \
1253c3bb 84 DESTDIR=$RPM_BUILD_ROOT
85
86%clean
87rm -rf $RPM_BUILD_ROOT
88
89%post -p /sbin/ldconfig
90%postun -p /sbin/ldconfig
91
92%files
93%defattr(644,root,root,755)
94%attr(755,root,root) %{_bindir}/*
a52c8172
JB
95%attr(755,root,root) %{_libdir}/libstreamanalyzer.so.*.*.*
96%attr(755,root,root) %ghost %{_libdir}/libstreamanalyzer.so.0
97%attr(755,root,root) %{_libdir}/libstreams.so.*.*.*
98%attr(755,root,root) %ghost %{_libdir}/libstreams.so.0
a52c8172
JB
99%dir %{_datadir}/strigi
100%{_datadir}/strigi/fieldproperties
1253c3bb 101
102%files devel
103%defattr(644,root,root,755)
a52c8172
JB
104%attr(755,root,root) %{_libdir}/libstreamanalyzer.so
105%attr(755,root,root) %{_libdir}/libstreams.so
1253c3bb 106%dir %{_includedir}/strigi
107%{_includedir}/strigi/*.h
a52c8172
JB
108%{_pkgconfigdir}/libstreamanalyzer.pc
109%{_pkgconfigdir}/libstreams.pc
This page took 0.135857 seconds and 4 git commands to generate.