2024-01-05 19:41:19 +01:00
|
|
|
%define fig2dev_dir /usr/share/fig2dev
|
|
|
|
%define xfig_dir /usr/lib/X11/xfig
|
|
|
|
|
|
|
|
Name: xfig
|
2024-01-05 19:41:19 +01:00
|
|
|
Version: 3.2.8b
|
2024-01-05 19:41:19 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: An interactive drawing tool
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 19:41:19 +01:00
|
|
|
URL: https://xfig.org/
|
2024-01-05 19:41:19 +01:00
|
|
|
Source: https://sourceforge.net/projects/mcj/files/xfig-%{version}.tar.xz
|
|
|
|
Patch5: xfig-3.2.7b-build-spl_image.patch
|
|
|
|
License: Distributable
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXaw3d-devel
|
|
|
|
BuildRequires: libXpm-devel
|
|
|
|
BuildRequires: libXt-devel
|
2024-01-05 19:41:19 +01:00
|
|
|
BuildRequires: libgs-devel
|
2024-01-05 19:41:19 +01:00
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libpng-devel
|
2024-01-05 19:41:19 +01:00
|
|
|
BuildRequires: libtiff-devel
|
2024-01-05 19:41:19 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
xfig is an interactive drawing tool.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 19:41:19 +01:00
|
|
|
#%patch5 -p1
|
2024-01-05 19:41:19 +01:00
|
|
|
autoreconf -f -i
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/xfig
|
|
|
|
%dir %{_datadir}/xfig
|
|
|
|
%{_datadir}/xfig/CompKeyDB
|
|
|
|
%dir %{_datadir}/xfig/Libraries
|
|
|
|
%{_datadir}/xfig/Libraries/*
|
|
|
|
%{_datadir}/X11/app-defaults/Fig
|
|
|
|
%{_datadir}/applications/xfig.desktop
|
|
|
|
%{_datadir}/pixmaps/xfig.png
|
|
|
|
%dir %{_docdir}/xfig
|
|
|
|
%{_docdir}/xfig/FORMAT*
|
|
|
|
%dir %{_docdir}/xfig/html
|
|
|
|
%{_docdir}/xfig/html/*
|
|
|
|
%{_datadir}/doc/xfig/xfig-howto.pdf
|
2024-01-05 19:41:19 +01:00
|
|
|
#%{_datadir}/doc/xfig/xfig-title.png
|
2024-01-05 19:41:19 +01:00
|
|
|
%{_datadir}/doc/xfig/xfig_man.html
|
|
|
|
%{_datadir}/doc/xfig/xfig_ref_en.pdf
|
|
|
|
%{_mandir}/man1/xfig.1*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 19:41:19 +01:00
|
|
|
* Mon Aug 23 2021 Automatic Build System <autodist@mambasoft.it> 3.2.8b-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:41:19 +01:00
|
|
|
* Wed Mar 31 2021 Automatic Build System <autodist@mambasoft.it> 3.2.8a-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:41:19 +01:00
|
|
|
* Sun Dec 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.7b-1mamba
|
|
|
|
- package created
|