Name: kalgebra Summary: 2D and 3D Graph Calculator Version: 17.12.3 Release: 1%{?dist} License: GPLv2+ URL: https://cgit.kde.org/%{name}.git %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz # handled by qt5-srpm-macros, which defines %%qt5_qtwebengine_arches %{?qt5_qtwebengine_arches:ExclusiveArch: %{qt5_qtwebengine_arches}} %global majmin_ver %(echo %{version} | cut -d. -f1,2) BuildRequires: analitza-devel >= %{majmin_ver} BuildRequires: desktop-file-utils BuildRequires: extra-cmake-modules >= 1.3 BuildRequires: kf5-rpm-macros %if 0%{?fedora} > 19 %global validate_appdata 1 BuildRequires: libappstream-glib %endif BuildRequires: pkgconfig(Qt5Qml) pkgconfig(Qt5Quick) pkgconfig(Qt5Xml) BuildRequires: pkgconfig(Qt5Svg) pkgconfig(Qt5OpenGL) pkgconfig(Qt5PrintSupport) pkgconfig(Qt5Test) # currently hard-codes linking -lGL -lGLU, can probably be removed -- rex BuildRequires: pkgconfig(gl) pkgconfig(glu) # mobile BuildRequires: pkgconfig(Qt5WebEngine) BuildRequires: kf5-ki18n-devel kf5-kconfigwidgets-devel kf5-kwidgetsaddons-devel kf5-kio-devel kf5-kdoctools-devel # calgebra deps BuildRequires: ncurses-devel readline-devel %description %{summary}. %prep %setup -q %build mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. popd make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang %{name} --all-name --with-html --with-qt # rename appdata file, if needed mv -fv \ %{buildroot}%{_kf5_metainfodir}/kalgebra.appdata.xml \ %{buildroot}%{_kf5_metainfodir}/org.kde.kalgebra.appdata.xml ||: %check %if 0%{?validate_appdata} appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.kalgebra.appdata.xml %endif desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.kalgebra.desktop desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/kalgebramobile.desktop %files -f %{name}.lang %doc TODO %license COPYING %{_kf5_bindir}/calgebra %{_kf5_bindir}/kalgebra %{_kf5_bindir}/kalgebramobile %{_datadir}/icons/hicolor/*/*/kalgebra.* %{_kf5_datadir}/kalgebramobile/ %{_kf5_metainfodir}/org.kde.kalgebra.appdata.xml %{_kf5_datadir}/applications/org.kde.kalgebra.desktop %{_kf5_datadir}/applications/kalgebramobile.desktop %{_kf5_datadir}/katepart5/syntax/kalgebra.xml %{_kf5_datadir}/kservices5/graphsplasmoid.desktop %{_kf5_datadir}/plasma/plasmoids/org.kde.graphsplasmoid/ %changelog * Tue Mar 06 2018 Rex Dieter - 17.12.3-1 - 17.12.3 * Wed Feb 07 2018 Fedora Release Engineering - 17.12.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Feb 06 2018 Rex Dieter - 17.12.2-1 - 17.12.2 * Thu Jan 11 2018 Rex Dieter - 17.12.1-1 - 17.12.1 * Thu Jan 11 2018 Igor Gnatenko - 17.12.0-2 - Remove obsolete scriptlets * Thu Dec 28 2017 Rex Dieter - 17.12.0-1 - 17.12.0 * Wed Nov 08 2017 Rex Dieter - 17.08.3-1 - 17.08.3 * Wed Oct 11 2017 Rex Dieter - 17.08.2-1 - 17.08.2 * Wed Sep 06 2017 Rex Dieter - 17.08.1-1 - 17.08.1 * Thu Aug 03 2017 Fedora Release Engineering - 16.12.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 16.12.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Mar 09 2017 Rex Dieter - 16.12.3-1 - 16.12.3 * Thu Feb 09 2017 Rex Dieter - 16.12.2-1 - 16.12.2 * Thu Jan 12 2017 Igor Gnatenko - 16.12.1-2 - Rebuild for readline 7.x * Wed Jan 11 2017 Rex Dieter - 16.12.1-1 - 16.12.1 * Mon Dec 05 2016 Rex Dieter - 16.08.3-1 - 16.08.3 * Thu Oct 13 2016 Rex Dieter - 16.08.2-1 - 16.08.2 * Wed Sep 07 2016 Rex Dieter - 16.08.1-1 - 16.08.1 * Fri Aug 12 2016 Rex Dieter - 16.08.0-1 - 16.08.0 * Sat Aug 06 2016 Rex Dieter - 16.07.90-1 - 16.07.90 * Sat Jul 30 2016 Rex Dieter - 16.07.80-1 - 16.07.80 * Sat Jul 09 2016 Rex Dieter - 16.04.3-1 - 16.04.3 * Sun Jun 12 2016 Rex Dieter - 16.04.2-1 - 16.04.2 * Sun May 08 2016 Rex Dieter - 16.04.1-1 - 16.04.1 * Fri Apr 22 2016 Rex Dieter - 16.04.0-1 - 16.04.0 * Tue Mar 15 2016 Rex Dieter - 15.12.3-1 - 15.12.3 * Sun Feb 14 2016 Rex Dieter - 15.12.2-1 - 15.12.2 * Thu Feb 04 2016 Fedora Release Engineering - 15.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jan 25 2016 Rex Dieter - 15.12.1-1 - 15.12.1 * Wed Dec 23 2015 Rex Dieter 15.12.0-1 - 15.12.0 * Wed Dec 23 2015 Rex Dieter 15.08.3-2 - cosmetics, fix appdata filename * Mon Nov 30 2015 Rex Dieter - 15.08.3-1 - 15.08.3 * Fri Sep 18 2015 Richard Hughes - 15.08.0-2 - Remove no longer required AppData file * Thu Aug 20 2015 Than Ngo - 15.08.0-1 - 15.08.0 * Wed Jun 17 2015 Fedora Release Engineering - 15.04.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 10 2015 Rex Dieter - 15.04.2-1 - 15.04.2 * Thu May 28 2015 Rex Dieter - 15.04.1-1 - 15.04.1 * Thu Apr 09 2015 Rex Dieter 15.04.0-1 - 15.04.0 * Thu Apr 09 2015 Rex Dieter 15.03.97-1 - 15.03.97 * Thu Mar 26 2015 Richard Hughes - 4.14.3-3 - Add an AppData file for the software center * Sat Jan 17 2015 Rex Dieter 4.14.3-2 - kde-applications fixes * Sat Nov 08 2014 Rex Dieter - 4.14.3-1 - 4.14.3 * Sun Oct 12 2014 Rex Dieter - 4.14.2-1 - 4.14.2 * Tue Sep 16 2014 Rex Dieter - 4.14.1-1 - 4.14.1 * Sat Aug 16 2014 Fedora Release Engineering - 4.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Aug 15 2014 Rex Dieter - 4.14.0-1 - 4.14.0 * Mon Aug 11 2014 Rex Dieter 4.13.97-2 - %%check: appdata validation * Tue Aug 05 2014 Rex Dieter - 4.13.97-1 - 4.13.97 * Tue Jul 15 2014 Rex Dieter - 4.13.3-1 - 4.13.3 * Tue Jun 24 2014 Rex Dieter 4.13.2-2 - BR: qtwebkit ... * Mon Jun 09 2014 Rex Dieter - 4.13.2-1 - 4.13.2 * Sun Jun 08 2014 Fedora Release Engineering - 4.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun May 11 2014 Rex Dieter - 4.13.1-1 - 4.13.1 * Sat Apr 12 2014 Rex Dieter - 4.13.0-1 - 4.13.0 * Fri Apr 04 2014 Rex Dieter - 4.12.97-1 - 4.12.97 * Sat Mar 22 2014 Rex Dieter - 4.12.95-1 - 4.12.95 * Wed Mar 19 2014 Rex Dieter - 4.12.90-1 - 4.12.90 * Sun Mar 02 2014 Rex Dieter - 4.12.3-1 - 4.12.3 * Fri Jan 31 2014 Rex Dieter - 4.12.2-1 - 4.12.2 * Fri Jan 10 2014 Rex Dieter - 4.12.1-1 - 4.12.1 * Thu Dec 19 2013 Rex Dieter - 4.12.0-1 - 4.12.0 * Sun Dec 01 2013 Rex Dieter - 4.11.97-1 - 4.11.97 * Thu Nov 21 2013 Rex Dieter - 4.11.95-1 - 4.11.95 * Sat Nov 16 2013 Rex Dieter - 4.11.90-1 - 4.11.90 * Sat Nov 02 2013 Rex Dieter - 4.11.3-1 - 4.11.3 * Sat Sep 28 2013 Rex Dieter - 4.11.2-1 - 4.11.2 * Wed Sep 04 2013 Rex Dieter - 4.11.1-1 - 4.11.1 * Thu Aug 08 2013 Than Ngo - 4.11.0-1 - 4.11.0 * Thu Jul 25 2013 Rex Dieter - 4.10.97-1 - 4.10.97 * Tue Jul 23 2013 Rex Dieter - 4.10.95-1 - 4.10.95 * Fri Jun 28 2013 Rex Dieter - 4.10.90-1 - 4.10.90 * Sat Jun 01 2013 Rex Dieter - 4.10.4-1 - 4.10.4 * Mon May 06 2013 Than Ngo - 4.10.3-1 - 4.10.3 * Sun Mar 31 2013 Rex Dieter - 4.10.2-1 - 4.10.2 * Mon Mar 18 2013 Rex Dieter - 4.10.1-2 - disable opengl (plotter3d) support on arm * Sat Mar 02 2013 Rex Dieter - 4.10.1-1 - 4.10.1 * Fri Feb 01 2013 Rex Dieter - 4.10.0-1 - 4.10.0 * Tue Jan 22 2013 Rex Dieter - 4.9.98-1 - 4.9.98 * Fri Jan 04 2013 Rex Dieter - 4.9.97-1 - 4.9.97 * Thu Dec 20 2012 Rex Dieter - 4.9.95-1 - 4.9.95 * Tue Dec 04 2012 Rex Dieter - 4.9.90-1 - 4.9.90 * Mon Dec 03 2012 Than Ngo - 4.9.4-1 - 4.9.4 * Sat Nov 03 2012 Rex Dieter - 4.9.3-1 - 4.9.3 * Sat Sep 29 2012 Rex Dieter - 4.9.2-1 - 4.9.2 * Mon Sep 03 2012 Than Ngo - 4.9.1-1 - 4.9.1 * Thu Jul 26 2012 Lukas Tinkl - 4.9.0-1 - 4.9.0 * Thu Jul 19 2012 Fedora Release Engineering - 4.8.97-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jul 12 2012 Rex Dieter - 4.8.97-1 - 4.8.97 * Wed Jun 27 2012 Jaroslav Reznik - 4.8.95-1 - 4.8.95 * Sat Jun 09 2012 Rex Dieter - 4.8.90-1 - 4.8.90 * Fri Jun 01 2012 Jaroslav Reznik - 4.8.80-1 - 4.8.80 * Mon Apr 30 2012 Jaroslav Reznik - 4.8.3-1 - 4.8.3 * Fri Mar 30 2012 Rex Dieter - 4.8.2-1 - 4.8.2 * Mon Mar 05 2012 Jaroslav Reznik - 4.8.1-1 - 4.8.1 * Sun Jan 22 2012 Rex Dieter - 4.8.0-1 - 4.8.0 * Fri Jan 13 2012 Rex Dieter 4.7.97-2 - drop Obsoletes: kalgebra-libs here (move to analitza) * Wed Jan 04 2012 Rex Dieter - 4.7.97-1 - 4.7.97 * Thu Dec 22 2011 Radek Novacek - 4.7.95-1 - 4.7.95 * Sun Dec 04 2011 Rex Dieter - 4.7.90-1 - 4.7.90 * Fri Nov 25 2011 Rex Dieter 4.7.80-1 - 4.7.80 - BR: analitza-devel * Sat Oct 29 2011 Rex Dieter 4.7.3-1 - 4.7.3 * Wed Oct 05 2011 Rex Dieter 4.7.2-1 - 4.7.2 * Sun Sep 18 2011 Rex Dieter 4.7.1-1 - 4.7.1 - BR: libkdeedu-static * Tue Aug 30 2011 Rex Dieter 4.7.0-10 - first try