X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=mutt.spec;h=92b94101b6e54e72bb7903b21ce9cd737e91e476;hb=eb6df6341f041b74695eca6e12aff917a3601f3c;hp=5338d17f3d68b3f31302585815153410d613cc5f;hpb=df991f6a23c62b852f1d62da0f6bd98bae07922e;p=packages%2Fmutt.git diff --git a/mutt.spec b/mutt.spec index 5338d17..92b9410 100644 --- a/mutt.spec +++ b/mutt.spec @@ -1,22 +1,44 @@ Summary: The Mutt Mail User Agent -Summary(de): Der Mutt Mail-User-Agent +Summary(de): Der Mutt Mail-User-Agent +Summary(es): Mutt, cliente de correo electrónico Summary(fr): Agent courrier Mutt Summary(pl): Program pocztowy Mutt +Summary(pt_BR): Mutt, cliente de correio eletrônico +Summary(es): Mutt, cliente de correo electrónico Summary(tr): Mutt elektronik posta programý Name: mutt -Version: 0.96.2 -Release: 1i -Copyright: GPL +Version: 1.3.27i +Release: 3 +Epoch: 5 +License: GPL Group: Applications/Mail +Group(de): Applikationen/Post Group(pl): Aplikacje/Poczta -Source0: ftp://riemann.iam.uni-bonn.de/pub/mutt/%{name}-%{version}i.tar.gz -Source1: mutt.wmconfig -Source2: Muttrc -Patch: mutt-mail.patch +Group(pt): Aplicações/Correio Eletrônico +Source0: ftp://ftp.mutt.org/pub/mutt/%{name}-%{version}.tar.gz +Source1: %{name}.desktop +Source2: %{name}.png +Source3: %{name}.1.pl +Patch0: %{name}-home_etc.patch +Patch1: %{name}-forcedotlock.patch +Patch2: %{name}-muttbug-tmp.patch +Patch3: %{name}-rr.compressed.patch +Patch4: %{name}-cd.edit_threads.patch +Patch5: %{name}-bj.status-time.patch +Patch6: %{name}-devl.narrow_tree.patch +Patch7: %{name}-vvv.quote.gz +Patch8: %{name}-null_name.patch URL: http://www.mutt.org/ -Requires: smtpdaemon +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: ncurses-devel >= 5.0 +BuildRequires: openssl-devel >= 0.9.6a +BuildRequires: sgml-tools +%{!?_without_sasl:BuildRequires: cyrus-sasl-devel} +Requires: iconv Requires: mailcap -Buildroot: /tmp/%{name}-%{version}-root +Requires: smtpdaemon +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Mutt is a small but very poweful full-screen Unix mail client. @@ -24,161 +46,113 @@ Features include MIME support, color, POP3 support, message threading, bindable keys, and threaded sorting mode. %description -l de -Mutt ist ein kleiner aber leistungsfähiger Vollbild-Mail-Client für Unix mit -MIME-Unterstützung, Farbe, POP3-Unterstützung, Nachrichten-Threading, -zuweisbaren Tasten und Sortieren nach Threads. +Mutt ist ein kleiner aber leistungsfähiger Vollbild-Mail-Client für +Unix mit MIME-Unterstützung, Farbe, POP3-Unterstützung, +Nachrichten-Threading, zuweisbaren Tasten und Sortieren nach Threads. + +%description -l es +Mutt es un pequeño, pero muy potente cliente de correo en pantalla +llena. Incluye soporte a tipos MINE, color, POP3; encadenamiento de +mensajes, teclas configurables y clasificaciones por encadenamiento. + +%description -l fr +mutt est un client courrier Unix plein écran, petit mais très +puissant. Il dispose de la gestion MIME, des couleurs, de la gestion +POP, des fils de discussion, des touches liées et d'un mode de tri sur +les fils. %description -l pl -Mutt jest niewielkim programem pocztowym dla terminali tekstowych +Mutt jest niewielkim programem pocztowym dla terminali tekstowych, posiadaj±cym du¿e mo¿liwo¶ci. Obs³uguje MIME, POP3, cztery formaty -skrzynek pocztowych, obs³uguje kolory, w±tki i ocenê wa¿no¶ci listów -(scoring). W tej wersji dodano tak¿e obs³ugê skompresowanych folderów. +skrzynek pocztowych, kolory, w±tki, ocenê wa¿no¶ci listów (scoring) +oraz skompresowane foldery. -%description -l fr -mutt est un client courrier Unix plein écran, petit mais très puissant. -Il dispose de la gestion MIME, des couleurs, de la gestion POP, des fils -de discussion, des touches liées et d'un mode de tri sur les fils. +%description -l pt_BR +O Mutt é um pequeno mas muito poderoso cliente de correio em tela +cheia. Inclui suporte a tipos MIME, cor, POP3, encadeamento de +mensagens, teclas configuráveis e classificação por encadeamento. %description -l tr -Mutt, küçük ama çok güçlü bir tam-ekran Unix mektup istemcisidir. MIME desteði, -renk ve POP3 desteði içerir. +Mutt, küçük ama çok güçlü bir tam-ekran Unix mektup istemcisidir. MIME +desteði, renk ve POP3 desteði içerir. %prep -%setup -q -%patch -p0 +%setup -q -n %{name}-%(echo %{version} | sed 's/i$//') +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +#%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 %build -CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \ -./configure %{_target_platform} \ - --prefix=/usr \ - --with-sharedir=%{_datadir} \ - --sysconfdir=/etc \ +autoconf +#PGP=%{_bindir}/pgp PGPK=%{_bindir}/pgpk +CFLAGS="%{optflags} -I%{_includedir}/slang" \ +%configure \ --enable-pop \ --enable-imap \ - --with-curses \ + --enable-mailtool \ + --enable-external-dotlock \ + --enable-compressed \ + %{!?debug:--disable-debug} %{?debug:--enable-debug} \ --disable-warnings \ - --disable-domain \ - --enable-compressed \ - --with-docdir=/usr/doc/mutt-%{version} + --with-curses \ + --with-iconv \ + --with-regex \ + --with-ssl \ + %{!?_without_sasl:--with-sasl} %{?_without_sasl:--without-sasl} \ + --without-included-nls \ + --with-homespool=Maildir \ + --with-mixmaster \ + --with-mailpath=/var/mail \ + --with-sharedir=%{_datadir} \ + --with-docdir=%{_docdir}/%{name}-%{version} \ + --prefix=%{_prefix} \ + --bindir=%{_bindir} \ + --sysconfdir=%{_sysconfdir} \ + --datadir=%{_datadir} \ + --mandir=%{_mandir} -make +%{__make} +%{__make} manual.txt -C doc %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/etc/X11/wmconfig +install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}} \ + $RPM_BUILD_ROOT%{_mandir}/pl/man1 + +%{__make} install DESTDIR=$RPM_BUILD_ROOT -#make prefix=$RPM_BUILD_ROOT/usr sharedir=$RPM_BUILD_ROOT/etc install -make install DESTDIR=$RPM_BUILD_ROOT +install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail +install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} +install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man1 -install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/mutt -install %{SOURCE2} $RPM_BUILD_ROOT/etc/Muttrc +gzip -9nf contrib/{*rc*,*cap*} \ + ChangeLog README TODO NEWS README.SECURITY README.SSL -gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \ - contrib/{*rc,*cap} \ - $RPM_BUILD_ROOT/usr/doc/mutt-%{version}/{*.txt,ChangeLog,README,TODO,NEWS,README.SECURITY} +# conflict with qmail +rm -f $RPM_BUILD_ROOT%{_mandir}/man5/mbox.5* + +%find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.lang %defattr(644,root,root,755) -%doc /usr/doc/%{name}-%{version}/*.gz - -%config(noreplace) %verify(not size md5 mtime) /etc/Muttrc -%config(missingok) /etc/X11/wmconfig/mutt - -%attr(0755,root,root) %{_bindir}/mutt +%doc *.gz contrib/{*rc*,*cap*} doc/manual*html doc/manual.txt +%config(noreplace,missingok) %verify(not md5 size mtime) %{_sysconfdir}/Muttrc +%attr(755,root,root) %{_bindir}/mutt +%attr(755,root,root) %{_bindir}/flea +%attr(755,root,root) %{_bindir}/muttbug +%attr(755,root,root) %{_bindir}/pgp* %attr(2755,root,mail) %{_bindir}/mutt_dotlock -%lang(en) %{_mandir}/man1/* -%{_datadir}/charsets - -%lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/mutt.mo -%lang(dn) %{_datadir}/locale/de/LC_MESSAGES/mutt.mo -%lang(es) %{_datadir}/locale/es/LC_MESSAGES/mutt.mo -%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/mutt.mo -%lang(id) %{_datadir}/locale/id/LC_MESSAGES/mutt.mo -%lang(it) %{_datadir}/locale/it/LC_MESSAGES/mutt.mo -%lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/mutt.mo -%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/mutt.mo -%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/mutt.mo -%lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/mutt.mo -%lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/mutt.mo - -%changelog -* Thu May 6 1999 Tomasz K³oczko - [0.96.2-1] -- updated .mo files list, -- added %%{_target_platform} macro to ./configure parameters. - -* Thu Mar 25 1999 Tomasz K³oczko - [0.95.4-1i] -- rewrited %install (now we use DESTDIR style install), -- added --sysconfdir=/etc adnd changed --with-sharedir to %{_datadir}, -- added Requires: mailcap (mutt use /etc/mime.types). -- added %{_datadir}/charsets in %files. - -* Thu Mar 25 1999 Artur Frysiak -- upgraded to 0.95.4i -- linked with ncurses -- removed man group from man pages -- updated pl.po (sync with i18n CVS) - -* Sat Feb 13 1999 Micha³ Kuratczyk - [0.95.3i-3d] -- upgraded to 0.95.3i - -* Thu Feb 10 1999 Micha³ Kuratczyk - [0.95i-3d] -- added gzipping documentation -- simplification in %files -- cosmetic changes - -* Mon Dec 14 1998 Marcin Korzonek - [0.95i-1] -- remove patch for compressed folders (not available yet) -- added %%lang macros -- added some missing doc files -- locale files included - -* Sat Sep 19 1998 Marcin Korzonek - [0.93.2i-1d] -- added pl translation, -- added patch for compressed folders, -- rewrites system Muttrc based on ones from Roland Rosenfeld. - -* Sun Sep 6 1998 Tomasz K³oczko - [0.93.2i-1] -- added -q %setup parameter, -- changed Buildroot to /tmp/%%{name}-%%{version}-root, -- added using %%{name} and %%{version} in Source, -- added using %{SOURCE#} macro in %install, -- changed base Source Url to ftp://riemann.iam.uni-bonn.de/pub/mutt/. - -* Wed Jul 29 1998 Bill Nottingham -- fix setgid removal -- spec file comsetics - -* Tue Jul 28 1998 Jeff Johnson -- security fix -- turn off setgid mail. - -* Thu May 07 1998 Prospector System -- translations modified for de, fr, tr - -* Tue Apr 21 1998 Cristian Gafton -- updated to 0.91.1 - -* Fri Apr 10 1998 Cristian Gafton -- updated to mutt-0.89.1 - -* Thu Oct 16 1997 Otto Hammersmith -- Updated to mutt 0.85. -- added wmconfig entries. -- removed mime.types - -* Mon Sep 1 1997 Donnie Barnes -- Rebuilt to insure all sources were fresh and patches were clean. - -* Wed Aug 6 1997 Manoj Kasichainula - - Initial version for 0.81(e) +%{_applnkdir}/Network/Mail/mutt.desktop +%{_pixmapsdir}/mutt.png +%{_mandir}/man*/* +%lang(pl) %{_mandir}/pl/man*/*