fix: configure with DISTRO=rpm_2 which sets correct path /var/lib/alternatives
added translations [release 0.13.20200910-2mamba;Fri Jun 18 2021]
This commit is contained in:
parent
964e48fe56
commit
1223dede02
@ -1,6 +1,6 @@
|
|||||||
Name: kalternatives
|
Name: kalternatives
|
||||||
Version: 0.13.20200910
|
Version: 0.13.20200910
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A tool to graphically manage the alternatives system of some GNU/Linux distributions
|
Summary: A tool to graphically manage the alternatives system of some GNU/Linux distributions
|
||||||
Group: Graphical Desktop/Applications/Administration
|
Group: Graphical Desktop/Applications/Administration
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -8,7 +8,6 @@ Distribution: openmamba
|
|||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://github.com/KDE/kalternatives
|
URL: https://github.com/KDE/kalternatives
|
||||||
Source: https://github.com/KDE/kalternatives.git/master/kalternatives-%{version}.tar.bz2
|
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
|
Source1: %{name}-desktop
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
@ -31,7 +30,6 @@ BuildRequires: libkwindowsystem-devel
|
|||||||
BuildRequires: libqt5-devel
|
BuildRequires: libqt5-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Kalternatives is a little tool to graphically manage the alternatives system of some GNU/Linux distributions.
|
Kalternatives is a little tool to graphically manage the alternatives system of some GNU/Linux distributions.
|
||||||
@ -41,10 +39,18 @@ Kalternatives is a little tool to graphically manage the alternatives system of
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
#cp %{SOURCE1} src/kalternatives.desktop
|
#cp %{SOURCE1} src/kalternatives.desktop
|
||||||
|
# Get translations
|
||||||
|
for l in ca ca@valencia cs da de en_GB es fi fr gl it ja lt nl nn pl pt pt_BR ru sk sv tr uk zh_CN zh_TW; do
|
||||||
|
svn co svn://anonsvn.kde.org/home/kde/trunk/l10n-kf5/$l/messages/kalternatives po/$l
|
||||||
|
done
|
||||||
|
|
||||||
|
cat >> CMakeLists.txt << _EOF
|
||||||
|
ki18n_install(po)
|
||||||
|
_EOF
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kde5 -d build \
|
%cmake_kde5 -d build \
|
||||||
-DKALTERNATIVES_DISTRO=rpm
|
-DKALTERNATIVES_DISTRO=rpm_2
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
@ -52,13 +58,12 @@ Kalternatives is a little tool to graphically manage the alternatives system of
|
|||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall -C build
|
%makeinstall -C build
|
||||||
|
|
||||||
#%find_lang %{name}
|
%find_lang %{name} --all-name
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files
|
%files -f %{name}.lang
|
||||||
#-f %{name}.lang
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/qt5/plugins/kcm_kalternatives.so
|
%{_libdir}/qt5/plugins/kcm_kalternatives.so
|
||||||
%{_datadir}/kservices5/kalternatives.desktop
|
%{_datadir}/kservices5/kalternatives.desktop
|
||||||
@ -66,6 +71,10 @@ Kalternatives is a little tool to graphically manage the alternatives system of
|
|||||||
%doc AUTHORS COPYING
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 18 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.20200910-2mamba
|
||||||
|
- fix: configure with DISTRO=rpm_2 which sets correct path /var/lib/alternatives
|
||||||
|
- added translations
|
||||||
|
|
||||||
* Thu Sep 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.20200910-1mamba
|
* Thu Sep 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.20200910-1mamba
|
||||||
- update to 0.13.20200910
|
- update to 0.13.20200910
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user