SHA256
1
0
forked from pool/zanshin
zanshin/zanshin.spec

104 lines
3.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package zanshin
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: zanshin
Version: 0.4.1
Release: 0
Summary: TODO Application
License: GPL-2.0 or GPL-3.0
Group: Productivity/Office/Organizers
Url: https://zanshin.kde.org/
Source: http://files.kde.org/%{name}/%{name}-%{version}.tar.bz2
Patch0: findKF5sooner.patch
Patch1: useknownGCCflag.patch
Patch2: qpointerconnect.diff
BuildRequires: boost-devel
BuildRequires: kf5-filesystem
BuildRequires: update-desktop-files
BuildRequires: cmake(KF5AkonadiCalendar)
BuildRequires: cmake(KF5AkonadiMime)
BuildRequires: cmake(KF5AkonadiNotes)
BuildRequires: cmake(KF5AkonadiSearch)
BuildRequires: cmake(KF5CalendarCore)
BuildRequires: cmake(KF5Completion)
BuildRequires: cmake(KF5Contacts)
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5DocTools)
BuildRequires: cmake(KF5IdentityManagement)
BuildRequires: cmake(KF5KCMUtils)
BuildRequires: cmake(KF5KHtml)
BuildRequires: cmake(KF5KontactInterface)
BuildRequires: cmake(KF5Ldap)
BuildRequires: cmake(KF5PimTextEdit)
BuildRequires: cmake(KF5Plasma)
BuildRequires: cmake(KF5Runner)
BuildRequires: cmake(KF5Wallet)
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5Gui)
BuildRequires: cmake(Qt5Script)
BuildRequires: cmake(Qt5Test)
BuildRequires: cmake(Qt5Widgets)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%suse_update_desktop_file org.kde.zanshin Utility TimeUtility
%suse_update_desktop_file org.kde.renku Utility TimeUtility
%files
%defattr(-,root,root)
%doc AUTHORS COPYING gpl-*.txt
%{_kf5_bindir}/renku
%{_kf5_bindir}/zanshin
%{_kf5_bindir}/zanshin-migrator
%{_kf5_plugindir}/kontact_renkuplugin.so
%{_kf5_plugindir}/kontact_zanshinplugin.so
%{_kf5_plugindir}/krunner_zanshin.so
%{_kf5_plugindir}/renku_part.so
%{_kf5_plugindir}/zanshin_part.so
%{_kf5_appstreamdir}/
%{_kf5_applicationsdir}/org.kde.renku.desktop
%{_kf5_applicationsdir}/org.kde.zanshin.desktop
%dir %{_kf5_iconsdir}/hicolor/256x256
%dir %{_kf5_iconsdir}/hicolor/256x256/apps
%{_kf5_iconsdir}/hicolor/*/apps/zanshin.png
%{_kf5_iconsdir}/hicolor/scalable/apps/zanshin.svgz
%{_kf5_servicesdir}/kontact/
%{_kf5_servicesdir}/plasma-runner-zanshin.desktop
%{_kf5_servicesdir}/renku_part.desktop
%{_kf5_servicesdir}/zanshin_part.desktop
%{_kf5_kxmlguidir}/renku/
%{_kf5_kxmlguidir}/zanshin/
%changelog