File zanshin.spec of Package zanshin4
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
Name: zanshin
Version: 0.3.1
Release: 0
License: GPL v2, v3 or any later version approved by the KDE e.V.
Summary: TODO Application
Url: http://files.kde.org/zanshin
Group: Productivity/Office/Organizers
Source: http://files.kde.org/%{name}/%{name}-%{version}.tar.bz2
Source1: %{name}-lang.tar.bz2
BuildRequires: libkde4-devel
BuildRequires: libkdepimlibs4-devel
BuildRequires: baloo-devel
BuildRequires: oxygen-icon-theme
BuildRequires: update-desktop-files
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_akonadi_requires
%kde4_runtime_requires
%description
Zanshin Todo is a powerful yet simple application for managing your
day to day actions. It helps you organize and reduce the cognitive pressure of what
one has to do in his job and personal life. You'll never forget anything anymore,
getting your mind like water.
Authors:
--------
Kevin Ottens <ervin@kde.org>
Mario Bensi <nef@ipsquad.net>
%lang_package
%prep
%setup -q -a 1
cat >> CMakeLists.txt << EOF
add_subdirectory( po )
EOF
%build
%cmake_kde4 -d build
%make_jobs
%install
%kde4_makeinstall -C build
%suse_update_desktop_file zanshin Utility TimeUtility
%suse_update_desktop_file renku Utility TimeUtility
%kde_post_install
%find_lang zanshin %{name}.lang
%files lang -f %{name}.lang
%files
%defattr(-,root,root)
%doc AUTHORS COPYING gpl-*.txt
%dir %{_kde4_servicesdir}/kontact
%dir %{_prefix}/share/appdata
%{_kde4_applicationsdir}/%{name}.desktop
%{_kde4_appsdir}/%{name}/
%{_kde4_bindir}/%{name}
%{_kde4_iconsdir}/hicolor/*/*/%{name}.*
%{_kde4_modulesdir}/%{name}_part.so
%{_kde4_modulesdir}/kontact_%{name}plugin.so
%{_kde4_modulesdir}/krunner_%{name}.so
%{_kde4_servicesdir}/%{name}_part.desktop
%{_kde4_servicesdir}/kontact/%{name}_plugin.desktop
%{_kde4_servicesdir}/plasma-runner-%{name}.desktop
%{_kde4_bindir}/zanshin-migrator
%{_prefix}/share/appdata/zanshin.appdata.xml
%{_kde4_applicationsdir}/renku.desktop
%{_kde4_appsdir}/renku/
%{_kde4_bindir}/renku
%{_kde4_modulesdir}/renku_part.so
%{_kde4_modulesdir}/kontact_renkuplugin.so
%{_kde4_servicesdir}/renku_part.desktop
%{_kde4_servicesdir}/kontact/renku_plugin.desktop
%{_prefix}/share/appdata/renku.appdata.xml
%changelog