File sfftobmp.spec of Package sfftobmp

# spec file for package sfftobmp (Version 3.1.1)
# 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

# norootforbuild

Name:           sfftobmp
BuildRequires:  boost-devel gcc-c++ libjpeg-devel libtiff-devel
License:        X11/MIT
Group:          Hardware/ISDN
AutoReqProv:    on
Version:        3.1.1
Release:        100
Summary:        Tool to convert Structured Fax Files (.sff) to other image formats
Source:         %{name}-%{version}.tar.bz2 
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Patch:          %{name}-gcc43.diff

The CAPI interface for programming ISDN hardware expects and gives
faxes in the "Structured Fax File" (SFF) format.

SffToBmp is a converter tool, written in C++, to transform SFF files to
BMP, JPEG or multipage TIFF format. In addition generation of PBM files
(Portable Bitmap) is also possible which can be transformed into nearby
all other graphics formats using the PBMPLUS tools that are included in
almost every Linux distribution nowadays.

    Peter Schaefer

%setup -q -n %{name}%{version}

autoreconf --force --install
%{__make} %{?jobs:-j%jobs}

install -d $RPM_BUILD_ROOT/%{_defaultdocdir}/sfftobmp/getopt
install -m 644 doc/getopt/* $RPM_BUILD_ROOT/%{_defaultdocdir}/sfftobmp/getopt
rm -rf doc/getopt
install -m 644 doc/* $RPM_BUILD_ROOT/%{_defaultdocdir}/sfftobmp


%doc %{_defaultdocdir}/sfftobmp

* Thu Feb 26 2009
- extend GCC 4.3 patch to over gcc  4.4 as well
* Thu Feb 21 2008
- fix permissions of doc files
* Thu Oct 11 2007
- fixes for GCC 4.3
* Mon Oct 08 2007
- update to current 3.1.1
  * set the "DateTime" field within TIFF files with the UTC value
  of the input file's mtime
* Mon Mar 05 2007
- update to current 3.1 version
  * changed commandline options, now includes multi-file processing
  * made keeping the date possible for linux, too
  * fixed decoder bug which did not decode a full line
  (Kudos to Eckhard Rueggeberg)
  * fixed extended MH codes (wrong bitorder)
  * changed message output from stderr to stdout except errors
  * added -quiet switch
  * some fixes from debian package
  * some big endian fixes
  * allowed up to 2048 bytes "fuzz" at the beginning of the file
* Fri May 26 2006
- Don't strip binaries.
* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Tue Nov 08 2005
- don't build as root
* Wed Mar 30 2005
- a dword is always 32 bit, also on 64 bit OS (#75254)
* Thu Jun 12 2003
- fix filelist
* Tue Feb 04 2003
- updated to 2.2 (includes writing TIFFs to stdout now)
- removed sfftobmp-stdout.diff as it has been included by upstream
* Mon Dec 16 2002
- first package
openSUSE Build Service is sponsored by