Explicitly disable the Evolution plugin and remove dead lines

I am not aware of anything that meaningfully uses the Evolution plugin.
So lets remove the cruft. We can always restore it from Git if we need
it in future.
This commit is contained in:
Debarshi Ray 2013-12-18 17:36:57 +01:00
parent 9c5ab8b8dc
commit 054108a2cf

View File

@ -57,7 +57,6 @@ BuildRequires: gdk-pixbuf2-devel
BuildRequires: desktop-file-utils intltool gettext BuildRequires: desktop-file-utils intltool gettext
BuildRequires: gtk-doc graphviz BuildRequires: gtk-doc graphviz
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
#BuildRequires: evolution-devel
%if 0%{?with_thunderbird} %if 0%{?with_thunderbird}
BuildRequires: thunderbird BuildRequires: thunderbird
@ -100,14 +99,6 @@ Obsoletes: tracker-search-tool <= 0.12.0
Graphical frontend to tracker search (tracker-needle) and configuration Graphical frontend to tracker search (tracker-needle) and configuration
(tracker-preferences) facilities. (tracker-preferences) facilities.
#%package evolution-plugin
#Summary: Tracker's evolution plugin
#Group: User Interface/Desktops
#Requires: %{name}%{?_isa} = %{version}-%{release}
#%description evolution-plugin
#Tracker's evolution plugin
%package firefox-plugin %package firefox-plugin
Summary: A simple bookmark exporter for Tracker Summary: A simple bookmark exporter for Tracker
Group: User Interface/Desktops Group: User Interface/Desktops
@ -152,8 +143,6 @@ This package contains the documentation for tracker
%patch3 -p1 -b .memory %patch3 -p1 -b .memory
%patch4 -p1 -b .build %patch4 -p1 -b .build
#%global evo_plugins_dir %(pkg-config evolution-plugin-3.0 --variable=plugindir)
## nuke unwanted rpaths, see also ## nuke unwanted rpaths, see also
## https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath ## https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
@ -162,6 +151,7 @@ sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
autoreconf -f autoreconf -f
%configure --disable-static \ %configure --disable-static \
--enable-gtk-doc \ --enable-gtk-doc \
--enable-miner-evolution=no \
--with-firefox-plugin-dir=%{_libdir}/firefox/extensions \ --with-firefox-plugin-dir=%{_libdir}/firefox/extensions \
%if 0%{?with_thunderbird} %if 0%{?with_thunderbird}
--with-thunderbird-plugin-dir=%{_libdir}/thunderbird/extensions \ --with-thunderbird-plugin-dir=%{_libdir}/thunderbird/extensions \
@ -258,10 +248,6 @@ fi
%{_mandir}/man1/tracker-needle.1.gz %{_mandir}/man1/tracker-needle.1.gz
%exclude %{_datadir}/applications/trackerbird-launcher.desktop %exclude %{_datadir}/applications/trackerbird-launcher.desktop
#%files evolution-plugin
#%{evo_plugins_dir}/liborg-freedesktop-Tracker-evolution-plugin.so
#%{evo_plugins_dir}/org-freedesktop-Tracker-evolution-plugin.eplug
%files firefox-plugin %files firefox-plugin
%{_datadir}/xul-ext/trackerfox/ %{_datadir}/xul-ext/trackerfox/
%{_libdir}/firefox/extensions/trackerfox@bustany.org %{_libdir}/firefox/extensions/trackerfox@bustany.org