Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37769882
en ru br
ALT Linux repos
S:0.9a051015-alt4
5.0: 0.9a051015-alt2
4.1: 0.9a051015-alt2
4.0: 0.9a051015-alt1
3.0: 0.9a001114-alt1

Group :: Communications
RPM: efax

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: efax
Version: 0.9a001114
Release: alt1

Summary: A program for faxing using a Class 1, 2 or 2.0 fax modem
Summary(ru_RU.KOI8-R): Программа для отправки и приёма факсов через факс-модем

License: GPL
Group: Communications
Url: http://www.cce.com/efax/

Source: http://www.cce.com/efax/download/%name-%version.tar.bz2
Source1: %name-%version.config
Patch1: %name-%version.patch

%description
Efax is a small ANSI C/POSIX program that sends and receives faxes using
any Class 1, 2 or 2.0 fax modem.

You need to install efax if you want to send faxes and you have a
Class 1, 2 or 2.0 fax modem.

Please check /etc/efax.rc for your parameters (telephon number and machine id)

%description -l ru_RU.KOI8-R
Efax -- это маленькая программа, написанная на ANSI C/POSIX, которая позволяет
принимать и отправлять факсы через любой факс-модем класс 1, 2 или 2.0.

Не забудьте проверить настройки в /etc/efax.rc (номер телефона и название станции)

%prep
%setup -q
%patch1 -p1

%build
%make LDFLAGS="-s"
%__subst "s|logfile=|logfile=\${LOGDIR}/|g" fax

%install
mkdir -p $RPM_BUILD_ROOT%_bindir
mkdir -p $RPM_BUILD_ROOT%_mandir/man1
mkdir -p $RPM_BUILD_ROOT/var/spool/fax

make BINDIR=$RPM_BUILD_ROOT%_bindir MANDIR=$RPM_BUILD_ROOT%_mandir install

%__install -D -m644 %SOURCE1 $RPM_BUILD_ROOT%_sysconfdir/%name.rc

%files
%doc README PATCHES
%config(noreplace) %_sysconfdir/%name.rc
%_bindir/fax
%_bindir/%name
%_bindir/efix
%_mandir/man1/*
%attr(775, lp, lp) /var/spool/fax

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin