diff --git a/transfig.changes b/transfig.changes index c7bd265..f465d91 100644 --- a/transfig.changes +++ b/transfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 19 11:22:31 CEST 2010 - sndirsch@suse.de + +- fixed libpng buildrequires for openSUSE >= 11.3 + ------------------------------------------------------------------- Thu Dec 17 09:30:41 CET 2009 - werner@suse.de diff --git a/transfig.spec b/transfig.spec index 7210be1..2551809 100644 --- a/transfig.spec +++ b/transfig.spec @@ -1,7 +1,7 @@ # # spec file for package transfig (Version 3.2.5a) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,14 +19,19 @@ Name: transfig -BuildRequires: libjpeg-devel libpng-devel netpbm texlive-latex xorg-x11 xorg-x11-devel +BuildRequires: libjpeg-devel netpbm texlive-latex xorg-x11 xorg-x11-devel +%if 0%{?suse_version} > 1120 +BuildRequires: libpng12-compat-devel libpng12-devel +%else +BuildRequires: libpng-devel +%endif License: MIT License (or similar) Group: Productivity/Graphics/Convertors Provides: transfig.3.2.3d Requires: netpbm ghostscript-library ghostscript-fonts-std AutoReqProv: on Version: 3.2.5a -Release: 2 +Release: 3 Summary: Graphic Converter Source: transfig.%{version}.tar.bz2 Patch0: transfig.3.2.5a.dif