Sophie

Sophie

distrib > PLD > ra > i386 > media > dist-src > by-pkgid > 515a6da85eaef9f2b6af08ac92ce0f59 > files > 13

mailx-8.1.1-21.src.rpm

# $Revision: 1.31 $, $Date: 2001/03/07 16:17:07 $
Summary:	/bin/mail - the "traditional" way to mail via shell scripts
Summary(pl):	Tradycyjna metoda wysy³ania poczty przy pomocy komendy z shella
Name:		mailx
Version:	8.1.1
Release:	21
License:	BSD
Group:		Applications/Mail
Group(de):	Applikationen/Post
Group(pl):	Aplikacje/Poczta
Group(pt):	Aplicações/Correio Eletrônico
Source0:	ftp://ftp.ptb.de/pub/mail/unix/%{name}-%{version}.tar.gz
Patch0:		%{name}-misc.diff
Patch1:		%{name}-man.patch
Patch2:		%{name}-nullchar.patch
Patch3:		%{name}-nopanic.patch
Patch4:		%{name}-debian.diff
Patch5:		%{name}-pathnames.patch
Patch6:		%{name}-date.patch
Patch7:		%{name}-siglj.patch
Patch8:		%{name}-environ.patch
Patch9:		%{name}-bug10074.patch
Patch10:	%{name}-version.patch
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
The /bin/mail program can be used to send quick mail messages, and is
often used in shell scripts.

%description -l de
Das /bin/mail-Programm dient zum Versenden von Quick-Mail- Nachrichten
und wird häufig in Shell-Skripts verwendet.

%description -l fr
Le programme /bin/mail peut être utilisé pour envoyer des mails
rapides et est souvent utilisé dans les scripts shell.

%description -l pl
Przy pomocy programu /bin/mail mo¿na wysy³aæ pocztê. Czêsto jest on
wykorzystywany w skryptach shella.

%description -l tr
/bin/mail programý hýzlý olarak mektup göndermek için kullanýlabilir.
Genellikle kabuk yorumlayýcýlarý içinde kullanýlýr.

%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1

%build
%{__make} CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O0 -g}"

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{/bin,/etc/skel,%{_bindir},%{_datadir}/misc,%{_mandir}/man1}

install	misc/* $RPM_BUILD_ROOT%{_datadir}/misc
install misc/mail.rc $RPM_BUILD_ROOT/etc/skel/.mailrc

install -s mail $RPM_BUILD_ROOT/bin
ln -sf ../../bin/mail $RPM_BUILD_ROOT%{_bindir}/Mail

install mail.1 $RPM_BUILD_ROOT%{_mandir}/man1
echo .so mail.1 > $RPM_BUILD_ROOT%{_mandir}/man1/Mail.1

gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*

%clean 
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)

%attr(755,root,root) /bin/mail
%attr(755,root,root) %{_bindir}/Mail

/etc/skel/.mailrc

%{_datadir}/misc/*
%{_mandir}/man1/*

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <pld-list@pld.org.pl>
All persons listed below can be reached at <cvs_login>@pld.org.pl

$Log: mailx.spec,v $
Revision 1.31  2001/03/07 16:17:07  kloczek
- release 21,
- merged siglj, environ (merged in this patch also bug15728 patch) and
  bug10074 rawhide patches,
- added version patch with fix raported mailx version (8.1.1 instead 8.1).

Revision 1.30  2001/03/06 16:41:29  zagrodzki
- release 18
- added Date field patch

Revision 1.29  2000/12/14 20:57:07  waszi

- typo

Revision 1.28  2000/12/14 12:58:28  jajcus
- typo

Revision 1.27  2000/12/14 12:51:13  jajcus
- Release: 17
- no more localized /etc/skel
- /etc/skel should not be owned by mailx

Revision 1.26  2000/10/04 16:18:26  zagrodzki
- patched pathnames

Revision 1.25  2000/10/04 15:43:39  zagrodzki
- release 16

Revision 1.24  2000/08/11 13:35:45  kloczek
- release 15 (in rawhide is 14),
- spec adapterized,
- more rpm macros in %install,
- some cosmetics.

Revision 1.23  2000/08/11 13:05:23  kravietz
- added miscellaneous patches from RawHide and Debian
  release++

Revision 1.22  2000/08/09 13:23:16  kravietz
- release++

Revision 1.21  2000/08/09 13:20:49  kravietz
- security patch

Revision 1.20  2000/06/09 07:23:25  kloczek
- added using %%{__make} macro.

Revision 1.19  2000/04/13 08:41:21  zagrodzki
- URL for source files

Revision 1.18  2000/04/01 11:14:53  zagrodzki
- changed all BuildRoot definitons
- removed all applnkdir defs
- changed some prereqs/requires
- removed duplicate empty lines

Revision 1.17  2000/03/28 16:54:41  baggins
- translated kloczkish into english

Revision 1.16  1999/07/12 23:06:07  kloczek
- added using CVS keywords in %changelog (for automating them).

* Thu May 27 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
- FHS 2.0 && GNU libc-2.1 

* Mon Jun 15 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
  [8.1.1-1]
- added pl translation,
- added buildroot support,
- moved /etc/mail.rc to /etc/mail/mail.rc,
- build from non root's account.