2007-01-27 19:20:11 +00:00
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
2006-11-09 16:08:21 +00:00
|
|
|
Summary: An object database, tag/metadata database, search tool and indexer
|
|
|
|
Name: tracker
|
2007-01-27 19:20:11 +00:00
|
|
|
Version: 0.5.4
|
2006-12-26 14:07:51 +00:00
|
|
|
Release: 1%{?dist}
|
2006-11-09 16:08:21 +00:00
|
|
|
License: GPL
|
|
|
|
Group: Applications/System
|
|
|
|
URL: http://www.gnome.org/~jamiemcc/tracker/
|
|
|
|
Source0: http://www.gnome.org/~jamiemcc/tracker/tracker-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2007-01-27 19:20:11 +00:00
|
|
|
BuildRequires: gmime-devel, poppler-devel, gettext, file-devel
|
2006-11-09 16:08:21 +00:00
|
|
|
BuildRequires: gnome-desktop-devel, gamin-devel
|
|
|
|
BuildRequires: libexif-devel, libgsf-devel, gstreamer-devel
|
2006-11-21 07:43:59 +00:00
|
|
|
BuildRequires: desktop-file-utils, intltool
|
2006-11-09 16:08:21 +00:00
|
|
|
%if "%fedora" >= "6"
|
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
%else
|
|
|
|
BuildRequires: dbus-devel, dbus-glib
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
Tracker is a powerful desktop-neutral first class object database,
|
|
|
|
tag/metadata database, search tool and indexer.
|
|
|
|
|
|
|
|
It consists of a common object database that allows entities to have an
|
|
|
|
almost infinte number of properties, metadata (both embedded/harvested as
|
|
|
|
well as user definable), a comprehensive database of keywords/tags and
|
|
|
|
links to other entities.
|
|
|
|
|
|
|
|
It provides additional features for file based objects including context
|
|
|
|
linking and audit trails for a file object.
|
|
|
|
|
|
|
|
It has the ability to index, store, harvest metadata. retrieve and search
|
|
|
|
all types of files and other first class objects
|
|
|
|
|
2006-11-09 16:24:03 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Headers for developing programs that will use %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
2006-11-09 16:08:21 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the static libraries and header files needed for
|
|
|
|
developing with tracker
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2007-01-27 19:20:11 +00:00
|
|
|
sed -i '/^#!\/usr\/bin\/python/ d' python/deskbar-handler/*.py
|
2006-11-09 16:08:21 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%if "%fedora" >= "6"
|
|
|
|
%configure --disable-static --enable-external-sqlite
|
|
|
|
%else
|
|
|
|
%configure --disable-static
|
|
|
|
%endif
|
|
|
|
# make %{?_smp_mflags} fails
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
2007-01-27 19:20:11 +00:00
|
|
|
make DESTDIR=%{buildroot} DESKBAR_HANDLER_DIR=%{python_sitelib}/deskbar install
|
2006-11-09 16:08:21 +00:00
|
|
|
|
2006-11-21 07:43:59 +00:00
|
|
|
# Add an autostart for trackerd (for KDE)
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/autostart
|
|
|
|
cp -pr trackerd.desktop %{buildroot}%{_datadir}/autostart/
|
|
|
|
|
|
|
|
desktop-file-install --delete-original \
|
|
|
|
--vendor="fedora" \
|
|
|
|
--dir=%{buildroot}%{_datadir}/applications \
|
|
|
|
%{buildroot}%{_datadir}/applications/%{name}-search-tool.desktop
|
2006-11-09 16:08:21 +00:00
|
|
|
|
|
|
|
rm -rf %{buildroot}%{_libdir}/*.la
|
|
|
|
|
2006-11-21 07:43:59 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
2006-11-09 16:08:21 +00:00
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2006-11-21 07:43:59 +00:00
|
|
|
%files -f %{name}.lang
|
2006-11-09 16:08:21 +00:00
|
|
|
%defattr(-, root, root, -)
|
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
|
%{_bindir}/htmless
|
|
|
|
%{_bindir}/o3totxt
|
|
|
|
%{_bindir}/tracker*
|
|
|
|
%{_datadir}/tracker/
|
|
|
|
%{_datadir}/pixmaps/tracker/
|
2006-11-21 07:43:59 +00:00
|
|
|
%{_datadir}/applications/*.desktop
|
2006-11-09 16:08:21 +00:00
|
|
|
%{_datadir}/dbus-1/services/tracker.service
|
2006-11-21 07:43:59 +00:00
|
|
|
%{_datadir}/autostart/*.desktop
|
2006-11-09 16:08:21 +00:00
|
|
|
%{_libdir}/*.so.*
|
2006-12-26 14:07:51 +00:00
|
|
|
%{_libdir}/tracker/
|
2007-01-27 19:20:11 +00:00
|
|
|
%{python_sitelib}/deskbar/*.py*
|
2006-11-09 16:08:21 +00:00
|
|
|
%{_mandir}/man1/tracker*.1.gz
|
|
|
|
%{_sysconfdir}/xdg/autostart/trackerd.desktop
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
%{_includedir}/tracker*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%changelog
|
2007-01-27 19:20:11 +00:00
|
|
|
* Sat Jan 27 2007 Deji Akingunola <dakingun@gmail.com> - 0.5.4-1
|
|
|
|
- Update to 0.5.4
|
|
|
|
|
2006-12-26 14:07:51 +00:00
|
|
|
* Tue Dec 26 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.3-1
|
|
|
|
- Update to 0.5.3
|
|
|
|
|
2006-11-27 23:19:59 +00:00
|
|
|
* Mon Nov 27 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.2-2
|
|
|
|
- Apply patch on Makefile.am instead of Makefile.in
|
2006-11-28 00:06:49 +00:00
|
|
|
- Add libtool to BR
|
2006-11-27 23:19:59 +00:00
|
|
|
|
2006-11-21 07:43:59 +00:00
|
|
|
* Mon Nov 06 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.2-1
|
|
|
|
- Update to 0.5.2
|
|
|
|
|
2006-11-09 16:08:21 +00:00
|
|
|
* Mon Nov 06 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.1-1
|
|
|
|
- Update to new version
|
|
|
|
|
|
|
|
* Mon Nov 06 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-7
|
|
|
|
- Have the devel subpackage require pkgconfig
|
|
|
|
- Make the description field not have more than 76 characters on a line
|
|
|
|
- Fix up the RPM group
|
|
|
|
|
|
|
|
* Mon Nov 06 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-6
|
|
|
|
- Explicitly require dbus-devel and dbus-glib (needed for FC < 6)
|
|
|
|
|
|
|
|
* Sun Nov 05 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-5
|
|
|
|
- Remove unneeded BRs (gnome-utils-devel and openssl-devel)
|
|
|
|
|
|
|
|
* Sun Nov 05 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-4
|
|
|
|
- Add autostart desktop file.
|
|
|
|
- Edit the package description as suggested in review
|
|
|
|
|
|
|
|
* Sat Nov 04 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-3
|
|
|
|
- More cleaups to the spec file.
|
|
|
|
|
|
|
|
* Sat Nov 04 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-2
|
|
|
|
- Add needed BRs
|
|
|
|
|
|
|
|
* Sat Nov 04 2006 Deji Akingunola <dakingun@gmail.com> - 0.5.0-1
|
|
|
|
- Initial packaging for Fedora Extras
|