ALT repositories
Last updated at Fri, 24 Jul 2020 14:09:54 +0000 | SRPMs: 24451
en ru
SRPMs in branches
hide window
Group :: Graphical desktop/Other
Source RPM: deepin-gettext-tools
Raw spec file

Name: deepin-gettext-tools
Version: 1.0.8
Release: alt1
Summary: Deepin Gettext Tools
License: GPLv3
Group: Graphical desktop/Other
Packager: Leontiy Volodin <lvol at>

Source: %url/archive/%version/%name-%version.tar.gz

BuildArch: noarch
BuildRequires: python3-devel perl-Config-Tiny perl-Exporter-Tiny perl-XML-LibXML perl-XML-LibXML-PrettyPrint
Requires: gettext-tools qt5-linguist perl-Config-Tiny perl-Exporter-Tiny perl-XML-LibXML perl-XML-LibXML-PrettyPrint

The tools of gettext function wrapper.

desktop-ts-convert - handling desktop file translations.
policy-ts-convert - convert PolicyKit Policy file to the ts file.
update-pot - scan msgid and generate pot file according to the ini file.
generate-mo - scan po files and generate mo files according to the ini file.


# fix shebang

find -iname "*.py" | xargs sed -i '1s|.*|#!%__python3|'
%__subst '1s|.*|#!%__perl|' src/

%__subst 's|sudo cp|cp|' src/
%__subst 's|lconvert|lconvert-qt5|; s|deepin-lupdate|lupdate-qt5|' src/

install -d %buildroot%_bindir
install -m755 src/ %buildroot%_bindir/deepin-desktop-ts-convert
install -m755 src/ %buildroot%_bindir/deepin-policy-ts-convert
install -m755 src/ %buildroot%_bindir/deepin-generate-mo
install -m755 src/ %buildroot%_bindir/deepin-update-pot

%_bindir/perl src/ --help
%_bindir/python3 src/ --help
%_bindir/python3 src/ --help


* Wed Mar 04 2020 Leontiy Volodin <lvol at> 1.0.8-alt1
- Initial build for ALT Sisyphus (thanks fedora for this spec).
The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.