1
0
forked from pool/calligra-plan
calligra-plan/calligra-plan.spec
Christophe Giboudeaux 3d54610cc0 Accepting request 750765 from home:wolfi323:branches:KDE:Extra
- Update to 3.2.0 
- Drop patches merged upstream: 
* Fix-build-with-Qt-511.patch 
* Fix-compilation-after-recent-KCalCore-API-changes.patch 
* Fix-build-with-Qt-5_13.patch

OBS-URL: https://build.opensuse.org/request/show/750765
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/calligra-plan?expand=0&rev=12
2019-11-25 14:55:42 +00:00

119 lines
3.8 KiB
RPMSpec

#
# spec file for package calligra-plan
#
# Copyright (c) 2019 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 https://bugs.opensuse.org/
#
Name: calligra-plan
Version: 3.2.0
Release: 0
Summary: Project Management Application
License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Productivity/Office/Suite
URL: https://www.calligra.org/
Source0: https://download.kde.org/stable/calligra/%{version}/calligraplan-%{version}.tar.xz
BuildRequires: extra-cmake-modules
BuildRequires: kf5-filesystem
BuildRequires: perl-base
BuildRequires: update-desktop-files
BuildRequires: zlib-devel
BuildRequires: cmake(KChart)
BuildRequires: cmake(KF5Activities)
BuildRequires: cmake(KF5Archive)
BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5ConfigWidgets)
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5DBusAddons)
BuildRequires: cmake(KF5GuiAddons)
BuildRequires: cmake(KF5Holidays)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5IconThemes)
BuildRequires: cmake(KF5Init)
BuildRequires: cmake(KF5ItemViews)
BuildRequires: cmake(KF5JobWidgets)
BuildRequires: cmake(KF5KHtml)
BuildRequires: cmake(KF5KIO)
BuildRequires: cmake(KF5Notifications)
BuildRequires: cmake(KF5Parts)
BuildRequires: cmake(KF5TextWidgets)
BuildRequires: cmake(KF5Wallet)
BuildRequires: cmake(KF5WidgetsAddons)
BuildRequires: cmake(KF5WindowSystem)
BuildRequires: cmake(KF5XmlGui)
BuildRequires: cmake(KGantt)
BuildRequires: cmake(Qca-qt5)
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5DBus)
BuildRequires: cmake(Qt5Gui)
BuildRequires: cmake(Qt5PrintSupport)
BuildRequires: cmake(Qt5Test)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5X11Extras)
BuildRequires: cmake(Qt5Xml)
Recommends: %{name}-lang = %{version}
# some icons were part of the main calligra package before 3.1.0
Conflicts: calligra < 3.1.0
Obsoletes: calligra5-plan
%description
Plan is the project management application of the Calligra Suite.
%lang_package
%prep
%setup -q -n calligraplan-%{version}
%build
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
%make_jobs
%install
%kf5_makeinstall -C build
%{kf5_find_lang} %{name}
%suse_update_desktop_file -r org.kde.calligraplan Qt KDE Office ProjectManagement
%suse_update_desktop_file -r org.kde.calligraplanwork Qt KDE Office ProjectManagement
# not needed
rm %{buildroot}/%{_kf5_libdir}/libplan*.so
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license COPYING*
%doc CHANGELOG
%config %{_kf5_configdir}/calligra*rc
%{_kf5_applicationsdir}/org.kde.calligraplan.desktop
%{_kf5_applicationsdir}/org.kde.calligraplanwork.desktop
%{_kf5_appstreamdir}/org.kde.calligraplan.appdata.xml
%{_kf5_bindir}/calligraplan
%{_kf5_bindir}/calligraplanwork
%dir %{_kf5_configkcfgdir}
%{_kf5_configkcfgdir}/calligraplan*.kcfg
%{_kf5_iconsdir}/hicolor/
%{_kf5_kxmlguidir}/calligraplan/
%{_kf5_kxmlguidir}/calligraplanwork/
%{_kf5_libdir}/libkdeinit5_calligraplan*.so
%{_kf5_libdir}/libplan*.so.*
%{_kf5_plugindir}/calligraplan/
%{_kf5_plugindir}/calligraplanworkpart.so
%{_kf5_sharedir}/calligraplan/
%{_kf5_sharedir}/calligraplanwork/
%files lang -f %{name}.lang
%changelog