2011-07-26 12:11:35 +02:00
|
|
|
#
|
2011-07-26 12:11:48 +02:00
|
|
|
# spec file for package kmplot
|
2011-07-26 12:11:35 +02:00
|
|
|
#
|
2015-02-06 10:25:28 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-07-26 12:11:35 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2012-03-13 09:34:34 +01:00
|
|
|
|
2011-07-26 12:11:35 +02:00
|
|
|
Name: kmplot
|
2015-11-10 21:12:36 +01:00
|
|
|
Version: 15.08.3
|
2011-12-08 12:11:23 +01:00
|
|
|
Release: 0
|
2011-07-26 12:11:35 +02:00
|
|
|
Summary: Mathematical Function Plotter
|
2011-12-08 12:11:23 +01:00
|
|
|
License: GPL-2.0+
|
2011-07-27 17:29:33 +02:00
|
|
|
Group: Productivity/Scientific/Math
|
2011-12-08 12:11:23 +01:00
|
|
|
Url: http://edu.kde.org
|
2012-04-12 09:34:36 +02:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2015-05-11 18:12:27 +02:00
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: kguiaddons-devel
|
|
|
|
BuildRequires: ki18n-devel
|
|
|
|
BuildRequires: kdelibs4support-devel
|
|
|
|
BuildRequires: kparts-devel
|
|
|
|
BuildRequires: kwidgetsaddons-devel
|
|
|
|
BuildRequires: kconfig-devel
|
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5PrintSupport)
|
|
|
|
Obsoletes: %{name}5 < %{version}
|
|
|
|
Provides: %{name}5 = %{version}
|
2011-07-27 17:29:33 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-07-26 12:11:35 +02:00
|
|
|
|
|
|
|
%description
|
2013-01-07 11:04:07 +01:00
|
|
|
Mathematical function plotter for KDE.
|
2011-07-26 12:11:35 +02:00
|
|
|
|
|
|
|
%prep
|
2013-01-07 11:04:07 +01:00
|
|
|
%setup -q
|
2011-07-26 12:11:35 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%ifarch ppc ppc64
|
2011-07-27 17:29:33 +02:00
|
|
|
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
2011-07-26 12:11:35 +02:00
|
|
|
%endif
|
2015-05-11 18:12:27 +02:00
|
|
|
%cmake_kf5 -d build
|
2011-07-26 12:11:35 +02:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
2015-05-11 18:12:27 +02:00
|
|
|
%kf5_makeinstall -C build
|
2011-07-26 12:11:35 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2014-07-16 16:17:43 +02:00
|
|
|
%doc COPYING*
|
2015-05-11 18:12:27 +02:00
|
|
|
%{_kf5_plugindir}/kmplotpart.so
|
|
|
|
%dir %{_datadir}/appdata/
|
|
|
|
%{_datadir}/appdata/kmplot.appdata.xml
|
|
|
|
%{_kf5_bindir}/kmplot
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/kmplot.*
|
|
|
|
%dir %{_kf5_configkcfgdir}
|
|
|
|
%{_kf5_configkcfgdir}/kmplot.kcfg
|
|
|
|
%{_kf5_applicationsdir}/org.kde.kmplot.desktop
|
|
|
|
%{_kf5_servicesdir}/kmplot_part.desktop
|
2011-07-27 17:29:33 +02:00
|
|
|
%{_datadir}/dbus-1/interfaces/org.kde.kmplot.*.xml
|
2015-05-11 18:12:27 +02:00
|
|
|
%{_datadir}/kxmlgui5/kmplot/
|
|
|
|
%{_kf5_htmldir}/en/kmplot
|
|
|
|
%_datadir/man/*/kmplot.1.gz
|
2011-07-26 12:11:35 +02:00
|
|
|
|
|
|
|
%changelog
|