From a10c8f64a61df1206d0c41a3a7295a83d2ec19ac1132dcf7517739ce74ce2a7f Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 18 Jun 2021 14:02:54 +0000 Subject: [PATCH 1/3] Support older products OBS-URL: https://build.opensuse.org/package/show/Publishing/transfig?expand=0&rev=74 --- transfig.changes | 5 +++++ transfig.spec | 16 ++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/transfig.changes b/transfig.changes index b69b318..0bf4c71 100644 --- a/transfig.changes +++ b/transfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 18 13:26:56 UTC 2021 - Dr. Werner Fink + +- Make spec file build with older SLE versions as well + ------------------------------------------------------------------- Fri May 21 11:50:39 UTC 2021 - Dr. Werner Fink diff --git a/transfig.spec b/transfig.spec index 075cae6..ce27cc0 100644 --- a/transfig.spec +++ b/transfig.spec @@ -36,7 +36,13 @@ BuildRequires: tex(times.sty) BuildRequires: tex(xmpmulti.sty) %endif BuildRequires: libpng-devel +%if 0%{?suse_version} > 1310 BuildRequires: pkgconfig(xpm) +%else +BuildRequires: xorg-x11-libXpm-devel +BuildRequires: xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%endif # www.xfig.org is dead URL: http://mcj.sourceforge.net/ Provides: fig2dev @@ -58,16 +64,6 @@ Patch4: transfig-fix-afl.patch Patch43: fig2dev-3.2.6-fig2mpdf.patch Patch44: fig2dev-3.2.6-fig2mpdf-doc.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 TransFig is a set of tools for creating TeX documents with graphics From c08bfb5c9e1154bcd669ea2692b424fb30463ba8e1f17a17625f9847fc8019bd Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 21 Jun 2021 07:27:57 +0000 Subject: [PATCH 2/3] . OBS-URL: https://build.opensuse.org/package/show/Publishing/transfig?expand=0&rev=75 --- transfig.changes | 1 + 1 file changed, 1 insertion(+) diff --git a/transfig.changes b/transfig.changes index 0bf4c71..dbedabb 100644 --- a/transfig.changes +++ b/transfig.changes @@ -2,6 +2,7 @@ Fri Jun 18 13:26:56 UTC 2021 - Dr. Werner Fink - Make spec file build with older SLE versions as well + * This version is used by xfig 3.2.8 and above ------------------------------------------------------------------- Fri May 21 11:50:39 UTC 2021 - Dr. Werner Fink From 98c48efe054cf65ba9db48bcecd735f01af8478887f778066c4a10fce0f858e5 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 24 Jun 2021 06:26:09 +0000 Subject: [PATCH 3/3] . OBS-URL: https://build.opensuse.org/package/show/Publishing/transfig?expand=0&rev=76 --- transfig.changes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/transfig.changes b/transfig.changes index dbedabb..2e03b62 100644 --- a/transfig.changes +++ b/transfig.changes @@ -182,6 +182,12 @@ Thu Aug 15 07:21:49 UTC 2019 - Dr. Werner Fink - Add patch transfig-03ea4578.patch from upstream commit 03ea4578 to fix bsc#1143650 with CVE-2019-14275 +------------------------------------------------------------------- +Wed Jun 26 07:45:21 UTC 2019 - Dr. Werner Fink + +- Add patch transfig-fix-of-e0c4b024.patch to fix last added upstream + commit (boo#1136882) + ------------------------------------------------------------------- Thu Aug 30 09:50:10 UTC 2018 - Dr. Werner Fink