c2cb161
Name:           doodle
ee28fb0
Version:        0.6.7
a450001
Release:        6%{?dist}
c2cb161
Summary:        Doodle is a tool to quickly search the documents on a computer
c2cb161
c2cb161
Group:          Applications/File
28769e9
License:        GPLv2+
c2cb161
URL:            http://gnunet.org/doodle/
7f69339
Source0:        http://gnunet.org/doodle/download/%{name}-%{version}.tar.bz2
c2cb161
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c2cb161
c2cb161
BuildRequires:  libextractor-devel gettext gamin-devel
c2cb161
c2cb161
%package devel
c2cb161
Summary:        Development files for %{name}
c2cb161
Group:          Development/Libraries
c2cb161
Requires:       %{name} = %{version}-%{release} pkgconfig
c2cb161
c2cb161
%description
c2cb161
Doodle is a tool to quickly search the documents on a computer. Doodle builds
c2cb161
an index using meta-data contained in the documents and allows fast searches on
c2cb161
the resulting database. Doodle uses libextractor to support obtaining meta-data
c2cb161
from various file-formats. The database used by doodle is a suffix tree,
c2cb161
resulting in fast lookups. Doodle supports approximate searches.
c2cb161
c2cb161
%description devel
c2cb161
The %{name}-devel package contains header file for
c2cb161
developing applications that use %{name}.
c2cb161
c2cb161
%prep
c2cb161
%setup -q
28769e9
sed -i 's#O_CREAT | ##' src/doodle/doodled.c
c2cb161
c2cb161
%build
c2cb161
%configure --disable-rpath --disable-static
9d99112
make #%{?_smp_mflags}
c2cb161
c2cb161
c2cb161
%install
c2cb161
rm -rf $RPM_BUILD_ROOT
c2cb161
make install DESTDIR=$RPM_BUILD_ROOT
c2cb161
rm $RPM_BUILD_ROOT%{_libdir}/libdoodle.la
c2cb161
%find_lang %{name}
c2cb161
c2cb161
c2cb161
%clean
c2cb161
rm -rf $RPM_BUILD_ROOT
c2cb161
c2cb161
%post -p /sbin/ldconfig
c2cb161
%postun -p /sbin/ldconfig
c2cb161
c2cb161
%files -f %{name}.lang
c2cb161
%defattr(-,root,root,-)
c2cb161
%{_bindir}/%{name}*
c2cb161
%{_libdir}/lib%{name}.so.*
c2cb161
%{_mandir}/man*/*%{name}*
c2cb161
c2cb161
%doc AUTHORS ChangeLog COPYING NEWS PLATFORMS README 
c2cb161
c2cb161
%files devel
c2cb161
%{_includedir}/%{name}.h
c2cb161
%{_libdir}/lib%{name}.so
c2cb161
%{_libdir}/pkgconfig/%{name}.pc
c2cb161
c2cb161
%changelog
a450001
* Tue Feb 02 2010 Jesse Keating <jkeating@redhat.com> - 0.6.7-6
a450001
- Rebuild for deps
a450001
7f69339
* Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 0.6.7-5
7f69339
- Use bzipped upstream tarball.
7f69339
e2ef17d
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.7-4
e2ef17d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e2ef17d
d85f629
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.7-3
d85f629
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d85f629
9d99112
* Fri Feb 08 2008 Karol Trzcionka <karlikt at gmail.com> - 0.6.7-2
9d99112
- respin (gcc43)
ee28fb0
* Sun Dec 09 2007 Karol Trzcionka <karlikt at gmail.com> - 0.6.7-1
ee28fb0
- Update to v0.6.7
28769e9
* Sun Aug 26 2007 Karol Trzcionka <karlikt at gmail.com> - 0.6.6-3
28769e9
- Fixed using open function
c2cb161
* Thu Jan 04 2007 Karol Trzcionka <karlikt at gmail.com> - 0.6.6-2
c2cb161
- Fixed problem with doodled
c2cb161
* Thu Jan 04 2007 Karol Trzcionka <karlikt at gmail.com> - 0.6.6-1
c2cb161
- Initial Release