Sophie

Sophie

distrib > Arklinux > devel > i586 > by-pkgid > d2e61d0a42611ee1e1ce9cb1107f48a8 > files > 5

efax-0.9a-1ark.src.rpm

Summary: A program for faxing using a Class 1, 2 or 2.0 fax modem.
Name: efax
Version: 0.9a
Release: 1ark
License: GPL
Group: Applications/Communications
Source: http://www.cce.com/efax/download/%name-%version-001114.tar.lz
Patch0: efax-0.9-config.patch
Patch1: efax-0.9-numlines.patch
Patch2: efax08a-time.patch
Patch5: efax-0.9-nullptr.patch
BuildRoot: %{_tmppath}/%{name}-root
Requires: make
Url: http://www.cce.com/efax/

%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.

%prep
%setup -q -n %name-%version-001114
%patch0 -p1 -b .config~
%patch1 -p1 -b .numlines~
%patch2 -p1 -b .time~
%patch5 -p1 -b .nullptr~

%build
make RPM_OPT_FLAGS="-ansi $RPM_OPT_FLAGS"

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_mandir}/man1
mkdir -p %{buildroot}%{_localstatedir}/spool/fax
mkdir -p %{buildroot}%{_localstatedir}/log/fax

make BINDIR=%{buildroot}%{_bindir} MANDIR=%{buildroot}%{_mandir} install

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README COPYING
%{_bindir}/*
%{_mandir}/*/*
%dir %{_localstatedir}/spool/fax
%dir %{_localstatedir}/log/fax

%changelog
* Sun May 11 2008 Bernhard Rosenkraenzer <bero@arklinux.org> 0.9a-1ark
- 0.9a

* Mon Aug 26 2002 Ark Linux Team <arklinux@arklinux.org> 0.9-12ark
- automated rebuild