transfig/transfig.spec
herengui d17732410b fix GSEXE undefined issue
Signed-off-by: herengui <herengui@uniontech.com>
(cherry picked from commit fb55ae6d15ab533d7f065dbb581775a482a97c62)
2022-02-11 21:29:10 +08:00

59 lines
1.4 KiB
RPMSpec

Name: transfig
Summary: Utility for converting FIG files (made by xfig) to other formats
Version: 3.2.8b
Release: 2
Epoch: 1
License: MIT
URL: https://sourceforge.net/projects/mcj/
Source0: http://downloads.sourceforge.net/mcj/fig2dev-%{version}.tar.xz
Requires: netpbm-progs ghostscript bc
BuildRequires: gcc libpng-devel libjpeg-devel libXpm-devel ghostscript
%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
%files help
%doc %{name}/doc/manual.pdf
%{_mandir}/man1/*.1.gz
%changelog
* Fri Feb 11 2022 herengui <herengui@uniontech.com> - 1:3.2.8b-2
- fix GSEXE undefined issue.
* Thu Jan 20 2022 yaoxin<yaoxin30@huawei.com> - 1:3.2.8b-1
- Upgrade transfig to 3.2.8b, fix CVE-2021-37529 CVE-2021-37530
* Tue Oct 12 2021 yaoxin<yaoxin30@huawei.com> - 1:3.2.6a-7
- Fix CVE-2021-32280
* Tue Dec 3 2019 caomeng<caomeng5@huawei.com> - 1:3.2.6a-6
- Package init