Group :: Networking/Mail
RPM: mailx
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: mailx
Version: 8.1.2
Release: alt9
%def_without lockspool
Summary: The /bin/mail program for sending e-mail messages
License: BSD-style
Group: Networking/Mail
Source: mailx-%version.tar
Patch: mailx-%version-%release.patch
Provides: /bin/mail
Conflicts: mailutils
%{?_with_lockspool:Requires: lockspool}
BuildRequires: groff-base
%description
The /bin/mail program provides the traditional interface to reading
and sending e-mail messages. It is often used in shell scripts.
%prep
%setup
%patch -p1
%build
%{expand:%%add_optflags %(getconf LFS_CFLAGS)}
%add_optflags -fcommon
%add_optflags -DMAXLOGNAME=32
%{?_with_lockspool:%add_optflags -DUSE_LOCKSPOOL}
%make_build
make -C USD.doc USD.txt
bzip2 -9 USD.doc/USD.txt
%install
%makeinstall_std
%files
/bin/*
%_bindir/*
%config(noreplace) %_sysconfdir/mail.rc
%_datadir/mailx
%_man1dir/*
%doc USD.doc/*.bz2
%changelog
…
Full changelog you can see here
Version: 8.1.2
Release: alt9
%def_without lockspool
Summary: The /bin/mail program for sending e-mail messages
License: BSD-style
Group: Networking/Mail
Source: mailx-%version.tar
Patch: mailx-%version-%release.patch
Provides: /bin/mail
Conflicts: mailutils
%{?_with_lockspool:Requires: lockspool}
BuildRequires: groff-base
%description
The /bin/mail program provides the traditional interface to reading
and sending e-mail messages. It is often used in shell scripts.
%prep
%setup
%patch -p1
%build
%{expand:%%add_optflags %(getconf LFS_CFLAGS)}
%add_optflags -fcommon
%add_optflags -DMAXLOGNAME=32
%{?_with_lockspool:%add_optflags -DUSE_LOCKSPOOL}
%make_build
make -C USD.doc USD.txt
bzip2 -9 USD.doc/USD.txt
%install
%makeinstall_std
%files
/bin/*
%_bindir/*
%config(noreplace) %_sysconfdir/mail.rc
%_datadir/mailx
%_man1dir/*
%doc USD.doc/*.bz2
%changelog
…
Full changelog you can see here