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
This commit is contained in:
commit
1d7b3e883d
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
22
sffview-0.5.diff
Normal file
22
sffview-0.5.diff
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
Index: sffview-0.5/Makefile
|
||||||
|
===================================================================
|
||||||
|
--- sffview-0.5.orig/Makefile
|
||||||
|
+++ sffview-0.5/Makefile
|
||||||
|
@@ -18,14 +18,14 @@ CC = g++
|
||||||
|
PROGRAM = sffview
|
||||||
|
OBJECTS = $(PROGRAM).o common.o codes.o decoder.o sfffile.o sffapp.o sffdoc.o
|
||||||
|
|
||||||
|
-WXCONFIG_CPP = `wx-config --cflags`
|
||||||
|
+WXCONFIG_CPP = `wx-config --unicode=yes --cflags`
|
||||||
|
|
||||||
|
-WXCONFIG_LD = `wx-config --libs`
|
||||||
|
+WXCONFIG_LD = `wx-config --unicode=yes --libs`
|
||||||
|
|
||||||
|
.SUFFIXES: .o .cpp
|
||||||
|
|
||||||
|
.cpp.o :
|
||||||
|
- $(CC) -g -Os -c $(WXCONFIG_CPP) -o $@ $<
|
||||||
|
+ $(CC) -g $(RPM_OPT_FLAGS) -fno-strict-aliasing -c $(WXCONFIG_CPP) -o $@ $<
|
||||||
|
|
||||||
|
all: $(PROGRAM)
|
||||||
|
|
3
sffview-0.5.tar.xz
Normal file
3
sffview-0.5.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e6e579de5a96be532635abaf54ba516ca51dd8e12206bf365e1864c69f952198
|
||||||
|
size 57300
|
43
sffview.1
Normal file
43
sffview.1
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
.\" This manpage has been automatically generated by docbook2man
|
||||||
|
.\" from a DocBook document. This tool can be found at:
|
||||||
|
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
|
||||||
|
.\" Please send any bug reports, improvements, comments, patches,
|
||||||
|
.\" etc. to Steve Cheng <steve@ggi-project.org>.
|
||||||
|
.TH "SFFVIEW" "1" "27 Januar 2017" "" ""
|
||||||
|
|
||||||
|
.SH NAME
|
||||||
|
sffview \- X11 viewer for structured fax files (SFF)
|
||||||
|
.SH SYNOPSIS
|
||||||
|
|
||||||
|
\fBsffview\fR
|
||||||
|
|
||||||
|
.SH "DESCRIPTION"
|
||||||
|
.PP
|
||||||
|
This manual page documents briefly the
|
||||||
|
\fBsffview\fR command.
|
||||||
|
.PP
|
||||||
|
This manual page was written for the Debian distribution
|
||||||
|
because the original program does not have a manual page.
|
||||||
|
.PP
|
||||||
|
\fBsffview\fR is a tool to view
|
||||||
|
"structured fax files" in X11.
|
||||||
|
"Structured fax file" (SFF) is the file format that ISDN
|
||||||
|
cards with CAPI interface expect and create.
|
||||||
|
.SH "OPTIONS"
|
||||||
|
.PP
|
||||||
|
NONE
|
||||||
|
.SH "BUGS"
|
||||||
|
.PP
|
||||||
|
Only German localisation
|
||||||
|
.SH "SEE ALSO"
|
||||||
|
.PP
|
||||||
|
sfftobmp (1).
|
||||||
|
.SH "AUTHOR"
|
||||||
|
.PP
|
||||||
|
This manual page was written by Achim Bohnet <ach@mpe.mpg.de> for
|
||||||
|
the Debian system (but may be used by others). Permission is
|
||||||
|
granted to copy, distribute and/or modify this document under
|
||||||
|
the terms of the GNU Free Documentation
|
||||||
|
License, Version 1.1 or any later version published by the Free
|
||||||
|
Software Foundation; with no Invariant Sections, no Front-Cover
|
||||||
|
Texts and no Back-Cover Texts.
|
156
sffview.changes
Normal file
156
sffview.changes
Normal file
@ -0,0 +1,156 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 21 11:46:03 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Replace wxWidgets-3_0-devel for wxWidgets-devel BuildRequires:
|
||||||
|
Package builds just fine with the newer 3.2 version.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
- use individual libboost-*-devel packages instead of boost-devel
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 27 18:31:50 UTC 2017 - keil@b1-systems.de
|
||||||
|
|
||||||
|
- use wxWidgets-3_0
|
||||||
|
- import man page from debian project
|
||||||
|
- delete sffview-gcc43.diff since it is included in the new version
|
||||||
|
- delete not longer applying sffview-0.4.diff patch
|
||||||
|
- add sffview-0.5.diff patch to use RPM_OPT_FLAGS and unicode
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 27 15:53:03 UTC 2017 - keil@b1-systems.de
|
||||||
|
|
||||||
|
- Update to version 0.5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 12 20:47:27 UTC 2016 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Remove archaic specfile contraptions.
|
||||||
|
Fix rpmlint "spurious-executable-permissions" warning.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 21 13:52:17 CET 2011 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Fixed build for older distributions.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 29 15:04:12 CET 2010 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Compile with wxWidgets (STL variant).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 26 12:53:54 CEST 2009 - mls@suse.de
|
||||||
|
|
||||||
|
- make patch0 usage consistent
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 26 19:02:42 CET 2009 - crrodriguez@suse.de
|
||||||
|
|
||||||
|
- extend GCC 4.3 patch to cover GC 4.4 too
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 11 14:37:11 CEST 2007 - kkeil@suse.de
|
||||||
|
|
||||||
|
- fixes for GCC 4.3
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 6 00:58:44 CET 2007 - kkeil@suse.de
|
||||||
|
|
||||||
|
- fix string type issue for gcc42
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 30 18:05:43 CET 2006 - kkeil@suse.de
|
||||||
|
|
||||||
|
- update to 0.4
|
||||||
|
* include all our fixes
|
||||||
|
* print support
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 16 09:05:59 CEST 2006 - kkeil@suse.de
|
||||||
|
|
||||||
|
- compile with RPM_OPT_FLAGS
|
||||||
|
- compile with unicode support (Thanks Andreas Hanke, #212502)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 27 11:41:27 CET 2006 - kkeil@suse.de
|
||||||
|
|
||||||
|
- add gcc-c++ to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:41:34 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 2 22:15:16 CET 2005 - dmueller@suse.de
|
||||||
|
|
||||||
|
- don't build as root
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 15 14:50:40 CEST 2005 - mcihar@suse.de
|
||||||
|
|
||||||
|
- add SDL-devel-packages because of wxGTK
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 9 23:33:16 CEST 2005 - kkeil@suse.de
|
||||||
|
|
||||||
|
- GCC4 fixes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 30 17:35:03 CEST 2005 - kkeil@suse.de
|
||||||
|
|
||||||
|
- a dword is always 32 bit, also on 64 bit OS (#75254)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 22 17:32:49 CET 2004 - ro@suse.de
|
||||||
|
|
||||||
|
- fix build with new wxGTK
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 15 12:50:29 CEST 2004 - kkeil@suse.de
|
||||||
|
|
||||||
|
- move to version 0.3 (#44574)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 20 14:42:33 CEST 2004 - ro@suse.de
|
||||||
|
|
||||||
|
- added wxGTK-compat to neededforbuild
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 21 17:37:19 CEST 2004 - kkeil@suse.de
|
||||||
|
|
||||||
|
- fix package for new wxGTK with UNICODE enabled
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 14 01:44:35 CET 2004 - ro@suse.de
|
||||||
|
|
||||||
|
- use gtk2
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 12 19:45:17 CEST 2003 - kkeil@suse.de
|
||||||
|
|
||||||
|
- fix filelist
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 23 13:05:05 CET 2003 - ghillie@suse.de
|
||||||
|
|
||||||
|
- use g++ instead of gcc
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 20 15:30:11 CET 2003 - ghillie@suse.de
|
||||||
|
|
||||||
|
- removed arch=i486 from Makefile (see gcc-3.2 patch)
|
||||||
|
- added glib and gtk to neededforbuild
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 16 17:54:00 MET 2002 - gernot@hillier.de
|
||||||
|
|
||||||
|
- first package
|
||||||
|
-------------------------------------------------------------------
|
66
sffview.spec
Normal file
66
sffview.spec
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
#
|
||||||
|
# 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
|
Loading…
x
Reference in New Issue
Block a user