transfig/transfig.spec

81 lines
2.2 KiB
RPMSpec

Name: transfig
Version: 3.2.9
Release: 1mamba
Summary: Tools for creating TeX documents with graphics
Group: Applications/Publishing
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://orng.org/#%F0%9F%8D%8A%F0%9F%94%B8%F0%9F%94%96%F0%9F%94%B8xfig
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
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpng-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: netpbm >= 9.1
Requires: ghostscript >= 7.07
%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 fig2dev-%{version}
autoreconf -f -i
%build
%configure \
--enable-transfig
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/fig2dev
%{_bindir}/fig2ps2tex
#%{_bindir}/fig2ps2tex.sh
%{_bindir}/pic2tpic
%{_bindir}/transfig
%dir %{_datadir}/fig2dev
%{_datadir}/fig2dev/*
#%dir %{xfig_dir}
#%{xfig_dir}/*
%{_mandir}/man1/*
%changelog
* Thu Sep 07 2023 Automatic Build System <autodist@mambasoft.it> 3.2.9-1mamba
- automatic update by autodist
* Tue Feb 23 2021 Automatic Build System <autodist@mambasoft.it> 3.2.8-1mamba
- automatic version update by autodist
* 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
* Sat May 18 2013 Automatic Build System <autodist@mambasoft.it> 3.2.5d-1mamba
- automatic version update by autodist
* Mon Jun 16 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.5-1mamba
- update to 3.2.5
* Mon Mar 07 2005 Davide Madrisan <davide.madrisan@qilinux.it> 3.2.4-1qilnx
- package created by autospec