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

Группа :: Работа с текстами
Пакет: python3-module-gdex

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

%define _unpackaged_files_terminate_build 1
%define mname gdex

Name: python3-module-%mname
Version: 4.12
Release: alt2
Summary: GDEX (Good Dictionary Examples) is a Bonito module for sorting concordances according to their suitability as dictionary examples.
License: GPLv3
Group: Text tools
Url: https://nlp.fi.muni.cz/trac/noske/wiki#gdex
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Packager: Kirill Maslinsky <kirill at altlinux.org>

BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)

%py3_provides %mname

%description
GDEX (Good Dictionary Examples) is a Bonito module for sorting concordances
according to their suitability as dictionary examples.

%prep
%setup
%patch -p1
# https://nlp.fi.muni.cz/trac/noske/wiki#gdex1
sed -i "s/<version>/%version/g" setup.py

%build
%pyproject_build

%install
%pyproject_install

mkdir -p %buldroot/%_bindir
cp add_gdex %buildroot/%_bindir

%files
%python3_sitelibdir/%mname
%python3_sitelibdir/%{pyproject_distinfo %mname}/
%_bindir/add_gdex

%changelog

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

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