Accepting request 977673 from home:jengelh:branches:network:telephony

- Drop unused BuildRequire on SDL-devel.
- Modernize specfile. Trim filler wording from description.

OBS-URL: https://build.opensuse.org/request/show/977673
OBS-URL: https://build.opensuse.org/package/show/network:telephony/sffview?expand=0&rev=16
This commit is contained in:
Jan Engelhardt 2022-05-28 20:05:48 +00:00 committed by Git OBS Bridge
parent 9167c1b5ce
commit 75e89a5491
2 changed files with 14 additions and 16 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 17 08:21:13 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Drop unused BuildRequire on SDL-devel.
- Modernize specfile. Trim filler wording from description.
-------------------------------------------------------------------
Thu Feb 2 12:46:30 UTC 2017 - adam.majer@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package sffview
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@ -12,12 +12,11 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: sffview
BuildRequires: SDL-devel
%if 0%{?suse_version} > 1325
BuildRequires: libboost_headers-devel
%else
@ -30,32 +29,26 @@ BuildRequires: wxWidgets-3_0-devel
BuildRequires: xorg-x11
Version: 0.5
Release: 0
Summary: Simple viewer for Structured Fax Files (.sff) used by ISDN applications
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/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: http://sfftools.sourceforge.net/
Patch0: %{name}-%{version}.diff
%define _use_internal_dependency_generator 0
%define __find_requires %wx_requires
%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/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).
SffView is a viewer for SFF files. SffView is written in C++ using the
wxWidgets toolkit.
%prep
%setup
%patch0 -p1
%autosetup -p1
%build
make %{?_smp_mflags}
%make_build
%install
install -d "%buildroot/%_bindir"
@ -66,7 +59,6 @@ install -d "%{buildroot}/%{_mandir}/man1"
install -pm0644 %{S:2} "%{buildroot}/%{_mandir}/man1/"
%files
%defattr(-,root,root,-)
/usr/bin/sffview
%doc %{_defaultdocdir}/sffview
%doc %{_mandir}/man1/sffview.1.gz