rhbz#1366524 rebase to transfig 3.2.6
This commit is contained in:
parent
fc73bc6f30
commit
a1db5b4984
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
transfig.3.2.5c.tar.gz
|
transfig.3.2.5c.tar.gz
|
||||||
/transfig.3.2.5d.tar.gz
|
/transfig.3.2.5d.tar.gz
|
||||||
|
/fig2dev-3.2.6.tar.xz
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
f9eac7f265668ecbfda6aaf7581989ad transfig-3.2.5d.tar.gz
|
a6b21df380087d32a0d126db64c02b24 fig2dev-3.2.6.tar.xz
|
||||||
|
@ -1,21 +1,13 @@
|
|||||||
Summary: Utility for converting FIG files (made by xfig) to other formats
|
Summary: Utility for converting FIG files (made by xfig) to other formats
|
||||||
Name: transfig
|
Name: transfig
|
||||||
Version: 3.2.5d
|
Version: 3.2.6
|
||||||
Release: 18%{?dist}
|
Release: 1%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.xfig.org/
|
URL: http://www.xfig.org/
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
Source0: https://sourceforge.net/projects/kanapi/files/sources/RELEASES/2014/%{name}-%{version}.tar.gz
|
#Source0: https://sourceforge.net/projects/mcj/files/fig2dev-3.2.6.tar.xz/download
|
||||||
|
Source0: http://downloads.sourceforge.net/mcj/fig2dev-%{version}.tar.xz
|
||||||
Patch0: transfig-3.2.5-optflags.patch
|
|
||||||
Patch1: transfig-3.2.5-modularX.patch
|
|
||||||
Patch2: transfig-3.2.5-bitmap.patch
|
|
||||||
Patch3: transfig-3.2.5d-bz728825.patch
|
|
||||||
Patch4: transfig-3.2.5-libpng.patch
|
|
||||||
Patch5: transfig-3.2.5d-CVE-2009-4227.patch
|
|
||||||
Patch6: transfig-3.2.5d-bz1037365.patch
|
|
||||||
Patch7: transfig-3.2.5d-bz1282615.patch
|
|
||||||
|
|
||||||
Requires: ghostscript
|
Requires: ghostscript
|
||||||
Requires: bc
|
Requires: bc
|
||||||
@ -36,48 +28,34 @@ Install transfig if you need a utility for translating FIG or PIC
|
|||||||
figures into certain graphics languages.
|
figures into certain graphics languages.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}.%{version}
|
%setup -q -n fig2dev-%{version}
|
||||||
|
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
%patch3 -p1
|
|
||||||
%patch4 -p1 -b .libpng
|
|
||||||
%patch5 -p1
|
|
||||||
%patch6 -p1
|
|
||||||
%patch7 -p1
|
|
||||||
|
|
||||||
# fix source permissions
|
|
||||||
find -type f -exec chmod -x {} \;
|
|
||||||
|
|
||||||
# remove garbage
|
|
||||||
rm -f doc/manual/Makefile.orig doc/fig2dev.1.orig
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
xmkmf
|
#xmkmf
|
||||||
make Makefiles
|
#make Makefiles
|
||||||
make
|
%configure --enable-transfig
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} MANSUFFIX=1 install install.man
|
%make_install
|
||||||
|
|
||||||
# fig2ps2tex{,.sh} are equivalent, use the sh one
|
|
||||||
mv %{buildroot}%{_bindir}/fig2ps2tex.sh %{buildroot}%{_bindir}/fig2ps2tex
|
|
||||||
ln -s fig2ps2tex %{buildroot}%{_bindir}/fig2ps2tex.sh
|
|
||||||
ln -s fig2ps2tex.1 %{buildroot}%{_mandir}/man1/fig2ps2tex.sh.1
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc CHANGES NOTES README LATEX.AND.XFIG
|
|
||||||
%{_bindir}/transfig
|
%{_bindir}/transfig
|
||||||
%{_bindir}/fig2dev
|
%{_bindir}/fig2dev
|
||||||
%{_bindir}/fig2ps2tex
|
%{_bindir}/fig2ps2tex
|
||||||
%{_bindir}/fig2ps2tex.sh
|
|
||||||
%{_bindir}/pic2tpic
|
%{_bindir}/pic2tpic
|
||||||
%{_mandir}/man1/*
|
%{_datadir}/fig2dev/bitmaps/*.bmp
|
||||||
%{_datadir}/xfig
|
%{_datadir}/fig2dev/i18n/*.ps
|
||||||
%{_datadir}/fig2dev
|
%{_datadir}/fig2dev/rgb.txt
|
||||||
|
%{_mandir}/man1/*.1.gz
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 12 2016 Jozef Mlich <imlich@fit.vutbr.cz> - 1:3.2.6-1
|
||||||
|
- Resolves #1366524
|
||||||
|
rebase to fig2dev 3.2.6
|
||||||
|
|
||||||
* Thu Mar 31 2016 Tomas Repik <trepik@redhat.com> - 1:3.2.5d-18
|
* Thu Mar 31 2016 Tomas Repik <trepik@redhat.com> - 1:3.2.5d-18
|
||||||
- reading alpha channel of png files properly (#1282615)
|
- reading alpha channel of png files properly (#1282615)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user