Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37518197
en ru br
Репозитории ALT

Группа :: Development/Tools
Пакет: pology

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name:           pology
Version:        0.12
Release:        alt2.2
Summary:        Pology is a Python library and collection of command-line tools for in-depth processing of PO files

License:        GPL-3.0+
Group:          Development/Tools
URL:            http://pology.nedohodnik.net/

Packager:       Andrey Cherepanov <cas at altlinux.org>

Source0:        http://pology.nedohodnik.net//release/%{name}-%{version}.tar.bz2

BuildRequires(pre): cmake
BuildRequires:  docbook-dtds
BuildRequires:  docbook-style-xsl
BuildRequires:  libxml2-devel
BuildRequires:  python-devel
BuildRequires:  python-module-distribute
BuildRequires:  xmllint
BuildRequires:  xsltproc

%description
Pology is a Python library and collection of command-line tools for
in-depth processing of PO files, the translation file format of the
GNU Gettext software translation system. Pology functionality ranges
from precision operations on individual PO messages, to cross-file
operations on large collections of PO files.

%prep
%setup -q
# Set correct python2 executable in shebang
subst 's|#!.*python$|#!%__python|' $(grep -Rl '#!.*python$' *)

%build
%cmake -DPYTHON2_PACKAGES_DIR:PATH=%{python_sitelibdir}
%cmake_build -j1

%install
%cmake_install

%find_lang %name

%files -f %name.lang
%doc NEWS README TODO
%doc %_datadir/doc/%name
%_bindir/*
%_datadir/%name
%python_sitelibdir/%name

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin