sffview/sffview.spec

117 lines
3.5 KiB
RPMSpec

#
# spec file for package sffview (Version 0.4)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 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: 251
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
Patch1: %{name}-gcc43.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
%patch1
%build
%{__make} %{?jobs:-j%jobs}
%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
* Thu Feb 26 2009 crrodriguez@suse.de
- extend GCC 4.3 patch to cover GC 4.4 too
* Thu Oct 11 2007 kkeil@suse.de
- fixes for GCC 4.3
* Tue Mar 06 2007 kkeil@suse.de
- fix string type issue for gcc42
* 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