From 964e48fe566e12ac948727c7d799083a861a1254 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 00:29:26 +0100 Subject: [PATCH] update to 0.13.20200910 [release 0.13.20200910-1mamba;Thu Sep 10 2020] --- kalternatives.spec | 50 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 35 insertions(+), 15 deletions(-) diff --git a/kalternatives.spec b/kalternatives.spec index 310b68b..202bfc7 100644 --- a/kalternatives.spec +++ b/kalternatives.spec @@ -1,20 +1,34 @@ Name: kalternatives -Version: 0.13 -Release: 3mamba +Version: 0.13.20200910 +Release: 1mamba Summary: A tool to graphically manage the alternatives system of some GNU/Linux distributions Group: Graphical Desktop/Applications/Administration Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://kde-apps.org/content/show.php/Kalternatives?content=16016 -Source: http://kde-apps.org/CONTENT/content-files/16016-kalternatives_%{version}.tar.gz +URL: https://github.com/KDE/kalternatives +Source: https://github.com/KDE/kalternatives.git/master/kalternatives-%{version}.tar.bz2 +#Source: http://kde-apps.org/CONTENT/content-files/16016-kalternatives_%{version}.tar.gz Source1: %{name}-desktop License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: kdelibs-devel +BuildRequires: ldconfig BuildRequires: libgcc -BuildRequires: libqt4-devel +BuildRequires: libkauth-devel +BuildRequires: libkcodecs-devel +BuildRequires: libkcompletion-devel +BuildRequires: libkconfig-devel +BuildRequires: libkconfigwidgets-devel +BuildRequires: libkcoreaddons-devel +BuildRequires: libki18n-devel +BuildRequires: libkiconthemes-devel +BuildRequires: libkio-devel +BuildRequires: libkjobwidgets-devel +BuildRequires: libkservice-devel +BuildRequires: libkwidgetsaddons-devel +BuildRequires: libkwindowsystem-devel +BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -22,33 +36,39 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Kalternatives is a little tool to graphically manage the alternatives system of some GNU/Linux distributions. +%debug_package + %prep %setup -q -cp %{SOURCE1} src/kalternatives.desktop +#cp %{SOURCE1} src/kalternatives.desktop %build -%cmake_kde4 -d build \ - -DKALTERNATIVES_DISTRO=rpm_2 +%cmake_kde5 -d build \ + -DKALTERNATIVES_DISTRO=rpm + %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build -%find_lang %{name} +#%find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files -f %{name}.lang +%files +#-f %{name}.lang %defattr(-,root,root) -%{_kde4_libdir}/kde4/kcm_kalternatives.so -%{_kde4_datadir}/kalternatives/icons/hicolor/*/actions/alternative-broken.png -%{_kde4_servicesdir}/kalternatives.desktop +%{_libdir}/qt5/plugins/kcm_kalternatives.so +%{_datadir}/kservices5/kalternatives.desktop +%{_datadir}/kalternatives/icons/hicolor/*/actions/alternative-broken.png %doc AUTHORS COPYING -#NEWS README TODO %changelog +* Thu Sep 10 2020 Silvan Calarco 0.13.20200910-1mamba +- update to 0.13.20200910 + * Sat May 24 2014 Silvan Calarco 0.13-3mamba - rebuilt