tracker.spec revision 13875
12258N/A#
12258N/A# spec file for package tracker
12258N/A#
12412N/A# Copyright 2008 Sun Microsystems, Inc.
12258N/A# This file and all modifications and additions to the pristine
12258N/A# package are under the same license as the package itself.
12258N/A#
13305N/A# Owner:jerrytan
12258N/A#
12258N/A
12258N/AName: tracker
12258N/ALicense: GPL
12258N/AGroup: Applications/System
12517N/AVersion: 0.6.6
12258N/ARelease: 1
12258N/ADistribution: Java Desktop System
12258N/AVendor: Sun Microsystems, Inc.
12258N/AURL: http://www.tracker-project.org
12258N/ASummary: Desktop search tool
12258N/ASource: http://www.gnome.org/~jamiemcc/tracker/tracker-%{version}.tar.bz2
12773N/A%if %build_l10n
12773N/ASource1: l10n-configure.sh
12773N/A%endif
12258N/A# date:2008-01-23 owner:jerrytan type:branding
12258N/APatch1: %{name}-01-w3m-crash.diff
12258N/A# date:2008-01-23 owner:halton type:branding
12258N/APatch2: %{name}-02-disable-autostart.diff
12517N/A# date:2008-01-23 owner:jerrytan type:branding
12517N/APatch3: %{name}-03-man.diff
12258N/A# date:2008-01-23 owner:halton type:bug bugzilla:503725,503727,503960,503966,504000
12258N/APatch4: %{name}-04-tp-reindex.diff
12258N/A# date:2008-01-23 owner:halton type:bug bugzilla:503376
12258N/APatch5: %{name}-05-evo-reload.diff
12474N/A# date:2008-01-23 owner:migi type:feature
12258N/APatch6: %{name}-06-thunderbird.diff
12258N/A# date:2008-01-23 owner:rickju type:bug bugzilla:511474
12517N/APatch7: %{name}-07-check-remote.diff
13032N/A# date:2008-04-10 owner:jerrytan type:branding
12820N/APatch8: %{name}-08-enable-webhistory.diff
13759N/A# date:2008-08-04 owner:jerrytan type:bug bugster:6731359
13759N/APatch9: tracker-09-avoid-thumbnailer-crash.diff
13851N/A# date:2008-08-13 owner:fujiwara type:bug bugster:6687422 state:upstream
13851N/APatch10: tracker-10-po.diff
13759N/A
12258N/ABuildRoot: %{_tmppath}/%{name}-%{version}-root
12258N/A
12258N/ABuildRequires: gmime-devel, poppler-devel, gettext
12258N/ABuildRequires: gnome-desktop-devel, gamin-devel
12258N/ABuildRequires: libexif-devel, libgsf-devel, gstreamer-devel
12258N/ABuildRequires: desktop-file-utils, intltool
12258N/ABuildRequires: sqlite-devel
12258N/ABuildRequires: dbus-devel, dbus-glib
12258N/A
12258N/A
12258N/A%description
12258N/ATracker is a powerful desktop-neutral first class object database,
12258N/Atag/metadata database, search tool and indexer.
12258N/A
12258N/AIt consists of a common object database that allows entities to have an
12258N/Aalmost infinte number of properties, metadata (both embedded/harvested as
12258N/Awell as user definable), a comprehensive database of keywords/tags and
12258N/Alinks to other entities.
12258N/A
12258N/AIt provides additional features for file based objects including context
12258N/Alinking and audit trails for a file object.
12258N/A
12258N/AIt has the ability to index, store, harvest metadata. retrieve and search
12258N/Aall types of files and other first class objects
12258N/A
12258N/A%package devel
12258N/ASummary: Headers for developing programs that will use %{name}
12258N/AGroup: Development/Libraries
12258N/ARequires: %{name} = %{version}-%{release}
12258N/ARequires: pkgconfig
12258N/A
12258N/A%description devel
12258N/AThis package contains the static libraries and header files needed for
12258N/Adeveloping with tracker
12258N/A
12258N/A%prep
12258N/A%setup -q
12258N/A%patch1 -p1
13875N/A%if %option_with_sun_branding
12258N/A%patch2 -p1
13875N/A%endif
13708N/A%patch3 -p1
12258N/A%patch4 -p1
12258N/A%patch5 -p1
12258N/A%patch6 -p1
12517N/A%patch7 -p1
12820N/A%patch8 -p1
13759N/A%patch9 -p1
13851N/A%patch10 -p1
12258N/A
12258N/A%build
12258N/A%ifos linux
12258N/Aif [ -x /usr/bin/getconf ]; then
12258N/A CPUS=`getconf _NPROCESSORS_ONLN`
12258N/Afi
12258N/A%else
12258N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
12258N/A%endif
12258N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
12258N/A CPUS=1
12258N/Afi
12258N/A
12258N/Aintltoolize --force --automake
12773N/A
12773N/A%if %build_l10n
12773N/Abash -x %SOURCE1 --enable-copyright
12773N/A%endif
12773N/A
12258N/Alibtoolize --force
12258N/Aaclocal $ACLOCAL_FLAGS -I .
12258N/Aautoheader
12258N/Aautomake -a -c -f
12258N/Aautoconf
12258N/A
12258N/A./configure --prefix=%{_prefix} \
12258N/A --bindir=%{_bindir} \
12258N/A --mandir=%{_mandir} \
12258N/A --libdir=%{_libdir} \
12258N/A --datadir=%{_datadir} \
12258N/A --includedir=%{_includedir} \
12258N/A --sysconfdir=%{_sysconfdir} \
12258N/A --disable-warnings \
12258N/A --enable-external-sqlite \
12258N/A
12258N/Amake -j $CPUS
12258N/A
12258N/A%install
12258N/Aexport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
12258N/Amake -i install DESTDIR=$RPM_BUILD_ROOT
12258N/Aunset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
12258N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
12258N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
12258N/A
12258N/A%clean
12258N/Arm -rf $RPM_BUILD_ROOT
12258N/A
12258N/A%post
12258N/A/sbin/ldconfig
12258N/A
12258N/A%postun
12258N/A/sbin/ldconfig
12258N/A
12258N/A%files
12258N/A%defattr(-, root, root)
12258N/A%doc AUTHORS ChangeLog COPYING NEWS README
12258N/A%{_bindir}/htmless
12258N/A%{_bindir}/tracker*
12258N/A%{_datadir}/tracker/
12258N/A%{_datadir}/pixmaps/tracker/
12258N/A%{_datadir}/dbus-1/services/tracker.service
12258N/A%{_libdir}/*.so.*
12258N/A%{_mandir}/man1/tracker*.1.gz
12258N/A%{_sysconfdir}/xdg/autostart/trackerd.desktop
12258N/A
12258N/A%files devel
12258N/A%defattr(-, root, root)
12258N/A%{_includedir}/tracker*
12258N/A%{_libdir}/*.so
12258N/A%{_libdir}/pkgconfig/*.pc
12258N/A
12258N/A%changelog
13851N/A* Wed Aug 13 2008 - takao.fujiwara@sun.com
13851N/A- Add tracker-10-po.diff from community trunk.
12517N/A* Mon Mar 03 2008 - halton.huo@sun.com
12517N/A- Bump to 0.6.6
12517N/A- Remove upstreamed patch r1071-latest.diff and firefox-history.diff, reorder
12474N/A* Wed Feb 27 2008 - halton.huo@sun.com
12474N/A- Update comment for thunderbird.diff and firefox-history.diff to type:feature
12457N/A* Tue Feb 26 2008 - halton.huo@sun.com
12457N/A- Update comment for r1071-latest.diff to type:feature state:upstream
12258N/A* Wed Jan 23 2008 - nonsea@users.sourceforge.net
12258N/A- Remove upstreamed patch preferences-explicit-apply.diff
12258N/A- Add temporary patch tp-reindex.diff
12258N/A* Tue Jan 22 2008 - nonsea@users.sourceforge.net
12258N/A- Add patch preferences-explicit-apply.diff
12258N/A- Add patch evo-reload.diff
12258N/A- Add patch man.diff
12258N/A- Rename r1071-r1092.diff to r1071-latest.diff
12258N/A- Reorder patches.
12258N/A* Thu Jan 03 2008 - nonsea@users.sourceforge.net
12258N/A- Add patch disable-autostart.diff
12258N/A- Add patch check-remote.diff
12258N/A- Add patch r1071-r1092.diff
12258N/A* Sat Nov 17 2007 - daymobrew@users.sourceforge.net
12258N/A- Unbump to 0.6.3 and remove obsolete patch, 02-thunderbird.
12258N/A* Fri Nov 02 2007 - nonsea@users.sourceforge.net
12258N/A- Initial version, spilit from SFEtracker.spec