From 5bb22124ea143776017ca1243aadca93be617762 Mon Sep 17 00:00:00 2001 From: Marcin Banasiak Date: Sun, 20 Mar 2011 12:47:27 +0000 Subject: [PATCH] - new Changed files: no-rdfpipe.patch -> 1.1 zeitgeist.spec -> 1.1 --- no-rdfpipe.patch | 14 +++++++++++ zeitgeist.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 no-rdfpipe.patch create mode 100644 zeitgeist.spec diff --git a/no-rdfpipe.patch b/no-rdfpipe.patch new file mode 100644 index 0000000..77986c5 --- /dev/null +++ b/no-rdfpipe.patch @@ -0,0 +1,14 @@ +diff -urN zeitgeist-0.7/configure.ac zeitgeist-0.7.new//configure.ac +--- zeitgeist-0.7/configure.ac 2011-01-18 11:57:00.000000000 +0100 ++++ zeitgeist-0.7.new//configure.ac 2011-03-20 13:29:37.849834567 +0100 +@@ -37,10 +37,4 @@ + AC_MSG_ERROR(You need the tool `rapper' from the `raptor-utils' package in order to compile Zeitgeist) + fi + +-# check for rdflib +-AC_CHECK_PROG(HAVE_RDFLIB, rdfpipe, yes, no) +-if test "x$HAVE_RDFLIB" = "xno"; then +- AC_MSG_ERROR(You need the tool `rdfpipe' from the `python-rdflib' package in order to compile Zeitgeist) +-fi +- + AC_OUTPUT diff --git a/zeitgeist.spec b/zeitgeist.spec new file mode 100644 index 0000000..0ff9fd5 --- /dev/null +++ b/zeitgeist.spec @@ -0,0 +1,64 @@ +Summary: Framework providing Desktop activity awareness +Name: zeitgeist +Version: 0.7 +Release: 0.1 +License: LGPL v2 +Group: Daemons +Source0: http://launchpad.net/zeitgeist/0.7/0.7.0/+download/%{name}-%{version}.tar.gz +# Source0-md5: e183137806e1d3870cbaa19f7ed88d8b +Patch0: no-rdfpipe.patch +URL: http://launchpad.net/zeitgeist +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gettext-devel +BuildRequires: intltool >= 0.40.0 +BuildRequires: libraptor2-rapper +BuildRequires: python-rdflib +Requires: python-dbus +Requires: python-modules +Requires: python-modules-sqlite +Requires: python-pygobject +Requires: python-pyxdg +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Zeitgeist is a service which logs the users's activities and events +(files opened, websites visites, conversations hold with other people, +etc.) and makes relevant information available to other applications. +It is able to establish relationships between items based on +similarity and usage patterns. + +%prep +%setup -q +%patch0 -p1 + +%build +%{__intltoolize} +%{__aclocal} +%{__autoconf} +%{__automake} +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%py_postclean + +%find_lang %{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}.lang +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README TODO +%attr(755,root,root) %{_bindir}/zeitgeist-daemon +%{_datadir}/dbus-1/services/org.gnome.zeitgeist.service +%{_datadir}/zeitgeist +%{_mandir}/man1/zeitgeist-daemon.1* +%{py_sitescriptdir}/zeitgeist +%{_pkgconfigdir}/zeitgeist-daemon.pc -- 2.43.0