X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=mutt.spec;h=5df41465bdb2f01b3d0e958ad0d843ecd70fb3be;hb=c4437dcbc5e8c4bef660c03d823011d9521b750f;hp=5338d17f3d68b3f31302585815153410d613cc5f;hpb=df991f6a23c62b852f1d62da0f6bd98bae07922e;p=packages%2Fmutt.git diff --git a/mutt.spec b/mutt.spec index 5338d17..5df4146 100644 --- a/mutt.spec +++ b/mutt.spec @@ -4,19 +4,29 @@ Summary(fr): Agent courrier Mutt Summary(pl): Program pocztowy Mutt Summary(tr): Mutt elektronik posta programý Name: mutt -Version: 0.96.2 -Release: 1i -Copyright: GPL +Version: 1.3.17i +Release: 1 +Epoch: 4 +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/devel/%{name}-%{version}.tar.gz +Source1: %{name}.desktop +Source2: %{name}.png URL: http://www.mutt.org/ Requires: smtpdaemon Requires: mailcap -Buildroot: /tmp/%{name}-%{version}-root +Requires: iconv +BuildRequires: iconv +BuildRequires: ncurses-devel >= 5.0 +BuildRequires: openssl-devel +BuildRequires: cyrus-sasl-devel +BuildRequires: autoconf +BuildRequires: automake +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + %description Mutt is a small but very poweful full-screen Unix mail client. @@ -24,161 +34,82 @@ 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 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 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. - -%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. +skrzynek pocztowych, kolory, w±tki, ocenê wa¿no¶ci listów (scoring) +oraz skompresowane foldery. %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$//') %build -CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \ -./configure %{_target_platform} \ - --prefix=/usr \ +aclocal -I m4 +automake -a -c +autoheader +autoconf +%configure \ + --with-curses \ + --with-regex \ + --with-homespool=Maildir \ + --with-mailpath=/var/mail \ + --enable-external-dotlock \ --with-sharedir=%{_datadir} \ - --sysconfdir=/etc \ + --with-iconv \ + --with-docdir=%{_defaultdocdir}/%{name}-%{version} \ --enable-pop \ --enable-imap \ - --with-curses \ + --with-ssl \ + --with-sasl \ + --disable-debug \ --disable-warnings \ - --disable-domain \ - --enable-compressed \ - --with-docdir=/usr/doc/mutt-%{version} + --enable-mailtool \ + --without-included-nls -make +%{__make} keymap.h +%{__make} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/etc/X11/wmconfig +install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}} + +%{__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 %{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 README.UPGRADE -gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \ - contrib/{*rc,*cap} \ - $RPM_BUILD_ROOT/usr/doc/mutt-%{version}/{*.txt,ChangeLog,README,TODO,NEWS,README.SECURITY} +%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 +%config(noreplace) %verify(not size md5 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*/*