update to 3.2.7b [release 3.2.7b-1mamba;Sun Dec 06 2020]
This commit is contained in:
parent
e6c0d75d60
commit
3fc3175c3c
@ -1,8 +1,5 @@
|
|||||||
%define fig2dev_dir /usr/share/fig2dev
|
|
||||||
%define xfig_dir /usr/lib/X11/xfig
|
|
||||||
|
|
||||||
Name: transfig
|
Name: transfig
|
||||||
Version: 3.2.5e
|
Version: 3.2.7b
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Tools for creating TeX documents with graphics
|
Summary: Tools for creating TeX documents with graphics
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
@ -10,52 +7,41 @@ Vendor: openmamba
|
|||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://xfig.org/
|
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
|
Patch0: %{name}-3.2.5-settings.patch
|
||||||
Patch1: %{name}-3.2.4-gcc33.patch
|
Patch1: %{name}-3.2.4-gcc33.patch
|
||||||
Patch2: %{name}-3.2.4-broken.patch
|
Patch2: %{name}-3.2.4-broken.patch
|
||||||
Patch3: %{name}-3.2.4-badc.patch
|
Patch3: %{name}-3.2.4-badc.patch
|
||||||
Patch4: transfig-3.2.5d-libpng-1.5.patch
|
Patch4: transfig-3.2.5d-libpng-1.5.patch
|
||||||
License: Distributable
|
License: Distributable
|
||||||
Requires: netpbm >= 9.1, ghostscript >= 7.07
|
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: ghostscript-devel
|
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: ldconfig
|
||||||
BuildRequires: libX11-devel
|
|
||||||
BuildRequires: libXpm-devel
|
BuildRequires: libXpm-devel
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: netpbm-devel
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
Requires: netpbm >= 9.1
|
||||||
|
Requires: ghostscript >= 7.07
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||||
|
|
||||||
%description
|
%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.
|
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
|
%prep
|
||||||
%setup -q -n %{name}.%{version}
|
%setup -q -n fig2dev-%{version}
|
||||||
%patch0 -p1
|
autoreconf -f -i
|
||||||
#%patch1 -p1
|
|
||||||
#%patch2 -p1
|
|
||||||
#%patch3 -p1
|
|
||||||
#%patch4 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
xmkmf
|
%configure \
|
||||||
make Makefiles LIBDIR=%{_libdir}/X11
|
--enable-transfig
|
||||||
make
|
|
||||||
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
%makeinstall
|
||||||
install -d %{buildroot}%{fig2dev_dir}
|
|
||||||
install -d %{buildroot}%{xfig_dir}
|
|
||||||
|
|
||||||
make \
|
|
||||||
DESTDIR=%{buildroot} \
|
|
||||||
BINDIR=%{_bindir} \
|
|
||||||
MANSOURCEPATH=%{_mandir}/man \
|
|
||||||
install install.man
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
@ -64,17 +50,19 @@ install install.man
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/fig2dev
|
%{_bindir}/fig2dev
|
||||||
%{_bindir}/fig2ps2tex
|
%{_bindir}/fig2ps2tex
|
||||||
%{_bindir}/fig2ps2tex.sh
|
#%{_bindir}/fig2ps2tex.sh
|
||||||
%{_bindir}/pic2tpic
|
%{_bindir}/pic2tpic
|
||||||
%{_bindir}/transfig
|
%{_bindir}/transfig
|
||||||
%dir %{fig2dev_dir}
|
%dir %{_datadir}/fig2dev
|
||||||
%{fig2dev_dir}/*
|
%{_datadir}/fig2dev/*
|
||||||
%dir %{xfig_dir}
|
#%dir %{xfig_dir}
|
||||||
%{xfig_dir}/*
|
#%{xfig_dir}/*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%doc CHANGES LATEX.AND.XFIG* NOTES README
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Sep 13 2013 Automatic Build System <autodist@mambasoft.it> 3.2.5e-1mamba
|
||||||
- update to 3.2.5e
|
- update to 3.2.5e
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user