# # spec file for package sffview (Version 0.4) # # Copyright (c) 2009 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: sffview BuildRequires: SDL-devel boost-devel gcc-c++ libtiff-devel update-desktop-files wxGTK-devel xorg-x11 License: MIT License (or similar) Group: Hardware/ISDN AutoReqProv: on Version: 0.4 Release: 252 Summary: Simple viewer for Structured Fax Files (.sff) used by ISDN applications Source: %{name}-%{version}.tar.bz2 Url: http://sfftools.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch0: %{name}-%{version}.diff Patch1: %{name}-gcc43.diff %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). Authors: -------- Peter Schäfer %prep %setup %patch0 -p1 %patch1 %build %{__make} %{?jobs:-j%jobs} %install install -d $RPM_BUILD_ROOT/usr/bin install sffview $RPM_BUILD_ROOT/usr/bin install -d $RPM_BUILD_ROOT/%{_defaultdocdir}/sffview install doc/readme doc/copying testfax.sff $RPM_BUILD_ROOT/%{_defaultdocdir}/sffview %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) /usr/bin/sffview %doc %{_defaultdocdir}/sffview %changelog