sffview/sffview.spec

103 lines
2.9 KiB
RPMSpec

#
# spec file for package sffview (Version 0.4)
#
# Copyright (c) 2007 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: 29
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
* 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