From 8fbebb63bb9e65de869f8547c4f78f73a554091d Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Thu, 9 Nov 2006 16:08:21 +0000 Subject: [PATCH] auto-import tracker-0.5.1-1 on branch devel from tracker-0.5.1-1.src.rpm --- .cvsignore | 1 + sources | 1 + tracker.spec | 120 +++++++++++++++++++++++++++++++++++++++++++++++ trackerd.desktop | 10 ++++ 4 files changed, 132 insertions(+) create mode 100644 tracker.spec create mode 100644 trackerd.desktop diff --git a/.cvsignore b/.cvsignore index e69de29..05a5912 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +tracker-0.5.1.tar.gz diff --git a/sources b/sources index e69de29..8bf10b7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +133f836b1fa768aac9fc8d3255176da5 tracker-0.5.1.tar.gz diff --git a/tracker.spec b/tracker.spec new file mode 100644 index 0000000..d611133 --- /dev/null +++ b/tracker.spec @@ -0,0 +1,120 @@ +Summary: An object database, tag/metadata database, search tool and indexer +Name: tracker +Version: 0.5.1 +Release: 1%{?dist} +License: GPL +Group: Applications/System +URL: http://www.gnome.org/~jamiemcc/tracker/ +Source0: http://www.gnome.org/~jamiemcc/tracker/tracker-%{version}.tar.gz +Source1: trackerd.desktop +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: gmime-devel, poppler-devel, gettext +BuildRequires: gnome-desktop-devel, gamin-devel +BuildRequires: libexif-devel, libgsf-devel, gstreamer-devel +%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 + +%package devel +Summary: Headers for developing programs that will use %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +This package contains the static libraries and header files needed for +developing with tracker + +%prep +%setup -q + +%build +%if "%fedora" >= "6" +%configure --disable-static --enable-external-sqlite +%else +%configure --disable-static +%endif +# make %{?_smp_mflags} fails +make + + +%install +rm -rf %{buildroot} +make DESTDIR=%{buildroot} install + +# Add an autostart for trackerd +mkdir -p %{buildroot}%{_sysconfdir}/xdg/autostart +cp %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/autostart/ + +rm -rf %{buildroot}%{_libdir}/*.la + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-, root, root, -) +%doc AUTHORS ChangeLog COPYING NEWS README +%{_bindir}/htmless +%{_bindir}/o3totxt +%{_bindir}/tracker* +%{_datadir}/tracker/ +%{_datadir}/pixmaps/tracker/ +%{_datadir}/dbus-1/services/tracker.service +%{_libdir}/*.so.* +%{_mandir}/man1/tracker*.1.gz +%{_sysconfdir}/xdg/autostart/trackerd.desktop + +%files devel +%defattr(-, root, root, -) +%{_includedir}/tracker* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + +%changelog +* Mon Nov 06 2006 Deji Akingunola - 0.5.1-1 +- Update to new version + +* Mon Nov 06 2006 Deji Akingunola - 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 - 0.5.0-6 +- Explicitly require dbus-devel and dbus-glib (needed for FC < 6) + +* Sun Nov 05 2006 Deji Akingunola - 0.5.0-5 +- Remove unneeded BRs (gnome-utils-devel and openssl-devel) + +* Sun Nov 05 2006 Deji Akingunola - 0.5.0-4 +- Add autostart desktop file. +- Edit the package description as suggested in review + +* Sat Nov 04 2006 Deji Akingunola - 0.5.0-3 +- More cleaups to the spec file. + +* Sat Nov 04 2006 Deji Akingunola - 0.5.0-2 +- Add needed BRs + +* Sat Nov 04 2006 Deji Akingunola - 0.5.0-1 +- Initial packaging for Fedora Extras diff --git a/trackerd.desktop b/trackerd.desktop new file mode 100644 index 0000000..5578dd4 --- /dev/null +++ b/trackerd.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Tracker +Comment=Tracker indexer and search tool daemon +Icon= +Exec=trackerd +Terminal=false +Type=Application +Categories= +X-GNOME-Autostart-enabled=true