Support older products
OBS-URL: https://build.opensuse.org/package/show/Publishing/transfig?expand=0&rev=74
This commit is contained in:
parent
14435d2596
commit
a10c8f64a6
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 18 13:26:56 UTC 2021 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Make spec file build with older SLE versions as well
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 21 11:50:39 UTC 2021 - Dr. Werner Fink <werner@suse.de>
|
Fri May 21 11:50:39 UTC 2021 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
@ -36,7 +36,13 @@ BuildRequires: tex(times.sty)
|
|||||||
BuildRequires: tex(xmpmulti.sty)
|
BuildRequires: tex(xmpmulti.sty)
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
|
%if 0%{?suse_version} > 1310
|
||||||
BuildRequires: pkgconfig(xpm)
|
BuildRequires: pkgconfig(xpm)
|
||||||
|
%else
|
||||||
|
BuildRequires: xorg-x11-libXpm-devel
|
||||||
|
BuildRequires: xz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%endif
|
||||||
# www.xfig.org is dead
|
# www.xfig.org is dead
|
||||||
URL: http://mcj.sourceforge.net/
|
URL: http://mcj.sourceforge.net/
|
||||||
Provides: fig2dev
|
Provides: fig2dev
|
||||||
@ -58,16 +64,6 @@ Patch4: transfig-fix-afl.patch
|
|||||||
Patch43: fig2dev-3.2.6-fig2mpdf.patch
|
Patch43: fig2dev-3.2.6-fig2mpdf.patch
|
||||||
Patch44: fig2dev-3.2.6-fig2mpdf-doc.patch
|
Patch44: fig2dev-3.2.6-fig2mpdf-doc.patch
|
||||||
Patch45: fig2dev-3.2.6a-RGBFILE.patch
|
Patch45: fig2dev-3.2.6a-RGBFILE.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)}
|
|
||||||
%if "%_exec_prefix" == "/usr/X11R6"
|
|
||||||
%global _mandir %{_exec_prefix}/man
|
|
||||||
%define _x11data %{_exec_prefix}/lib/X11
|
|
||||||
%define _data $(LIBDIR)
|
|
||||||
%else
|
|
||||||
%define _x11data %{_datadir}/X11
|
|
||||||
%define _data $(SHAREDIR)
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
TransFig is a set of tools for creating TeX documents with graphics
|
TransFig is a set of tools for creating TeX documents with graphics
|
||||||
|
Loading…
Reference in New Issue
Block a user