2 # - move doodled to separate package (maybe some initscript?)
5 %bcond_without static_libs # don't build static library
7 Summary: A tool to search the meta-data in your files via a database
8 Summary(pl.UTF-8): Narzędzie do szybkiego przeszukiwania dokumentów w specjalnej bazie danych
14 Source0: http://gnunet.org/doodle/download/%{name}-%{version}.tar.gz
15 # Source0-md5: 2ff179e8ec2af74937681ece8cc43b68
16 URL: http://gnunet.org/doodle/
17 BuildRequires: autoconf >= 2.57
18 BuildRequires: automake
19 BuildRequires: bzip2-devel
20 BuildRequires: fam-devel
21 BuildRequires: gettext-tools >= 0.14.5
22 BuildRequires: libextractor-devel
23 BuildRequires: libtool
24 Requires: %{name}-libs = %{version}-%{release}
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Doodle is a tool to quickly search the documents on a computer. Doodle
29 builds an index using meta-data contained in the documents and allows
30 fast searches on the resulting database.
32 %description -l pl.UTF-8
33 Doodle to narzędzie do szybkiego wyszukiwania dokumentów w komputerze.
34 W tym celu buduje indeks, korzystając z metadanych zawartych w
35 dokumentach, po czym umożliwia szybkie przeszukiwanie tak powstałej
39 Summary: doodle - header files
40 Summary(pl.UTF-8): doodle - pliki nagłówkowe
41 Group: Development/Libraries
42 Requires: %{name}-libs = %{version}-%{release}
45 This is the package containing the header files for doodle.
47 %description devel -l pl.UTF-8
48 Ten pakiet zawiera pliki nagłówkowe doodle'a.
51 Summary: Doodle library
52 Summary(pl.UTF-8): Biblioteka doodle'a
58 %description libs -l pl.UTF-8
62 Summary: Doodle - static library
63 Summary(pl.UTF-8): Biblioteka statyczna doodle'a
64 Group: Development/Libraries
65 Requires: %{name}-devel = %{version}-%{release}
68 Static doodle library.
70 %description static -l pl.UTF-8
71 Biblioteka statyczna doodle'a.
78 %{__libtoolize} --ltdl
84 %{?with_static_libs:--enable-static}
89 rm -rf $RPM_BUILD_ROOT
92 DESTDIR=$RPM_BUILD_ROOT
97 rm -rf $RPM_BUILD_ROOT
99 %post libs -p /sbin/ldconfig
100 %postun libs -p /sbin/ldconfig
102 %files -f %{name}.lang
103 %defattr(644,root,root,755)
104 %doc AUTHORS ChangeLog NEWS README
105 %attr(755,root,root) %{_bindir}/doodle*
106 %{_mandir}/man1/doodle*
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/lib*.so
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/lib*.so.*.*
120 %defattr(644,root,root,755)