diff --git a/sffview.changes b/sffview.changes index f6961f5..1e92a7c 100644 --- a/sffview.changes +++ b/sffview.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 21 13:52:17 CET 2011 - sbrabec@suse.cz + +- Fixed build for older distributions. + ------------------------------------------------------------------- Wed Dec 29 15:04:12 CET 2010 - sbrabec@suse.cz diff --git a/sffview.spec b/sffview.spec index aaa4a05..5b5ec07 100644 --- a/sffview.spec +++ b/sffview.spec @@ -19,7 +19,12 @@ Name: sffview -BuildRequires: SDL-devel boost-devel gcc-c++ libtiff-devel update-desktop-files wxWidgets-devel xorg-x11 +BuildRequires: SDL-devel boost-devel gcc-c++ libtiff-devel update-desktop-files xorg-x11 +%if %suse_version > 1130 +BuildRequires: wxWidgets-devel +%else +BuildRequires: wxGTK-devel +%endif License: MIT License (or similar) Group: Hardware/ISDN AutoReqProv: on @@ -31,23 +36,25 @@ Url: http://sfftools.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch0: %{name}-%{version}.diff Patch1: %{name}-gcc43.diff +%if %suse_version > 1130 %define _use_internal_dependency_generator 0 %define __find_requires %wx_requires +%endif %description The CAPI interface for programming ISDN hardware expects and gives you faxes in the "Structured Fax File" (SFF) format. SffView is a viewer for SFF-files. SffView is written in C++ using the -wxWindows/wxGTK toolkit and is therefore available for Linux and -Windows (wxWindows is a platform independent toolkit and wxGTK is a -unix implementation based on GTK+, see wxWindows homepage). +wxWidgets/wxGTK toolkit and is therefore available for Linux and +Windows (wxWidgets is a platform independent toolkit and wxGTK is a +unix implementation based on GTK+, see wxWidgets homepage). Authors: -------- - Peter Schäfer + Peter Schäfer %prep %setup