Репозиторий Sisyphus
Последнее обновление: 6 июня 2020 | Пакетов: 17570 | Посещений: 18700951
en ru br
Репозитории ALT

Группа :: Графика
Пакет: textext

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

Name: textext
Version: 0.4.4
Release: alt2

Summary: Editable LaTeX objects for Inkscape
License: BSD
Group: Graphics
Url: http://www.elisanet.fi/ptvirtan/software/textext/

BuildArch: noarch

Source0: %name-%version.tar.lzma
Source44: import.info
Patch33: textext-0.4.4-python2.6.patch
Patch34: textext-0.4.4-port-to-python3.patch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-tools

%add_python3_req_skip inkex

Requires: inkscape >= 0.46 /usr/bin/latex texlive-latex-recommended python3-module-lxml
# Earlier revisions of pstoedit were not compiled with plot-svg support:
Requires: pstoedit >= 3.45-5mdv2008.0

%description
Textext is an extension for Inkscape that allows one to insert text
typeset with LaTeX into one's graphics. Unlike similar extensions such
as Inklatex, Textext provides the ability to edit LaTeX objects after
creation.

%prep
%setup -c %name-%version
%patch33 -p0
%patch34 -p1
sed -i 1s,python,python3, textext.py

$(find /usr/lib*/python%_python3_version/Tools/scripts/reindent.py) textext.py

%install
rm -rf %buildroot
mkdir -p %buildroot%_datadir/inkscape/extensions

install -m 644 textext.inx %buildroot%_datadir/inkscape/extensions/
install -m 755 textext.py %buildroot%_datadir/inkscape/extensions/

%files
%_datadir/inkscape/extensions/textext.*

%changelog

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

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