Репозиторий Sisyphus
Последнее обновление: 29 января 2023 | Пакетов: 18149 | Посещений: 26583768
en ru br
Репозитории ALT
S:3.2.8b-alt2
5.1: 3.2.5-alt1
4.1: 3.2.4-alt6
4.0: 3.2.4-alt6
3.0: 3.2.4-alt5
www.altlinux.org/Changes

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

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

Name: transfig
Version: 3.2.4
Release: alt6

Summary: A utility for converting FIG files (made by xfig) to other formats
Summary(ru_RU.KOI8-R): Утилита для конвертирования FIG файлов (из xfig) в другие форматы
License: MIT
Group: Graphics
Url: ftp://ftp.x.org/contrib/applications/drawing_tools/%name
Packager: Yury A. Zotov <yz at altlinux.ru>

Source0: %url/%name.%version.tar.bz2
Source1: transfig-ru_RU.KOI8-R.ps
Source2: transfig-ru_RU.CP1251.ps
Source3: transfig-uk_UA.KOI8-U.ps
Patch1: %name.3.2.3c-strerror.patch
Patch2: %name.3.2.3d-alt4-makefile-fig2dev_libdir.patch
Patch3: %name-3.2.4-rh5-warnings-gcc33.patch


# Automatically added by buildreq on Sat Feb 25 2006

BuildRequires: imake libpng-devel xorg-cf-files zlib-devel

%description
The %name utility creates a makefile which translates FIG (created by xfig)
or PIC figures into a specified LaTeX graphics language (for example,
PostScript).  Transfig is used to create TeX documents which are portable
(i.e., they can be printed in a wide variety of environments).

%description -l ru_RU.KOI8-R
Утилита %name создает makefile с транслированием FIG или PIC фигур в один из
типов, поддерживаемых LaTeX (например PostScript).

%prep
%setup -q -n %name.%version
%patch1 -p1
%patch2 -p1
%patch3 -p1

%build
xmkmf
make Makefiles

%ifarch alpha
%make_build CDEBUGFLAGS="$RPM_OPT_FLAGS" EXTRA_DEFINES="-Dcfree=free"
%else
%make_build CDEBUGFLAGS="$RPM_OPT_FLAGS"
%endif

%install
%__mkdir_p $RPM_BUILD_ROOT{%_x11libdir,%_x11mandir}
%make_install install install.man \
BINDIR=$RPM_BUILD_ROOT%_x11bindir \
MANSOURCEPATH=$RPM_BUILD_ROOT%_x11mandir\
XFIGLIBDIR=$RPM_BUILD_ROOT%_x11libdir/xfig \
FIG2DEV_LIBDIR=$RPM_BUILD_ROOT%_x11libdir/fig2dev \
#

# Dunno why these are not installed

for i in fig2ps2tex fig2ps2tex.sh pic2tpic; do
%__install -p -m755 fig2dev/$i.script $RPM_BUILD_ROOT%_x11dir/bin/$i
done

# Correct bitmaps permissions.

%__chmod 644 $RPM_BUILD_ROOT%_x11libdir/xfig/bitmaps/*

# Correct manpages location.

%__mv $RPM_BUILD_ROOT%_x11datadir/man1 $RPM_BUILD_ROOT%_x11mandir/

%__install -p -m644 %SOURCE1 $RPM_BUILD_ROOT%_x11libdir/fig2dev/ru_RU.KOI8-R.ps
%__install -p -m644 %SOURCE2 $RPM_BUILD_ROOT%_x11libdir/fig2dev/ru_RU.CP1251.ps
%__install -p -m644 %SOURCE3 $RPM_BUILD_ROOT%_x11libdir/fig2dev/uk_UA.KOI8-U.ps

%files
%_x11bindir/*
%_x11mandir/man?/*
%_x11libdir/fig2dev/*
%dir %_x11libdir/xfig
%_x11libdir/xfig/bitmaps
%doc CHANGES LATEX.AND.XFIG NOTES README

%changelog

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

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