Make zeitgeist optional

This commit is contained in:
Matthias Clasen 2013-01-17 16:03:23 -05:00
parent d59535a524
commit dd4cbbc8c6

View File

@ -1,3 +1,5 @@
%global with_zeitgeist 1
%define glib2_version 2.28.0
%define pygo_version 2.90
%define desktop_file_utils_version 0.9
@ -81,6 +83,7 @@ to gedit.
Install gedit-devel if you want to write plugins for gedit.
%if %{with_zeitgeist}
%package zeitgeist
Summary: Zeitgeist plugin for gedit
Group: Applications/Editors
@ -90,7 +93,7 @@ BuildRequires: libzeitgeist-devel >= %{zeitgeist_version}
%description zeitgeist
This packages brings the Zeitgeist dataprovider - a plugin that logs
access and leave event for documents used with gedit.
%endif
%prep
%setup -n gedit-%{version} -q
@ -198,12 +201,17 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
%{_libdir}/pkgconfig/gedit.pc
%{_datadir}/gtk-doc
%if %{with_zeitgeist}
%files zeitgeist
%defattr(-, root, root, -)
%{_libdir}/gedit/plugins/zeitgeist.plugin
%{_libdir}/gedit/plugins/libzeitgeistplugin.so
%endif
%changelog
* Thu Jan 17 2013 Matthias Clasen <mclasen@redhat.com> - 2:3.7.3-2
- Make zeitgeist optional
* Mon Jan 07 2013 Ignacio Casal Quinteiro <icq@gnome.org> - 2:3.7.3-1
- Update to 3.7.3