2007-01-16 00:36:50 +01:00
|
|
|
|
#
|
|
|
|
|
# spec file for package sffview (Version 0.4)
|
|
|
|
|
#
|
2009-02-27 01:07:15 +01:00
|
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:36:50 +01:00
|
|
|
|
#
|
2009-02-27 01:07:15 +01:00
|
|
|
|
# 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.
|
|
|
|
|
|
2007-01-16 00:36:50 +01:00
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
2009-02-27 01:07:15 +01:00
|
|
|
|
|
2007-01-16 00:36:50 +01:00
|
|
|
|
Name: sffview
|
2011-01-20 17:00:56 +01:00
|
|
|
|
BuildRequires: SDL-devel boost-devel gcc-c++ libtiff-devel update-desktop-files wxWidgets-devel xorg-x11
|
2009-08-26 15:50:39 +02:00
|
|
|
|
License: MIT License (or similar)
|
2007-01-16 00:36:50 +01:00
|
|
|
|
Group: Hardware/ISDN
|
2007-10-11 22:22:17 +02:00
|
|
|
|
AutoReqProv: on
|
2007-01-16 00:36:50 +01:00
|
|
|
|
Version: 0.4
|
2009-08-26 15:50:39 +02:00
|
|
|
|
Release: 252
|
2007-01-16 00:36:50 +01:00
|
|
|
|
Summary: Simple viewer for Structured Fax Files (.sff) used by ISDN applications
|
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2007-10-11 22:22:17 +02:00
|
|
|
|
Url: http://sfftools.sourceforge.net/
|
2007-01-16 00:36:50 +01:00
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
Patch0: %{name}-%{version}.diff
|
2007-10-11 22:22:17 +02:00
|
|
|
|
Patch1: %{name}-gcc43.diff
|
2011-01-20 17:00:56 +01:00
|
|
|
|
%define _use_internal_dependency_generator 0
|
|
|
|
|
%define __find_requires %wx_requires
|
2007-01-16 00:36:50 +01:00
|
|
|
|
|
|
|
|
|
%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<EFBFBD>fer
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup
|
2009-08-26 15:50:39 +02:00
|
|
|
|
%patch0 -p1
|
2009-02-27 01:07:15 +01:00
|
|
|
|
%patch1
|
2007-01-16 00:36:50 +01:00
|
|
|
|
|
|
|
|
|
%build
|
2009-02-27 01:07:15 +01:00
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2007-01-16 00:36:50 +01:00
|
|
|
|
|
|
|
|
|
%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
|
2009-02-27 01:07:15 +01:00
|
|
|
|
|
2007-03-07 01:52:06 +01:00
|
|
|
|
%changelog
|