transfig/transfig.spec
2019-12-14 21:40:27 +08:00

53 lines
1.2 KiB
RPMSpec

Name: transfig
Summary: Utility for converting FIG files (made by xfig) to other formats
Version: 3.2.6a
Release: 6
Epoch: 1
License: MIT
URL: https://sourceforge.net/projects/mcj/
Source0: http://downloads.sourceforge.net/mcj/fig2dev-%{version}.tar.xz
Patch1: fig2dev-3.2.6a-CVE-2017-16899.patch
Requires: netpbm-progs ghostscript bc
BuildRequires: gcc libpng-devel libjpeg-devel libXpm-devel
%description
The transfig utility creates a makefile which translates FIG (created
by xfig) or PIC figures into a specified LaTeX graphics language (for
example, PostScript(TM)). Transfig is used to create TeX documents
which are portable (i.e., they can be printed in a wide variety of
environments).
Install transfig if you need a utility for translating FIG or PIC
figures into certain graphics languages.
%package_help
%prep
%autosetup -p1 -n fig2dev-%{version}
%build
%configure --enable-transfig
%make_build
%install
%make_install
%files
%{_bindir}/%{name}
%{_bindir}/fig2*
%{_bindir}/pic2tpic
%{_datadir}/fig2dev/i18n/*.ps
%{_datadir}/fig2dev/bitmaps/*.bmp
%files help
%doc %{name}/doc/manual.pdf
%{_mandir}/man1/*.1.gz
%{_datadir}/fig2dev/rgb.txt
%changelog
* Tue Dec 3 2019 caomeng<caomeng5@huawei.com> - 1:3.2.6a-6
- Package init