transfig/transfig.spec

77 lines
2.0 KiB
RPMSpec

Name: transfig
Version: 3.2.7b
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: http://xfig.org/
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: ldconfig
BuildRequires: libXpm-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 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
* 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