update to 3.2.7b [release 3.2.7b-1mamba;Sun Dec 06 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 18:41:00 +01:00
parent e6c0d75d60
commit 3fc3175c3c

View File

@ -1,8 +1,5 @@
%define fig2dev_dir /usr/share/fig2dev
%define xfig_dir /usr/lib/X11/xfig
Name: transfig
Version: 3.2.5e
Version: 3.2.7b
Release: 1mamba
Summary: Tools for creating TeX documents with graphics
Group: Applications/Publishing
@ -10,52 +7,41 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://xfig.org/
Source: http://downloads.sourceforge.net/project/mcj/mcj-source/transfig.%{version}.tar.gz
Source: http://downloads.sourceforge.net/mcj/fig2dev-%{version}.tar.xz
Patch0: %{name}-3.2.5-settings.patch
Patch1: %{name}-3.2.4-gcc33.patch
Patch2: %{name}-3.2.4-broken.patch
Patch3: %{name}-3.2.4-badc.patch
Patch4: transfig-3.2.5d-libpng-1.5.patch
License: Distributable
Requires: netpbm >= 9.1, ghostscript >= 7.07
## AUTOBUILDREQ-BEGIN
BuildRequires: ghostscript-devel
BuildRequires: glibc-devel
BuildRequires: libpng-devel
BuildRequires: libX11-devel
BuildRequires: ldconfig
BuildRequires: libXpm-devel
BuildRequires: libz-devel
BuildRequires: netpbm-devel
BuildRequires: libpng-devel
## AUTOBUILDREQ-END
Requires: netpbm >= 9.1
Requires: ghostscript >= 7.07
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description
TransFig is a set of tools for creating TeX documents with graphics which are portable, in the sense that they can be printed in a wide variety of environments.
%debug_package
%prep
%setup -q -n %{name}.%{version}
%patch0 -p1
#%patch1 -p1
#%patch2 -p1
#%patch3 -p1
#%patch4 -p1
%setup -q -n fig2dev-%{version}
autoreconf -f -i
%build
xmkmf
make Makefiles LIBDIR=%{_libdir}/X11
make
%configure \
--enable-transfig
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
install -d %{buildroot}%{fig2dev_dir}
install -d %{buildroot}%{xfig_dir}
make \
DESTDIR=%{buildroot} \
BINDIR=%{_bindir} \
MANSOURCEPATH=%{_mandir}/man \
install install.man
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -64,17 +50,19 @@ install install.man
%defattr(-,root,root)
%{_bindir}/fig2dev
%{_bindir}/fig2ps2tex
%{_bindir}/fig2ps2tex.sh
#%{_bindir}/fig2ps2tex.sh
%{_bindir}/pic2tpic
%{_bindir}/transfig
%dir %{fig2dev_dir}
%{fig2dev_dir}/*
%dir %{xfig_dir}
%{xfig_dir}/*
%dir %{_datadir}/fig2dev
%{_datadir}/fig2dev/*
#%dir %{xfig_dir}
#%{xfig_dir}/*
%{_mandir}/man1/*
%doc CHANGES LATEX.AND.XFIG* NOTES README
%changelog
* Sun Dec 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.7b-1mamba
- update to 3.2.7b
* Fri Sep 13 2013 Automatic Build System <autodist@mambasoft.it> 3.2.5e-1mamba
- update to 3.2.5e