Группа :: Разработка/Прочее
Пакет: gettext-lint
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: gettext-lint
Version: 0.4
Release: alt4
Summary: Gettext linting tools
License: GPL-2.0
URL: http://gettext-lint.sourceforge.net/
Source: %name/%name-%version.tar.gz
Group: Development/Other
BuildArch: noarch
Packager: Andrey Cherepanov <cas at altlinux.org>
BuildRequires: python-devel
%description
The gettext lint tools are a collection of tools for checking the
validity, consistency and spelling of PO and POT files.
An experimental glossary building tool is also included.
%prep
%setup -q
# Set correct python2 executable in shebang
subst 's|#!.*python$|#!%__python|' $(grep -Rl '#!.*python$' *)
%build
%autoreconf
%configure
%make_build
%install
%make_install DESTDIR=%buildroot install
chmod +x %buildroot/%_datadir/%name/Glossary.py
%files
%doc AUTHORS ChangeLog NEWS README
%_bindir/POFileChecker
%_bindir/POFileClean
%_bindir/POFileConsistency
%_bindir/POFileEquiv
%_bindir/POFileFill
%_bindir/POFileGlossary
%_bindir/POFileSpell
%_bindir/POFileStatus
%_man1dir/POFileChecker.*
%_man1dir/POFileClean.*
%_man1dir/POFileConsistency.*
%_man1dir/POFileEquiv.*
%_man1dir/POFileFill.*
%_man1dir/POFileGlossary.*
%_man1dir/POFileSpell.*
%_man1dir/POFileStatus.*
%dir %_datadir/%name
%_datadir/%name/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.4
Release: alt4
Summary: Gettext linting tools
License: GPL-2.0
URL: http://gettext-lint.sourceforge.net/
Source: %name/%name-%version.tar.gz
Group: Development/Other
BuildArch: noarch
Packager: Andrey Cherepanov <cas at altlinux.org>
BuildRequires: python-devel
%description
The gettext lint tools are a collection of tools for checking the
validity, consistency and spelling of PO and POT files.
An experimental glossary building tool is also included.
%prep
%setup -q
# Set correct python2 executable in shebang
subst 's|#!.*python$|#!%__python|' $(grep -Rl '#!.*python$' *)
%build
%autoreconf
%configure
%make_build
%install
%make_install DESTDIR=%buildroot install
chmod +x %buildroot/%_datadir/%name/Glossary.py
%files
%doc AUTHORS ChangeLog NEWS README
%_bindir/POFileChecker
%_bindir/POFileClean
%_bindir/POFileConsistency
%_bindir/POFileEquiv
%_bindir/POFileFill
%_bindir/POFileGlossary
%_bindir/POFileSpell
%_bindir/POFileStatus
%_man1dir/POFileChecker.*
%_man1dir/POFileClean.*
%_man1dir/POFileConsistency.*
%_man1dir/POFileEquiv.*
%_man1dir/POFileFill.*
%_man1dir/POFileGlossary.*
%_man1dir/POFileSpell.*
%_man1dir/POFileStatus.*
%dir %_datadir/%name
%_datadir/%name/*
%changelog
…
Полный changelog можно просмотреть здесь