sffview/sffview.spec
Jan Engelhardt 1d7b3e883d NOTE: This is untested!
- Replace wxWidgets-3_0-devel for wxWidgets-devel BuildRequires:
  Package builds just fine with the newer 3.2 version.

OBS-URL: https://build.opensuse.org/package/show/network:telephony/sffview?expand=0&rev=18
2024-12-20 08:16:05 +00:00

67 lines
1.9 KiB
RPMSpec

#
# spec file for package sffview
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: sffview
%if 0%{?suse_version} > 1325
BuildRequires: libboost_headers-devel
%else
BuildRequires: boost-devel
%endif
BuildRequires: gcc-c++
BuildRequires: libtiff-devel
BuildRequires: update-desktop-files
BuildRequires: wxWidgets-devel
BuildRequires: xorg-x11
Version: 0.5
Release: 0
Summary: Viewer for Structured Fax Files (.sff) used by ISDN applications
License: MIT
Group: Hardware/ISDN
Source: %{name}-%{version}.tar.xz
Source2: %{name}.1
URL: http://sfftools.sourceforge.net/
Patch0: %{name}-%{version}.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
wxWidgets toolkit.
%prep
%autosetup -p1
%build
%make_build
%install
install -d "%buildroot/%_bindir"
install sffview "%buildroot/%_bindir/"
install -d "%buildroot/%_defaultdocdir/sffview"
install -pm0644 doc/readme doc/copying testfax.sff "%buildroot/%_defaultdocdir/sffview/"
install -d "%{buildroot}/%{_mandir}/man1"
install -pm0644 %{S:2} "%{buildroot}/%{_mandir}/man1/"
%files
/usr/bin/sffview
%doc %{_defaultdocdir}/sffview
%doc %{_mandir}/man1/sffview.1.gz
%changelog