diff --git a/knights.spec b/knights.spec index 5386052..7c47771 100644 --- a/knights.spec +++ b/knights.spec @@ -1,5 +1,5 @@ Name: knights -Version: 2.5.0 +Version: 19.04.3 Release: 1mamba Summary: A KDE chess frontend to server chess engines including GNUChess Group: Graphical Desktop/Applications/Games @@ -7,15 +7,33 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://kde-apps.org/content/show.php/Knights?content=122046 -Source: http://dl.dropbox.com/u/2888238/Knights/knights-%{version}.tar.bz2 +Source: https://download.kde.org/stable/applications/%{version}/src/knights-%{version}.tar.xz +#Source: http://dl.dropbox.com/u/2888238/Knights/knights-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: gnuchess -BuildRequires: kdelibs-devel BuildRequires: libgcc -BuildRequires: libkdegames-devel -BuildRequires: libqt4-devel +BuildRequires: libkauth-devel +BuildRequires: libkcodecs-devel +BuildRequires: libkcompletion-devel +BuildRequires: libkconfig-devel +BuildRequires: libkconfigwidgets-devel +BuildRequires: libkcoreaddons-devel +BuildRequires: libkcrash-devel +BuildRequires: libkdbusaddons-devel +BuildRequires: libkdegames5-devel +BuildRequires: libki18n-devel +BuildRequires: libkpackage-devel +BuildRequires: libkplotting-devel +BuildRequires: libkservice-devel +BuildRequires: libktextwidgets-devel +BuildRequires: libkwallet-devel +BuildRequires: libkwidgetsaddons-devel +BuildRequires: libkxmlgui-devel +BuildRequires: libplasma-framework-devel +BuildRequires: libqt5-devel +BuildRequires: libsolid-devel +BuildRequires: libsonnet-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END Requires: gnuchess >= 5.07 @@ -35,33 +53,40 @@ Knights aims to be the ultimate chess resource on your computer. Written for the %setup -q %build -%cmake_kde4 -d build +%cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall -C build -%find_lang %{name} +%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} -%files -f %{name}.lang +%files -f %{name}5_qt.lang %defattr(-,root,root) -%{_kde4_bindir}/knights -%{_kde4_xdgappsdir}/knights.desktop -%{_kde4_datadir}/knights/knightsui.rc -%{_kde4_datadir}/knights/themes -%{_kde4_kcfgdir}/knights.kcfg -%{_kde4_configdir}/knights.knsrc -%{_kde4_icondir}/hicolor/*/apps/knights.png +%{_sysconfdir}/xdg/knights.categories +%{_sysconfdir}/xdg/knights.knsrc +%{_bindir}/knights +%{_datadir}/applications/org.kde.knights.desktop +%{_datadir}/config.kcfg/knights.kcfg %{_datadir}/dbus-1/interfaces/org.kde.Knights.xml -%dir %{_kde4_htmldir}/*/knights -%{_kde4_htmldir}/*/knights/* -%doc README README.themes +%dir %{_datadir}/knights +%dir %{_datadir}/knights/sounds +%{_datadir}/knights/sounds/* +%dir %{_datadir}/knights/themes +%{_datadir}/knights/themes/* +%{_datadir}/kxmlgui5/knights/knightsui.rc +%{_datadir}/metainfo/org.kde.knights.appdata.xml +%{_datadir}/icons/hicolor/*/apps/knights.png +%doc LICENSE %changelog +* Sun Aug 04 2019 Silvan Calarco 19.04.3-1mamba +- update to 19.04.3 + * Wed Aug 22 2012 Silvan Calarco 2.5.0-1mamba - update to 2.5.0