Author: baggins Date: Tue Jun 14 07:52:58 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - release 2 - added mail package intended as replacement of mailx - added patches for building light /bin/mail - proper description and summary - STBR
---- Files affected: SPECS: nail.spec (1.9 -> 1.10) ---- Diffs: ================================================================ Index: SPECS/nail.spec diff -u SPECS/nail.spec:1.9 SPECS/nail.spec:1.10 --- SPECS/nail.spec:1.9 Mon Jun 13 23:25:52 2005 +++ SPECS/nail.spec Tue Jun 14 09:52:52 2005 @@ -1,45 +1,89 @@ # $Revision$, $Date$ -Summary: A new /bin/mail - the "traditional" way to mail -Summary(pl): Nowy /bin/mail - "tradycyjny" sposób wysyłania poczty +Summary: An enhanced implementation of the mailx command +Summary(pl): Rozszerzona implementacja komendy mailx Name: nail Version: 11.22 -Release: 1.1 +Release: 2 License: BSD Group: Applications/Mail Source0: http://dl.sourceforge.net/nail/%{name}-%{version}.tar.bz2 # Source0-md5: caad4c4cd02c7fbf0d9e7fec50ff3b21 +Patch0: %{name}-pure.patch +Patch1: %{name}-bsdcompat.patch URL: http://nail.sourceforge.net/ BuildRequires: heimdal-devel BuildRequires: openssl-devel >= 0.9.7d +Requires: %{name}-mail = %{version}-%{release} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description +Nail is derived from Berkeley Mail and is intended provide the +functionality of the POSIX mailx command with additional support +for MIME messages, IMAP, POP3, and SMTP. It provides enhanced +features for interactive use, such as caching and disconnected +operation for IMAP, message threading, scoring, and filtering. +It is also usable as a mail batch language, both for sending +and receiving mail. + +%description -l pl +Nail został stworzony na podstawie Berkeley Mail z zamysłem +dostarczenia funkcjonalnosci komendy POSIX mailx z dodatkowym +wsparciem dla MIME, IMAP, POP3 i SMTP. Nail dostacza rozszerzone +możliwości przy pracy interaktywnej, jak odłączoną pracę dla IMAP, +wątkowanie wiadomości, punktacja i filtrowanie. + +%package mail +Summary: A new /bin/mail - the "traditional" way to mail +Summary(pl): Nowy /bin/mail - "tradycyjny" sposób wysyłania poczty +Group: Applications/Mail + +%description mail The /bin/mail program can be used to send quick mail messages, and is often used in shell scripts. -%description -l de +%description mail -l de Das /bin/mail-Programm dient zum Versenden von Quick-Mail- Nachrichten und wird häufig in Shell-Skripts verwendet. -%description -l fr +%description mail -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 +%description mail -l pl Przy pomocy programu /bin/mail można wysyłać pocztę. Często jest on wykorzystywany w skryptach powłoki. -%description -l tr +%description mail -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 +cp makeconfig makeconfig-pure +%patch0 -p1 +%patch1 -p1 +chmod 755 makeconfig* %build +./makeconfig-pure + +%{__make} \ + CC="%{__cc}" \ + CFLAGS="%{rpmcflags}" \ + MAILRC=/etc/mail.rc \ + MAILSPOOL=/var/mail \ + SENDMAIL=/usr/lib/sendmail + +mv nail mail + +./makeconfig + %{__make} \ CC="%{__cc}" \ - CFLAGS="%{rpmcflags}" + CFLAGS="%{rpmcflags}" \ + MAILRC=/etc/nail.rc \ + MAILSPOOL=/var/mail \ + SENDMAIL=/usr/lib/sendmail %install rm -rf $RPM_BUILD_ROOT @@ -51,20 +95,18 @@ DESTDIR=$RPM_BUILD_ROOT \ UCBINSTALL=/usr/bin/install \ PREFIX=%{_prefix} \ - BINDIR=/bin -cat <<EOF >$RPM_BUILD_ROOT/bin/mail -#!/bin/sh -exec env bsdcompat=1 /bin/nail -EOF +install mail $RPM_BUILD_ROOT/bin/mail install nail.rc $RPM_BUILD_ROOT/etc/skel/.mailrc +install nail.rc $RPM_BUILD_ROOT/etc/mail.rc ln -sf ../../bin/mail $RPM_BUILD_ROOT%{_bindir}/Mail ln -sf nail $RPM_BUILD_ROOT%{_bindir}/mailx -echo .so nail.1 > $RPM_BUILD_ROOT%{_mandir}/man1/mail.1 -echo .so nail.1 > $RPM_BUILD_ROOT%{_mandir}/man1/Mail.1 +install nail.1 $RPM_BUILD_ROOT%{_mandir}/man1/mail.1 +echo .so mail.1 > $RPM_BUILD_ROOT%{_mandir}/man1/mailx.1 +echo .so mail.1 > $RPM_BUILD_ROOT%{_mandir}/man1/Mail.1 %clean rm -rf $RPM_BUILD_ROOT @@ -73,12 +115,21 @@ %defattr(644,root,root,755) %doc AUTHORS ChangeLog README TODO %config(noreplace) %verify(not md5 mtime size) /etc/nail.rc +%attr(755,root,root) %{_bindir}/nail +%attr(755,root,root) %{_bindir}/mailx +%{_mandir}/man1/n* +%{_mandir}/man1/mailx* + +%files mail +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog README TODO +%config(noreplace) %verify(not md5 mtime size) /etc/mail.rc /etc/skel/.mailrc -%attr(755,root,root) /bin/[mn]ail* +%attr(755,root,root) /bin/mail %attr(755,root,root) %{_bindir}/Mail -%{_mandir}/man1/* +%{_mandir}/man1/[Mm]ail.* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -86,6 +137,13 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.10 2005/06/14 07:52:52 baggins +- release 2 +- added mail package intended as replacement of mailx +- added patches for building light /bin/mail +- proper description and summary +- STBR + Revision 1.9 2005/06/13 21:25:52 glen - avoid extra shell ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/nail.spec?r1=1.9&r2=1.10&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
