https://launchpad.net/activity-log-manager
I found a spec file for the old 0.8 version of the zeitgeist activity-log-manager in
bugzilla. I managed to butcher it enough so that the latest 0.9.4 version produces an rpm:
Code:
Name: activity-log-manager
Version: 0.9.4
Release: 1%{?dist}
Summary: Easily control what gets logged by Zeitgeist
License: GPLv2+
URL: https://launchpad.net/activity-log-manager/
Source0: http://launchpad.net/activity-log-manager/0.9/0.9.4/+download/activity-log-manager-0.9.4.tar.gz
BuildRequires: python-devel python-distutils-extra desktop-file-utils intltool
Requires: zeitgeist >= 0.9.0
%description
Activity Log Manager is a graphical user interface which lets
you easily control what gets logged by Zeitgeist.
%prep
%setup -q
%build
#%{__python} setup.py build
%configure
make
%install
rm -rf %{buildroot}
#%{__python} setup.py install -O1 --skip-build --root %{buildroot}
make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
rm -rf %{buildroot}/%{_datadir}/dbus-1/
rm -rf %{buildroot}/%{_datadir}/gnome-control-center/
rm -rf %{buildroot}/%{_datadir}/polkit-1/
rm -rf %{buildroot}/etc/
desktop-file-validate %{buildroot}/%{_datadir}/applications/activity-log-manager.desktop
#mkdir %{buildroot}/%{_datadir}/locale
#cp -r -p build/mo/* %{buildroot}/%{_datadir}/locale
%find_lang %{name}
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc COPYING
%{_bindir}/*
#%{_datadir}/%{name}
%{_datadir}/applications/*
/usr/doc/alm/AUTHORS
/usr/doc/alm/ChangeLog
/usr/doc/alm/COPYING
/usr/doc/alm/INSTALL
/usr/doc/alm/NEWS
/usr/doc/alm/README
%{_datadir}/icons/hicolor/32x32/apps/activity-log-manager.svg
%{_datadir}/icons/hicolor/48x48/apps/activity-log-manager.svg
%changelog
* Mon May 30 2011 Mads Villadsen <maxx@krakoa.dk> - 0.8.0-1
- Initial release
It compiles, installs, and then not much:
Code:
patrick@gnubox:~/rpmbuild$ activity-log-manager
(activity-log-manager:16616): Gtk-CRITICAL **: gtk_box_pack: assertion `gtk_widget_get_parent (child) == NULL' failed
(activity-log-manager:16616): GLib-GIO-CRITICAL **: g_application_list_actions: assertion `application->priv->is_registered' failed
Segmentation fault (core dumped)
Is it even possible to have this running on a non-ubuntu system? Was I missing some libs when I compiled it, or did my removal of ubuntu whoopsie screw it all up?