c2cb161
Name:           doodle
717b7be
Version:        0.7.0
a137690
Release:        2%{?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/
717b7be
Source0:        http://gnunet.org/doodle/download/%{name}-%{version}.tar.gz
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
717b7be
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
717b7be
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
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
a137690
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-2
a137690
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a137690
717b7be
* Sat Feb 27 2010 Karol Trzcionka <karlikt at gmail.com> - 0.7.0-1
717b7be
- Update to v0.7.0
717b7be
- Fix rpath (delete)
717b7be
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