%define majver %(echo %version | cut -d. -f1-2) Name: zeitgeist Version: 1.0.1 Release: 1mamba Summary: A service which logs the users's activities and events Group: Applications/Security Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://zeitgeist-project.com/news/python/ Source: http://cgit.freedesktop.org/zeitgeist/zeitgeist/snapshot/zeitgeist-%{version}.tar.gz #Source: https://launchpad.net/zeitgeist/%{majver}/%{version}/+download/zeitgeist-%{version}.tar.xz Patch0: zeitgeist-0.9.15-upstream-fix-vala.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libffi-devel BuildRequires: libgcc BuildRequires: libglib-devel BuildRequires: libpython-devel BuildRequires: libselinux-devel BuildRequires: libsqlite-devel BuildRequires: libstdc++6-devel BuildRequires: libxapian-devel BuildRequires: libz-devel BuildRequires: python ## AUTOBUILDREQ-END BuildRequires: libxapian-devel >= 1.2 BuildRequires: python-rdflib Requires: python >= %python_version Requires: python-rdflib Requires: lib%{name}2 = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Zeitgeist is a service which logs the users's activities and events (files opened, websites visites, conversations held 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. %package -n lib%{name}2 Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name}2 This package contains shared libraries for %{name}. %package -n lib%{name}2-devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: lib%{name}2 = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}2-devel A client library for applications that want to interact with the Zeitgeist daemon. The library is written in C using glib and provi des an asynchronous GObject oriented API. This package contains static libraries and header files need for development. %prep %setup -q #%patch0 -p1 %build ./autogen.sh %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall rm -rf %{buildroot}%{_prefix}/doc/zeitgeist %files %defattr(-,root,root) %{_sysconfdir}/xdg/autostart/zeitgeist-datahub.desktop %{_bindir}/zeitgeist-datahub %{_bindir}/zeitgeist-daemon %{_userunitdir}/zeitgeist.service %dir %{_datadir}/zeitgeist %dir %{_datadir}/zeitgeist/ontology %{_datadir}/zeitgeist/ontology/*.trig %dir %{python_sitelib}/zeitgeist %{python_sitelib}/zeitgeist/* %{_datadir}/bash-completion/completions/zeitgeist-daemon %{_datadir}/dbus-1/services/org.gnome.zeitgeist.Engine.service %{_mandir}/man1/zeitgeist-daemon.1.gz %{_mandir}/man1/zeitgeist-datahub.1.gz %doc AUTHORS COPYING %files -n lib%{name}2 %defattr(-,root,root) %{_libdir}/libzeitgeist-2.0.so.* %{_libdir}/girepository-1.0/Zeitgeist-2.0.typelib %files -n lib%{name}2-devel %defattr(-,root,root) %dir %{_includedir}/zeitgeist-2.0 %{_includedir}/zeitgeist-2.0/zeitgeist-datamodel.h %{_includedir}/zeitgeist-2.0/zeitgeist.h %{_libdir}/libzeitgeist-2.0.la %{_libdir}/libzeitgeist-2.0.so %{_libdir}/pkgconfig/zeitgeist-2.0.pc %{_datadir}/gir-1.0/Zeitgeist-2.0.gir %{_datadir}/vala/vapi/zeitgeist-2.0.deps %{_datadir}/vala/vapi/zeitgeist-2.0.vapi %{_datadir}/vala/vapi/zeitgeist-datamodel-2.0.vapi %{_datadir}/zeitgeist/doc/AUTHORS %{_datadir}/zeitgeist/doc/NEWS %changelog * Sun Nov 18 2018 Automatic Build System 1.0.1-1mamba - automatic version update by autodist * Mon Aug 14 2017 Automatic Build System 1.0-1mamba - automatic version update by autodist * Sun Jan 17 2016 Automatic Build System 0.9.16-1mamba - automatic version update by autodist * Sun Mar 22 2015 Silvan Calarco 0.9.15-2mamba - patch to fix vala * Sat Oct 04 2014 Silvan Calarco 0.9.15-1mamba - update to 0.9.15 * Thu Jun 27 2013 Automatic Build System 0.9.14-1mamba - automatic version update by autodist * Wed Jun 12 2013 Automatic Build System 0.9.13-1mamba - automatic version update by autodist * Mon Jun 03 2013 Automatic Build System 0.9.12-1mamba - automatic version update by autodist * Thu Apr 11 2013 Automatic Build System 0.9.11-1mamba - update to 0.9.11 * Tue Sep 04 2012 Silvan Calarco 0.9.5-1mamba - package created by autospec