ae01a03
Name:           zeitgeist
8bc762c
Version:        1.0
823d9c6
Release:        3%{?dist}
ae01a03
Summary:        Framework providing Desktop activity awareness
2c35690
# most of the source code is LGPLv2+, except:
2c35690
# datahub/ is LGPLv3+
2c35690
# examples/c/ is GPLv3
2c35690
# extensions/fts++/ is GPLv2+
2c35690
# src/notify.vala: GPLv2+
2c35690
# test/c/ is GPLv3
2c35690
# tools/zeitgeist-explorer/ is GPLv2+
ae01a03
License:        LGPLv2+ and LGPLv3+ and GPLv2+
8bc762c
URL:            https://launchpad.net/zeitgeist
8bc762c
Source0:        http://launchpad.net/%{name}/1.0/%{version}/+download/%{name}-%{version}.tar.xz
dd7d05f
BuildRequires:  pkgconfig(dee-icu-1.0)
dd7d05f
BuildRequires:  pkgconfig(gio-unix-2.0)
dd7d05f
BuildRequires:  pkgconfig(gobject-introspection-1.0)
dd7d05f
BuildRequires:  pkgconfig(gtk+-3.0)
dd7d05f
BuildRequires:  pkgconfig(json-glib-1.0)
dd7d05f
BuildRequires:  pkgconfig(sqlite3)
dd7d05f
BuildRequires:  pkgconfig(telepathy-glib)
ae01a03
BuildRequires:  gettext
ae01a03
BuildRequires:  python2-devel
ae01a03
BuildRequires:  python-rdflib
ae01a03
BuildRequires:  raptor2
8bc762c
%{?systemd_requires}
8bc762c
BuildRequires:  systemd
dd7d05f
BuildRequires:  vala
dd7d05f
BuildRequires:  xapian-core-devel
ae01a03
Requires:       dbus
f61eb13
Requires:       python2-%{name} = %{version}-%{release}
d0dc334
Obsoletes:      zeitgeist-datahub < 0.9.5-4
417f559
417f559
%description
417f559
Zeitgeist is a service which logs the users's activities and events (files
ae01a03
opened, websites visites, conversations hold with other people, etc.) and
ae01a03
makes relevant information available to other applications.
417f559
Note that this package only contains the daemon, which you can use
417f559
together with several different user interfaces.
417f559
ae01a03
%package        libs
ae01a03
Summary:        Client library for interacting with the Zeitgeist daemon
ae01a03
License:        LGPLv2+
6ea2e90
ae01a03
%description    libs
6ea2e90
Libzeitgeist is a client library for interacting with the Zeitgeist
6ea2e90
daemon.
6ea2e90
ae01a03
%package        devel
ae01a03
Summary:        Development files for %{name}
ae01a03
License:        LGPLv2+
ae01a03
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
6ea2e90
ae01a03
%description    devel
ae01a03
This package contains libraries and header files for
6ea2e90
developing applications that use %{name}.
6ea2e90
f61eb13
%package -n     python2-%{name}
d0dc334
Summary:        Python 2 bindings for %{name}
d0dc334
BuildArch:      noarch
d0dc334
Requires:       dbus-python
d0dc334
Requires:       pyxdg
d0dc334
Requires:       %{name} = %{version}-%{release}
f61eb13
%{?python_provide:%python_provide python2-%{name}}
d0dc334
f61eb13
%description -n python2-%{name}
d0dc334
This package contains Python 2 API for
d0dc334
developing applications that use %{name}.
d0dc334
417f559
%prep
5f955a8
%setup -q
Deji Akingunola 07f2acc
Deji Akingunola 07f2acc
## nuke unwanted rpaths, see also
Deji Akingunola 07f2acc
## https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
Deji Akingunola 07f2acc
sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
417f559
417f559
%build
ae01a03
%configure --enable-fts --enable-datahub --disable-silent-rules
ae01a03
%make_build
417f559
417f559
%install
ae01a03
%make_install
417f559
ae01a03
find %{buildroot} -name '*.la' -delete -print
6ea2e90
6ea2e90
# We install AUTHORS and NEWS with %%doc instead
ae01a03
rm -frv %{buildroot}%{_datadir}/zeitgeist/doc
6ea2e90
ae01a03
%check
ae01a03
make check || true
Deji Akingunola e61e71d
8bc762c
%post
8bc762c
%systemd_user_post %{name}.service
8bc762c
%systemd_user_post %{name}-fts.service
8bc762c
8bc762c
%preun
8bc762c
%systemd_user_preun %{name}.service
8bc762c
%systemd_user_preun %{name}-fts.service
8bc762c
6ea2e90
%post libs -p /sbin/ldconfig
ae01a03
6ea2e90
%postun libs -p /sbin/ldconfig
6ea2e90
8bc762c
Deji Akingunola 07f2acc
%files
5f955a8
%doc AUTHORS NEWS
5f955a8
%license COPYING COPYING.GPL
417f559
%{_bindir}/zeitgeist-daemon
6ea2e90
%{_bindir}/zeitgeist-datahub
8bc762c
%{_libexecdir}/%{name}/
417f559
%{_datadir}/%{name}/
Deji Akingunola 07f2acc
%{_datadir}/dbus-1/services/org.gnome.zeitgeist*.service
6ea2e90
%dir %{_datadir}/bash-completion
6ea2e90
%dir %{_datadir}/bash-completion/completions
6ea2e90
%{_datadir}/bash-completion/completions/zeitgeist-daemon
417f559
%{_mandir}/man1/zeitgeist-*.*
d0dc334
%config(noreplace) %{_sysconfdir}/xdg/autostart/zeitgeist-datahub.desktop
8bc762c
%{_userunitdir}/%{name}.service
8bc762c
%{_userunitdir}/%{name}-fts.service
6ea2e90
6ea2e90
%files libs
5f955a8
%license COPYING
6ea2e90
%{_libdir}/girepository-1.0/Zeitgeist-2.0.typelib
6ea2e90
%{_libdir}/libzeitgeist-2.0.so.*
6ea2e90
6ea2e90
%files devel
6ea2e90
%{_includedir}/zeitgeist-2.0/
6ea2e90
%{_libdir}/libzeitgeist-2.0.so
6ea2e90
%{_libdir}/pkgconfig/zeitgeist-2.0.pc
6ea2e90
%{_datadir}/gir-1.0/Zeitgeist-2.0.gir
6ea2e90
%dir %{_datadir}/vala
6ea2e90
%dir %{_datadir}/vala/vapi
6ea2e90
%{_datadir}/vala/vapi/zeitgeist-2.0.deps
6ea2e90
%{_datadir}/vala/vapi/zeitgeist-2.0.vapi
6ea2e90
%{_datadir}/vala/vapi/zeitgeist-datamodel-2.0.vapi
417f559
f61eb13
%files -n python2-%{name}
d0dc334
%{python2_sitelib}/zeitgeist/
d0dc334
417f559
%changelog
823d9c6
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-3
823d9c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
823d9c6
4f254f2
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
4f254f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
4f254f2
8bc762c
* Tue Feb 21 2017 David King <amigadave@amigadave.com> - 1.0-1
8bc762c
- Update to 1.0
dd7d05f
- Use pkgconfig for BuildRequires
f61eb13
- Use python_provide macro
8bc762c
10d90f8
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.16-5
10d90f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
10d90f8
32ce0a1
* Mon Dec 26 2016 Peter Robinson <pbrobinson@fedoraproject.org> 0.9.16-4
32ce0a1
- Rebuild (xapian 1.4)
32ce0a1
a94b177
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.16-3
a94b177
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
a94b177
4043aad
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.16-2
4043aad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4043aad
5f955a8
* Fri Aug 07 2015 Christopher Meng <rpm@cicku.me> - 0.9.16-1
5f955a8
- Update to 0.9.16
5f955a8
41a3e6a
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.16-0.5.20140808.git.ce9affa
41a3e6a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
41a3e6a
9cc9263
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.9.16-0.4.20140808.git.ce9affa
9cc9263
- Rebuilt for GCC 5 C++11 ABI change
9cc9263
e5b700e
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.16-0.3.20140808.git.ce9affa
e5b700e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e5b700e
441ba84
* Tue Aug 12 2014 Christopher Meng <rpm@cicku.me> - 0.9.16-0.2.20140808.git.ce9affa
d0dc334
- Introduce python-zeitgeist subpkg
d0dc334
- Mark xdg autostart file as noreplace for better UX, Fix BZ#863222
d0dc334
441ba84
* Fri Aug 08 2014 Christopher Meng <rpm@cicku.me> - 0.9.16-0.1.20140808.git.ce9affa
ae01a03
- Update to 0.9.16 snapshot
ae01a03
- Fix BZ#1126461
ae01a03
fb8267a
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.9.14-4
fb8267a
- Rebuilt for gobject-introspection 1.41.4
fb8267a
f5d1c12
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.14-3
f5d1c12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f5d1c12
33d54a5
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.14-2
33d54a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
33d54a5
0894aeb
* Tue Jul  9 2013 Brian Pepple <bpepple@fedoraproject.org> - 0.9.14-1
0894aeb
- Update to 0.9.14.
0894aeb
d64f3cf
* Sun Jun 16 2013 Kalev Lember <kalevlember@gmail.com> - 0.9.13-2
d64f3cf
- Fix postun script syntax error
d64f3cf
Deji Akingunola 76b597d
* Fri Jun 14 2013 Deji Akingunola <dakingun@gmail.com> - 0.9.13-1
Deji Akingunola 76b597d
- Update to 0.9.13
Deji Akingunola 76b597d
6ea2e90
* Sun Apr 14 2013 Kalev Lember <kalevlember@gmail.com> - 0.9.12-1
6ea2e90
- Update to 0.9.12 (#949286)
6ea2e90
- Obsolete zeitgeist-datahub
6ea2e90
- Package up the libzeitgeist-2.0 library
2c35690
- Update the license tag and add a spec file comment with longer explanations
6ea2e90
dcb78ce
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.5-2
dcb78ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
dcb78ce
Deji Akingunola db2e44b
* Sun Sep 23 2012 Deji Akingunola <dakingun@gmail.com> - 0.9.5-1
Deji Akingunola db2e44b
- Update to 0.9.5
Deji Akingunola db2e44b
8553ccc
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-2
8553ccc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8553ccc
Deji Akingunola 07f2acc
* Mon May 21 2012 Deji Akingunola <dakingun@gmail.com> - 0.9.0-1
Deji Akingunola 07f2acc
- Update to 0.9.0
Deji Akingunola 07f2acc
- Apply upstream patch to fix a crasher bug.
Deji Akingunola 07f2acc
ce53f73
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-3
ce53f73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ce53f73
Deji Akingunola 661ebb4
* Sat Oct 22 2011 Deji Akingunola <dakingun@gmail.com> - 0.8.2-2
Deji Akingunola 661ebb4
- Revert post-install script to restart zeitgeist daemon on update
Deji Akingunola 661ebb4
Deji Akingunola d4aef32
* Tue Oct 18 2011 Deji Akingunola <dakingun@gmail.com> - 0.8.2-1
Deji Akingunola d4aef32
- Update to 0.8.2
Deji Akingunola d4aef32
- Restart the zeitgeist daemon on update (BZ #627982)
Deji Akingunola d4aef32
Deji Akingunola b3818e7
* Wed Jul 20 2011 Deji Akingunola <dakingun@gmail.com> - 0.8.1-1
Deji Akingunola b3818e7
- Update to 0.8.1
Deji Akingunola b3818e7
Deji Akingunola cfbdf76
* Fri May 13 2011 Deji Akingunola <dakingun@gmail.com> - 0.8.0-1
Deji Akingunola cfbdf76
- Update to 0.8.0
Deji Akingunola cfbdf76
- Add a hard requires on zeitgeist-datahub
Deji Akingunola cfbdf76
3e4a639
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
3e4a639
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3e4a639
Deji Akingunola c7c558e
* Tue Jan 25 2011 Deji Akingunola <dakingun@gmail.com> - 0.7-1
Deji Akingunola c7c558e
- Update to 0.7
Deji Akingunola c7c558e
Deji Akingunola 1f503b1
* Fri Aug 06 2010 Deji Akingunola <dakingun@gmail.com> - 0.5.0-1
Deji Akingunola 1f503b1
- Update to 0.5.0
Deji Akingunola 1f503b1
3367fb1
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.4.0-2
3367fb1
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
3367fb1
96465a5
* Tue Jun 15 2010 Deji Akingunola <dakingun@gmail.com> - 0.4.0-1
96465a5
- Update to 0.4.0
96465a5
561fd81
* Wed Apr 21 2010 Deji Akingunola <dakingun@gmail.com> - 0.3.3.1-1
561fd81
- Update to 0.3.3.1 to fix datasource_registry bug (BZ #586238)
561fd81
daf3f60
* Wed Apr 21 2010 Deji Akingunola <dakingun@gmail.com> - 0.3.3-1
daf3f60
- Update to 0.3.3
daf3f60
417f559
* Wed Jan 20 2010 Deji Akingunola <dakingun@gmail.com> - 0.3.2-1
417f559
- Update to 0.3.2
417f559
417f559
* Thu Jan 14 2010 Deji Akingunola <dakingun@gmail.com> - 0.3.1-1
417f559
- Add missing requires (Package reviews)
417f559
- Update license tag (Package reviews)
417f559
- Update to latest release
417f559
417f559
* Tue Dec 01 2009 Deji Akingunola <dakingun@gmail.com> - 0.3.0-1
417f559
- Update to 0.3.0
417f559
417f559
* Wed Nov 04 2009 Deji Akingunola <dakingun@gmail.com> - 0.2.1-1
417f559
- Initial Fedora packaging