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
This commit is contained in:
Christian Wittmer 2011-01-24 09:43:10 +00:00 committed by Git OBS Bridge
parent d9525bcf76
commit 9a61eb16d9
2 changed files with 17 additions and 5 deletions

View File

@ -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 Wed Dec 29 15:04:12 CET 2010 - sbrabec@suse.cz

View File

@ -19,7 +19,12 @@
Name: sffview 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) License: MIT License (or similar)
Group: Hardware/ISDN Group: Hardware/ISDN
AutoReqProv: on AutoReqProv: on
@ -31,23 +36,25 @@ Url: http://sfftools.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch0: %{name}-%{version}.diff Patch0: %{name}-%{version}.diff
Patch1: %{name}-gcc43.diff Patch1: %{name}-gcc43.diff
%if %suse_version > 1130
%define _use_internal_dependency_generator 0 %define _use_internal_dependency_generator 0
%define __find_requires %wx_requires %define __find_requires %wx_requires
%endif
%description %description
The CAPI interface for programming ISDN hardware expects and gives you The CAPI interface for programming ISDN hardware expects and gives you
faxes in the "Structured Fax File" (SFF) format. faxes in the "Structured Fax File" (SFF) format.
SffView is a viewer for SFF-files. SffView is written in C++ using the SffView is a viewer for SFF-files. SffView is written in C++ using the
wxWindows/wxGTK toolkit and is therefore available for Linux and wxWidgets/wxGTK toolkit and is therefore available for Linux and
Windows (wxWindows is a platform independent toolkit and wxGTK is a Windows (wxWidgets is a platform independent toolkit and wxGTK is a
unix implementation based on GTK+, see wxWindows homepage). unix implementation based on GTK+, see wxWidgets homepage).
Authors: Authors:
-------- --------
Peter Schäfer Peter Schäfer
%prep %prep
%setup %setup