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 Thu Feb 2 12:46:30 UTC 2017 - adam.majer@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package sffview # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 Name: sffview
BuildRequires: SDL-devel
%if 0%{?suse_version} > 1325 %if 0%{?suse_version} > 1325
BuildRequires: libboost_headers-devel BuildRequires: libboost_headers-devel
%else %else
@ -30,32 +29,26 @@ BuildRequires: wxWidgets-3_0-devel
BuildRequires: xorg-x11 BuildRequires: xorg-x11
Version: 0.5 Version: 0.5
Release: 0 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 License: MIT
Group: Hardware/ISDN Group: Hardware/ISDN
Source: %{name}-%{version}.tar.xz Source: %{name}-%{version}.tar.xz
Source2: %{name}.1 Source2: %{name}.1
Url: http://sfftools.sourceforge.net/ URL: http://sfftools.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch0: %{name}-%{version}.diff Patch0: %{name}-%{version}.diff
%define _use_internal_dependency_generator 0
%define __find_requires %wx_requires
%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
wxWidgets/wxGTK toolkit and is therefore available for Linux and wxWidgets toolkit.
Windows (wxWidgets is a platform independent toolkit and wxGTK is a
unix implementation based on GTK+, see wxWidgets homepage).
%prep %prep
%setup %autosetup -p1
%patch0 -p1
%build %build
make %{?_smp_mflags} %make_build
%install %install
install -d "%buildroot/%_bindir" install -d "%buildroot/%_bindir"
@ -66,7 +59,6 @@ install -d "%{buildroot}/%{_mandir}/man1"
install -pm0644 %{S:2} "%{buildroot}/%{_mandir}/man1/" install -pm0644 %{S:2} "%{buildroot}/%{_mandir}/man1/"
%files %files
%defattr(-,root,root,-)
/usr/bin/sffview /usr/bin/sffview
%doc %{_defaultdocdir}/sffview %doc %{_defaultdocdir}/sffview
%doc %{_mandir}/man1/sffview.1.gz %doc %{_mandir}/man1/sffview.1.gz