OBS User unknown 2007-01-15 23:36:50 +00:00 committed by Git OBS Bridge
commit ffefae3d1d
7 changed files with 240 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

0
ready Normal file
View File

24
sffview-0.4.diff Normal file
View File

@ -0,0 +1,24 @@
--- sffview-0.4/Makefile.org 2006-10-30 17:41:52.000000000 +0100
+++ sffview-0.4/Makefile 2006-10-30 17:41:52.000000000 +0100
@@ -19,10 +19,10 @@
OBJECTS = $(PROGRAM).o common.o codes.o decoder.o sfffile.o sffapp.o sffdoc.o
#WXCONFIG_CPP = `wxgtk2-2.5-config --cflags`
-WXCONFIG_CPP = `wx-config --cflags`
+WXCONFIG_CPP = `wx-config --unicode=yes --cflags`
#WXCONFIG_LD = `wxgtk2-2.5-config --libs --static`
-WXCONFIG_LD = `wx-config --libs`
+WXCONFIG_LD = `wx-config --unicode=yes --libs`
# /usr/lib/libglib-2.0.a \
# /usr/lib/libgobject-2.0.a \
@@ -53,7 +53,7 @@
.SUFFIXES: .o .cpp
.cpp.o :
- $(CC) -g -march=i686 -Os -c $(WXCONFIG_CPP) -o $@ $<
+ $(CC) -g $(RPM_OPT_FLAGS) -c $(WXCONFIG_CPP) -o $@ $<
all: $(PROGRAM)

3
sffview-0.4.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3fdb273d1ecbff1f189d6b30d3d3fe4c88018c4ecb996321e7374d2ed1edb8cf
size 58199

89
sffview.changes Normal file
View File

@ -0,0 +1,89 @@
-------------------------------------------------------------------
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
-------------------------------------------------------------------

100
sffview.spec Normal file
View File

@ -0,0 +1,100 @@
#
# spec file for package sffview (Version 0.4)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: sffview
BuildRequires: SDL-devel boost-devel gcc-c++ libtiff-devel update-desktop-files wxGTK-devel xorg-x11
License: X11/MIT
Group: Hardware/ISDN
Autoreqprov: on
Version: 0.4
Release: 1
Summary: Simple viewer for Structured Fax Files (.sff) used by ISDN applications
Source: %{name}-%{version}.tar.bz2
URL: http://sfftools.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
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
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äfer
%prep
%setup
%patch -p1
%build
make
%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
%changelog -n sffview
* Mon Oct 30 2006 - kkeil@suse.de
- update to 0.4
* include all our fixes
* print support
* Mon Oct 16 2006 - kkeil@suse.de
- compile with RPM_OPT_FLAGS
- compile with unicode support (Thanks Andreas Hanke, #212502)
* Fri Jan 27 2006 - kkeil@suse.de
- add gcc-c++ to BuildRequires
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Nov 02 2005 - dmueller@suse.de
- don't build as root
* Fri Apr 15 2005 - mcihar@suse.de
- add SDL-devel-packages because of wxGTK
* Sat Apr 09 2005 - kkeil@suse.de
- GCC4 fixes
* Wed Mar 30 2005 - kkeil@suse.de
- a dword is always 32 bit, also on 64 bit OS (#75254)
* Mon Nov 22 2004 - ro@suse.de
- fix build with new wxGTK
* Wed Sep 15 2004 - kkeil@suse.de
- move to version 0.3 (#44574)
* Fri Aug 20 2004 - ro@suse.de
- added wxGTK-compat to neededforbuild
* Wed Apr 21 2004 - kkeil@suse.de
- fix package for new wxGTK with UNICODE enabled
* Wed Jan 14 2004 - ro@suse.de
- use gtk2
* Thu Jun 12 2003 - kkeil@suse.de
- fix filelist
* Sun Feb 23 2003 - ghillie@suse.de
- use g++ instead of gcc
* Mon Jan 20 2003 - ghillie@suse.de
- removed arch=i486 from Makefile (see gcc-3.2 patch)
- added glib and gtk to neededforbuild
* Mon Dec 16 2002 - gernot@hillier.de
- first package