File kalgebra.spec of Package kalgebra

#
# spec file for package kalgebra
#
# Copyright (c) 2015 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:           kalgebra
Summary:        Math Expression Solver and Plotter
License:        GPL-2.0+
Group:          Productivity/Scientific/Math
Url:            http://edu.kde.org
Version:        16.08.2
Release:        0
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  analitza-devel
BuildRequires:  extra-cmake-modules
BuildRequires:  fdupes
BuildRequires:  kconfigwidgets-devel
BuildRequires:  kdoctools-devel
BuildRequires:  ki18n-devel
BuildRequires:  kio-devel
BuildRequires:  kwidgetsaddons-devel
BuildRequires:  ncurses-devel
BuildRequires:  perl
BuildRequires:  readline-devel
BuildRequires:  xz
BuildRequires:  pkgconfig(Qt5OpenGL)
BuildRequires:  pkgconfig(Qt5PrintSupport)
BuildRequires:  pkgconfig(Qt5Qml)
BuildRequires:  pkgconfig(Qt5Quick)
BuildRequires:  pkgconfig(Qt5Svg)
BuildRequires:  pkgconfig(Qt5Test)
BuildRequires:  pkgconfig(Qt5WebKitWidgets)
BuildRequires:  pkgconfig(Qt5Xml)
BuildRequires:  pkgconfig(glu)
Obsoletes:      %{name}5 < %{version}
Provides:       %{name}5 = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
KAlgebra is a math expression solver and plotter.

%prep
%setup -q 

%build
  %cmake_kf5 -d build
  %make_jobs

%install
  %kf5_makeinstall -C build
  %fdupes -s %{buildroot}

%files
%defattr(-,root,root)
%{_kf5_bindir}/calgebra
%{_kf5_applicationsdir}/kalgebramobile.desktop
%{_kf5_iconsdir}/hicolor/*/apps/kalgebra.*
%{_kf5_bindir}/kalgebra
%{_kf5_bindir}/kalgebramobile
%{_kf5_sharedir}/kalgebramobile/
%{_kf5_sharedir}/appdata/
%{_kf5_applicationsdir}/org.kde.kalgebra.desktop
%{_kf5_htmldir}/en/kalgebra
%{_kf5_sharedir}/katepart5
%{_kf5_plasmadir}/
%{_kf5_servicesdir}/

%changelog
openSUSE Build Service is sponsored by