diff --git a/getTranslation.sh b/getTranslation.sh deleted file mode 100755 index 4ea7581..0000000 --- a/getTranslation.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -# This is needed until we officialy have the lxqt-l10n package - -[ ! -z "$!" ] && exit -MODULE="$1" -DIR=$(mktemp -d) -VERSION="0.11.1" - -pushd "${DIR}" -git clone https://github.com/lxde/lxqt-l10n --branch 0.11.1 -mkdir translations -mv lxqt-l10n/"${MODULE}" translations -tar cfj "${MODULE}"-l10n-${VERSION}.tar.xz translations -popd -mv "${DIR}/${MODULE}-l10n-${VERSION}".tar.xz . -rm -rf "${DIR}" diff --git a/lxqt-policykit.spec b/lxqt-policykit.spec index df437cc..c3deac1 100644 --- a/lxqt-policykit.spec +++ b/lxqt-policykit.spec @@ -1,13 +1,10 @@ Name: lxqt-policykit Summary: PolicyKit agent for LXQt desktop suite Version: 0.11.1 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ URL: http://lxqt.org/ Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz -# This file is generated by the script getTranslations as Fedora not -# have the l10n package yet -Source1: %{name}-l10n-%{version}.tar.xz Patch0: lxqt-policykit-0.11.0-authdialog.patch BuildRequires: pkgconfig(polkit-qt5-1) BuildRequires: pkgconfig(polkit-agent-1) @@ -23,7 +20,7 @@ Requires: lxqt-common >= 0.11.0 %{summary}. %prep -%setup -q -a 1 +%setup -q %patch0 -p1 -b .hide %build @@ -41,12 +38,14 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} install -d %{buildroot}/%{_sysconfdir}/xdg/autostart -%find_lang %{name}-agent --with-qt -%files -f %{name}-agent.lang +%files %{_libexecdir}/lxqt-policykit-agent %changelog +* Wed Jan 18 2017 Christian Dersch - 0.11.1-2 +- moved translations to lxqt-l10n + * Sat Jan 07 2017 Christian Dersch - 0.11.1-1 - new version diff --git a/sources b/sources index eab295c..5eb85e6 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ SHA512 (lxqt-policykit-0.11.1.tar.xz) = 55c9b0e01b1dc1080c79ec6e2baca4b8262fcb772c4654cf0168c5fe7ee37c1f0624d13be42541f4398ae8db7a7f76ed55a9f624c239b9110893cdb914078fda -SHA512 (lxqt-policykit-l10n-0.11.1.tar.xz) = e8622539703437d7213ef07caa5f8a24bfe2993a3b0160aa83284cf5740fc2507042ff3e710886e8a09d43c9b1a77af211f581550552e53eef06342211bbfb3b