|
@@ -2,7 +2,7 @@ Summary: An object database, tag/metadata database, search tool and indexer
|
|
|
Summary(ja): オブジェクト/タグ/メタデータデータベースおよび検索ツール
|
|
|
Name: tracker
|
|
|
Version: 0.8.16
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Release: 3%{?_dist_release}
|
|
|
License: GPL
|
|
|
Group: Applications/System
|
|
|
URL: http://www.gnome.org/projects/tracker/
|
|
@@ -10,12 +10,16 @@ URL: http://www.gnome.org/projects/tracker/
|
|
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/tracker/0.8/tracker-%{version}.tar.bz2
|
|
|
|
|
|
Patch0: tracker-ldfind.patch
|
|
|
+Patch1: tracker-0.8.16-poppler-0.15.patch
|
|
|
|
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: glib2-devel >= 2.24.0
|
|
|
BuildRequires: gtk2-devel >= 2.20.0
|
|
|
BuildRequires: gnome-panel-devel
|
|
|
-BuildRequires: gmime-devel >= 2.4, poppler-devel, gettext, file
|
|
|
+BuildRequires: gmime-devel >= 2.4
|
|
|
+BuildRequires: poppler-devel
|
|
|
+BuildRequires: gettext
|
|
|
+BuildRequires: file
|
|
|
BuildRequires: gnome-desktop-devel, gamin-devel
|
|
|
BuildRequires: libexif-devel, libgsf-devel, totem-pl-parser-devel
|
|
|
BuildRequires: gstreamer-devel
|
|
@@ -34,6 +38,7 @@ BuildRequires: libgee-devel
|
|
|
BuildRequires: upower-devel
|
|
|
BuildRequires: gnome-applets
|
|
|
BuildRequires: libgee-devel >= 0.3
|
|
|
+BuildRequires: nautilus-devel
|
|
|
## BuildRequires: autoconf, automake
|
|
|
|
|
|
%description
|
|
@@ -73,7 +78,7 @@ GNOME libraries
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-## %patch0 -p0 -b .ld
|
|
|
+%patch1 -p1 -b .poppler
|
|
|
|
|
|
# remove shebangs from the python files as none should be executable scripts
|
|
|
## sed -e '/^#!\//,1 d' -i python/deskbar-handler/*.py
|
|
@@ -91,8 +96,6 @@ GNOME libraries
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
|
-# make %{?_smp_mflags} fails
|
|
|
-# %__make
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
@@ -110,6 +113,7 @@ desktop-file-install --delete-original \
|
|
|
%{buildroot}%{_datadir}/applications/%{name}-search-tool.desktop
|
|
|
|
|
|
rm -rf %{buildroot}%{_libdir}/*.{a,la}
|
|
|
+rm -f %{buildroot}%{_libdir}/nautilus/extensions-*/*.la
|
|
|
rm -rf %{buildroot}%{_datadir}/tracker-tests
|
|
|
|
|
|
%find_lang %{name}
|
|
@@ -119,16 +123,16 @@ rm -rf %{buildroot}
|
|
|
|
|
|
%post
|
|
|
/sbin/ldconfig
|
|
|
-touch --no-create %{_datadir}/icons/hicolor
|
|
|
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
|
- gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
|
|
-fi
|
|
|
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
|
|
|
+
|
|
|
+%posttrans
|
|
|
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
|
|
|
|
|
|
%postun
|
|
|
/sbin/ldconfig
|
|
|
-touch --no-create %{_datadir}/icons/hicolor
|
|
|
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
|
- gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
|
|
+if [ $1 -eq 0 ] ; then
|
|
|
+ touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
|
|
|
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
|
|
|
fi
|
|
|
|
|
|
%files -f %{name}.lang
|
|
@@ -166,6 +170,7 @@ fi
|
|
|
%{_bindir}/tracker-search-tool
|
|
|
%{_bindir}/tracker-preferences
|
|
|
%{_libdir}/bonobo/servers/GNOME_Search_Bar_Applet.server
|
|
|
+%{_libdir}/nautilus/extensions-2.0/*.so
|
|
|
%{_datadir}/icons/*/*/apps/tracker.*
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
%{_mandir}/man1/tracker-search-bar.1.gz
|
|
@@ -174,6 +179,9 @@ fi
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.16-3
|
|
|
+- rebuilt with poppler-0.16.3
|
|
|
+
|
|
|
* Sat Oct 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.16-2
|
|
|
- rebuild with poppler-0.14.2
|
|
|
|