From 9a61eb16d990e0bfc3571295bece6c4add3f36adcc55d266ffedf0adfc2d5ebd Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Mon, 24 Jan 2011 09:43:10 +0000 Subject: [PATCH] Accepting request 58961 from home:sbrabec:branches:network:telephony Thank you OBS-URL: https://build.opensuse.org/request/show/58961 OBS-URL: https://build.opensuse.org/package/show/network:telephony/sffview?expand=0&rev=6 --- sffview.changes | 5 +++++ sffview.spec | 17 ++++++++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) 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