# # 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/ # %ifarch %ix86 %define eisfair_version 1 %else %define eisfair_version 64 %endif Name: capi4hylafax Version: 01.03.10 Release: 2.31.0.1 Source: %{name}.tar.xz 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 BuildRequires: libcapi20-devel BuildRequires: libtiff-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %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 %ifarch %ix86 pushd %__eisler_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 %endif %setup -q -n %{name} %build sed -i "s|\[CAPI4HYLAFAX\]|\[%{version}-eisfair-%{eisfair_version}\]|" configure.ac autogen.sh %configure make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d %{__cp} udev/76-faxcapi.rules $RPM_BUILD_ROOT/etc/udev/rules.d # 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) %{_bindir}/c2faxrecv %{_bindir}/c2faxsend %{_sysconfdir}/udev/rules.d %changelog * Mon Jan 11 2021 holgerbruenjes@gmx.net - build with GlibC-2.31 * Wed Jun 13 2018 holgerbruenjes@gmx.net - build with GlibC-2.22 * Fri Apr 01 2016 holgerbruenjes@gmx.net - build with GLibC-2.15 * Sun Nov 09 2014 holgerbruenjes@gmx.net - update with libcapi20-3.0.7 * Sat Mar 08 2014 holgerbruenjes@gmx.net - first version