# # spec file for package capi4hylafax # # Copyright (c) 2013 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/ # Name: capi4hylafax Version: 01.03.10 Release: 10.3 Source: %{name}.tar.xz Patch4: capi4hylafax-gcc48.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Adds a faxcapi modem for hylafax License: GPL-2.0+ Group: Hardware/Fax Url: http://www.avm.de Summary: Adds a faxcapi modem for hylafax Group: Hardware/Fax BuildArch: i486 %description capi4hylafax adds a faxcapi modem to the hylafax environment. It allows you to send and receive FAX documents with CAPI 2.0 fax controllers via a hylafax server. %prep # get source from subversion repo pushd %__repodir for i in capi4hylafax do rm -rf $i rm -f %_sourcedir/$i.tar.xz svn up $i tar cfJ %_sourcedir/$i.tar.xz $i done popd %setup -q -n %{name} # %patch4 -p1 %build %configure make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install # strip files/binarys for filename in $(find $RPM_BUILD_ROOT/usr/bin/* -type f) do strip -R .note -R .comment "$filename" done %files %defattr(-, root, root) /usr/bin/c2faxrecv /usr/bin/c2faxsend %changelog * Sun Mar 08 2014 holgerbruenjes@gmx.net - first version