]> git.pld-linux.org Git - packages/mutt.git/blobdiff - mutt.spec
update
[packages/mutt.git] / mutt.spec
index 1e063df5265b67061fcd2e58206a69faac7833b5..fd4133ce9dcf732adef02d9ad5d2abd6381f436b 100644 (file)
--- a/mutt.spec
+++ b/mutt.spec
@@ -4,7 +4,7 @@ Summary(fr):    Agent courrier Mutt
 Summary(pl):   Program pocztowy Mutt
 Summary(tr):   Mutt elektronik posta programý
 Name:          mutt
-Version:       0.96.2
+Version:       0.96.4
 Release:       1i
 Copyright:     GPL
 Group:         Applications/Mail
@@ -49,8 +49,7 @@ renk ve POP3 deste
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure %{_target} \
-       --prefix=/usr \
+%configure \
        --with-sharedir=%{_datadir} \
        --sysconfdir=/etc \
        --enable-pop \
@@ -59,7 +58,7 @@ CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
        --disable-warnings \
        --disable-domain \
         --enable-compressed \
-       --with-docdir=/usr/doc/mutt-%{version}
+       --with-docdir=$RPM_BUILD_ROOT%{_datadir}/doc/mutt-%{version}
 
 make 
 
@@ -67,118 +66,26 @@ make
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
 
-#make prefix=$RPM_BUILD_ROOT/usr sharedir=$RPM_BUILD_ROOT/etc install
 make install DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/mutt
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/Muttrc
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
-       contrib/{*rc,*cap} \
-       $RPM_BUILD_ROOT/usr/doc/mutt-%{version}/{*.txt,ChangeLog,README,TODO,NEWS,README.SECURITY}
+gzip -9nf              $RPM_BUILD_ROOT%{_mandir}/man1/* \
+                       contrib/{*rc,*cap} \
+                       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
+%doc {ChangeLog,README,TODO,NEWS,README.SECURITY}.gz
 
 %config(noreplace) %verify(not size md5 mtime) /etc/Muttrc
 %config(missingok) /etc/X11/wmconfig/mutt
 
-%attr(0755,root,root) /usr/bin/mutt
-%attr(2755,root,mail) /usr/bin/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 <kloczek@rudy.mif.pg.gda.pl>
-  [0.96.2-1]
-- updated .mo files list,
-- added %%{_target} macro to ./configure parameters.
-
-* Thu Mar 25 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [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 <wiget@pld.org.pl>
-- 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 <kura@wroclaw.art.pl>
-  [0.95.3i-3d]
-- upgraded to 0.95.3i
-
-* Thu Feb 10 1999 Micha³ Kuratczyk <kurkens@polbox.com>
-  [0.95i-3d]
-- added gzipping documentation
-- simplification in %files
-- cosmetic changes
-
-* Mon Dec 14 1998 Marcin Korzonek <mkorz@shadow.eu.org>
-  [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 <mkorz@shadow.eu.org>
-  [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 <kloczek@rudy.mif.pg.gda.pl>
-  [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 <notting@redhat.com>
-- fix setgid removal
-- spec file comsetics
-
-* Tue Jul 28 1998 Jeff Johnson <jbj@redhat.com>
-- security fix
-- turn off setgid mail.
-
-* Thu May 07 1998 Prospector System <bugs@redhat.com>
-- translations modified for de, fr, tr
-
-* Tue Apr 21 1998 Cristian Gafton <gafton@redhat.com>
-- updated to 0.91.1
-
-* Fri Apr 10 1998 Cristian Gafton <gafton@redhat.com>
-- updated to mutt-0.89.1
-
-* Thu Oct 16 1997 Otto Hammersmith <otto@redhat.com>
-- Updated to mutt 0.85.
-- added wmconfig entries.
-- removed mime.types
-
-* Mon Sep 1 1997 Donnie Barnes <djb@redhat.com>
-- Rebuilt to insure all sources were fresh and patches were clean.
-
-* Wed Aug 6 1997 Manoj Kasichainula <manojk@io.com>
- - Initial version for 0.81(e)
+%attr(0755,root,root) %{_bindir}/*
+%lang(en) %{_mandir}/man*/*
This page took 0.071826 seconds and 4 git commands to generate.