zeitgeist/zeitgeist.spec

119 lines
3.9 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: zeitgeist
Version: 0.9.14
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://zeitgeist-project.com/news/python/
Source: https://launchpad.net/zeitgeist/%{majver}/%{version}/+download/zeitgeist-%{version}.tar.xz
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
%build
%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
%dir %{_datadir}/zeitgeist
%dir %{_datadir}/zeitgeist/ontology
%{_datadir}/zeitgeist/ontology/*.trig
%dir %{python_sitearch}/zeitgeist
%{python_sitearch}/zeitgeist/*
%{_datadir}/bash-completion/completions/zeitgeist-daemon
%{_datadir}/dbus-1/services/org.gnome.zeitgeist.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
* 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