Name: doodle
Version: 0.6.7
Release: 1%{?dist}
Summary: Doodle is a tool to quickly search the documents on a computer
Group: Applications/File
License: GPLv2+
URL: http://gnunet.org/doodle/
Source0: http://gnunet.org/doodle/download/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libextractor-devel gettext gamin-devel
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release} pkgconfig
%description
Doodle is a tool to quickly search the documents on a computer. Doodle builds
an index using meta-data contained in the documents and allows fast searches on
the resulting database. Doodle uses libextractor to support obtaining meta-data
from various file-formats. The database used by doodle is a suffix tree,
resulting in fast lookups. Doodle supports approximate searches.
%description devel
The %{name}-devel package contains header file for
developing applications that use %{name}.
%prep
%setup -q
sed -i 's#O_CREAT | ##' src/doodle/doodled.c
%build
%configure --disable-rpath --disable-static
make #%{_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/libdoodle.la
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/%{name}*
%{_libdir}/lib%{name}.so.*
%{_mandir}/man*/*%{name}*
%doc AUTHORS ChangeLog COPYING NEWS PLATFORMS README
%files devel
%{_includedir}/%{name}.h
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Sun Dec 09 2007 Karol Trzcionka <karlikt at gmail.com> - 0.6.7-1
- Update to v0.6.7
* Sun Aug 26 2007 Karol Trzcionka <karlikt at gmail.com> - 0.6.6-3
- Fixed using open function
* Thu Jan 04 2007 Karol Trzcionka <karlikt at gmail.com> - 0.6.6-2
- Fixed problem with doodled
* Thu Jan 04 2007 Karol Trzcionka <karlikt at gmail.com> - 0.6.6-1
- Initial Release