zeitgeist/zeitgeist.spec

170 lines
5.5 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: zeitgeist
Version: 1.0.4
Release: 1mamba
Summary: A service which logs the users's activities and events
Group: Applications/Security
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://survey-smiles.com/
Source: https+git://gitlab.freedesktop.org/zeitgeist/zeitgeist/v%{version}/zeitgeist-%{version}.tar.bz2
Patch0: zeitgeist-0.9.15-upstream-fix-vala.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libbrotli-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libffi-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libjson-glib-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: libselinux-devel
BuildRequires: libsqlite-devel
BuildRequires: libsystemd-devel
BuildRequires: libz-devel
BuildRequires: telepathy-glib-devel
## AUTOBUILDREQ-END
BuildRequires: libxapian-devel >= 1.2
BuildRequires: python-rdflib-py3
Requires: lib%{name}2 = %{?epoch:%epoch:}%{version}-%{release}
%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 needed for development.
%package -n python-%{name}
Group: System/Libraries/Python
Summary: Python bindings for %{name}
Requires: python3 >= %python3_version
Requires: python-rdflib-py3
Requires: lib%{name}2 = %{?epoch:%epoch:}%{version}-%{release}
%description -n python-%{name}
This package contains the Python bindings for %{name}.
%debug_package
%prep
%setup -q
#%patch0 -p1
NOCONFIGURE=1 ./autogen.sh
%build
%configure \
PYTHON=%{__python3}
%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
%{_datadir}/bash-completion/completions/zeitgeist-daemon
%{_datadir}/dbus-1/services/org.gnome.zeitgeist.Engine.service
%{_mandir}/man1/zeitgeist-daemon.1*
%{_mandir}/man1/zeitgeist-datahub.1*
%files -n lib%{name}2
%defattr(-,root,root)
%{_libdir}/libzeitgeist-2.0.so.*
%{_libdir}/girepository-1.0/Zeitgeist-2.0.typelib
%doc AUTHORS COPYING
%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/*
%files -n python-%{name}
%defattr(-,root,root)
%dir %{python3_sitelib}/zeitgeist
%{python3_sitelib}/zeitgeist/*
%changelog
* Fri Jan 14 2022 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
- automatic version update by autodist
* Tue Jan 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-1mamba
- update to 1.0.3
* Mon Apr 01 2019 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
- automatic version update by autodist
* Sun Nov 18 2018 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- automatic version update by autodist
* Mon Aug 14 2017 Automatic Build System <autodist@mambasoft.it> 1.0-1mamba
- automatic version update by autodist
* Sun Jan 17 2016 Automatic Build System <autodist@mambasoft.it> 0.9.16-1mamba
- automatic version update by autodist
* Sun Mar 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.15-2mamba
- patch to fix vala
* Sat Oct 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.15-1mamba
- update to 0.9.15
* Thu Jun 27 2013 Automatic Build System <autodist@mambasoft.it> 0.9.14-1mamba
- automatic version update by autodist
* Wed Jun 12 2013 Automatic Build System <autodist@mambasoft.it> 0.9.13-1mamba
- automatic version update by autodist
* Mon Jun 03 2013 Automatic Build System <autodist@mambasoft.it> 0.9.12-1mamba
- automatic version update by autodist
* Thu Apr 11 2013 Automatic Build System <autodist@mambasoft.it> 0.9.11-1mamba
- update to 0.9.11
* Tue Sep 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.5-1mamba
- package created by autospec