diff --git a/xfig.changes b/xfig.changes index ff612f5..865799d 100644 --- a/xfig.changes +++ b/xfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 19 11:29:36 CEST 2010 - sndirsch@suse.de + +- fixed libpng buildrequires for openSUSE >= 11.3 + ------------------------------------------------------------------- Mon Dec 14 14:08:05 CET 2009 - werner@suse.de diff --git a/xfig.spec b/xfig.spec index af2246e..2eea191 100644 --- a/xfig.spec +++ b/xfig.spec @@ -1,7 +1,7 @@ # # spec file for package xfig (Version 3.2.5b) # -# 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: xfig -BuildRequires: flex freetype2-devel libjpeg-devel libpng-devel netpbm update-desktop-files xaw3d-devel xorg-x11 xorg-x11-devel +BuildRequires: flex freetype2-devel libjpeg-devel netpbm update-desktop-files xaw3d-devel xorg-x11 xorg-x11-devel +%if 0%{?suse_version} > 1120 +BuildRequires: libpng12-compat-devel libpng12-devel +%else +BuildRequires: libpng-devel +%endif License: PERMISSIVE-OSI-COMPLIANT Group: Productivity/Graphics/Vector Editors Provides: xfig.3.2.3d Requires: transfig netpbm ghostscript-fonts-std AutoReqProv: on Version: 3.2.5b -Release: 1 +Release: 2 Summary: Facility for Interactive Generation of Figures under the X Window System Url: http://www.xfig.org/ Source: xfig.%{version}.tar.bz2