Name: rocs Summary: Graph Theory IDE Version: 22.08.0 Release: 1 License: GPLv2+ URL: https://invent.kde.org/education/rocs %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz BuildRequires: boost-devel >= 1.43 BuildRequires: desktop-file-utils BuildRequires: extra-cmake-modules BuildRequires: gettext BuildRequires: grantlee-qt5-devel BuildRequires: kf5-attica-devel BuildRequires: kf5-kcmutils-devel BuildRequires: kf5-kcompletion-devel BuildRequires: kf5-kconfig-devel BuildRequires: kf5-kconfigwidgets-devel BuildRequires: kf5-kcoreaddons-devel BuildRequires: kf5-kcrash-devel BuildRequires: kf5-kdbusaddons-devel BuildRequires: kf5-kdeclarative-devel BuildRequires: kf5-kdelibs4support-devel BuildRequires: kf5-kdoctools-devel BuildRequires: kf5-kguiaddons-devel BuildRequires: kf5-khtml-devel BuildRequires: kf5-ki18n-devel BuildRequires: kf5-kiconthemes-devel BuildRequires: kf5-kio-devel BuildRequires: kf5-kitemviews-devel BuildRequires: kf5-kjobwidgets-devel BuildRequires: kf5-knewstuff-devel BuildRequires: kf5-knotifyconfig-devel BuildRequires: kf5-kross-devel BuildRequires: kf5-kservice-devel BuildRequires: kf5-ktexteditor-devel BuildRequires: kf5-kwidgetsaddons-devel BuildRequires: kf5-kwindowsystem-devel BuildRequires: kf5-kxmlgui-devel BuildRequires: kf5-rpm-macros BuildRequires: kf5-sonnet-devel BuildRequires: libappstream-glib BuildRequires: pkgconfig(Qt5Concurrent) pkgconfig(Qt5Gui) pkgconfig(Qt5ScriptTools) BuildRequires: pkgconfig(Qt5Qml) pkgconfig(Qt5Quick) pkgconfig(Qt5Xml) pkgconfig(Qt5Svg) pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5WebKit) pkgconfig(Qt5WebKitWidgets) pkgconfig(Qt5XmlPatterns) Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description %{summary}. %package libs Summary: Runtime files for %{name} Conflicts: kdeedu-math-libs < 4.7.0-10 Requires: %{name} = %{version}-%{release} %description libs %{summary}. %package devel Summary: Development files for %{name} Conflicts: kdeedu-devel < 4.7.0-10 Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel %{summary}. %prep %autosetup -p1 %build mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. popd %make_build -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang %{name} --all-name --with-html --with-man --with-qt %check appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.%{name}.appdata.xml desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop %files -f %{name}.lang %license LICENSES/* %doc README.md %{_kf5_bindir}/%{name} %{_kf5_datadir}/applications/org.kde.%{name}.desktop %{_kf5_metainfodir}/org.kde.%{name}.appdata.xml %{_kf5_datadir}/icons/hicolor/*/actions/* %{_kf5_datadir}/icons/hicolor/*/apps/%{name}* %{_kf5_datadir}/%{name}/ %{_kf5_datadir}/kxmlgui5/%{name}/ %{_kf5_datadir}/config.kcfg/%{name}.kcfg %{_qt5_plugindir}/rocs/ %ldconfig_scriptlets libs %files libs %{_kf5_libdir}/librocsgraphtheory.so.* %files devel %{_kf5_libdir}/librocsgraphtheory.so %{_includedir}/rocs/ %changelog * Mon Dec 19 2022 misaka00251 - 22.08.0-1 - 22.08.0