]> git.pld-linux.org Git - packages/strigi.git/blame - strigi.spec
- proper libsuffix for 64bit architectures
[packages/strigi.git] / strigi.spec
CommitLineData
1253c3bb 1#
2# TODO:
3# - pl
4# - what about strigi daemon?
5#
493bcf16 6Summary: Strigi desktop search
7#Summary(pl.UTF-8): Strigi
1253c3bb 8Name: strigi
9Version: 0.5.1
ec27b71a 10Release: 2
1253c3bb 11License: GPL
12Group: X11/Applications
13Source0: http://www.vandenoever.info/software/strigi/%{name}-%{version}.tar.bz2
14# Source0-md5: b976b4f3cf451fc53cd773c338d78994
15URL: http://www.vandenoever.info/software/strigi/
16BuildRequires: autoconf
17BuildRequires: automake
18BuildRequires: cmake
19BuildRequires: rpmbuild(macros) >= 1.129
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
493bcf16 23Strigi Desktop Search
24
25Here are the main features of Strigi: very fast crawling very small
26memory footprint no hammering of the system pluggable backend,
27currently clucene and hyperestraier, sqlite3 and xapian are in the
28works communication between daemon and search program over an abstract
29interface with two implementations: DBus and a simple unix socket.
30Especially the DBus interface makes it very easy to write client
31applications. There are a few sample scripts in the code using Perl,
32Python, GTK and Qt. Writing clients is so easy that any Gnome or KDE
33app could implement this. Aditionally, there is a simple interface for
34implementing plugins for extracting information. We'll try to reuse
35the kat plugins, although native plugins will have a large speed
36advantage. Strigi also has calculation of sha1 for every file crawled
37which allows for fast finding of duplicate files.
1253c3bb 38
39#%description -l pl.UTF-8
40
41%package devel
493bcf16 42Summary: Header files for strigi
43Summary(pl.UTF-8): Pliki nagłówkowe dla strigi
44Group: Development/Libraries
45Requires: %{name} = %{version}-%{release}
1253c3bb 46
47%description devel
48Header files for strigi.
49
50%description devel -l pl.UTF-8
51Pliki nagłówkowe dla strigi.
52
53%prep
54%setup -q
55
56%build
57install -d build
58cd 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
69rm -rf $RPM_BUILD_ROOT
70cd build
71%{__make} install \
72 DESTDIR=$RPM_BUILD_ROOT
73
74%clean
75rm -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
This page took 0.097217 seconds and 4 git commands to generate.