-Summary: GNU automake - Makefile configuration tools
-Summary(de): GNU automake - Makefile-Konfigurationstools
-Summary(fr): automake de GNU - Outils de configuration des makefiles
-Summary(pl): GNU Automake - generator plików Makefile
-Summary(tr): Makefile yapýlandýrma araçlarý
-Name: automake
-Version: 1.3d
-Release: 1
-Copyright: GPL
-Group: Development/Building
-Source: ftp://ftp.cygnus.com/pub/tromey/%{name}-%{version}.tar.gz
-Requires: perl
-Prereq: /sbin/install-info
-URL: http://sourceware.cygnus.com/automake/
-BuildArchitectures: noarch
-Buildroot: /tmp/%{name}-%{version}-root
+%include /usr/lib/rpm/macros.perl
+Summary: GNU automake - Makefile configuration tools
+Summary(de): GNU automake - Makefile-Konfigurationstools
+Summary(es): GNU automake - herramientas de configuración de Makefile
+Summary(fr): automake de GNU - Outils de configuration des makefiles
+Summary(ko): ½º½º·Î MakefileÀ» ¸¸µé¾îÁÖ´Â GNU µµ±¸
+Summary(pl): GNU Automake - generator plików Makefile
+Summary(pt_BR): GNU automake - ferramentas de configuração de Makefile
+Summary(ru): GNU automake - ÉÎÓÔÒÕÍÅÎÔÙ ÄÌÑ Á×ÔÏÍÁÔÉÞÅÓËÏÊ ÇÅÎÅÒÁÃÉÉ Makefile'Ï×
+Summary(tr): Makefile yapýlandýrma araçlarý
+Summary(uk): GNU automake - ¦ÎÓÔÒÕÍÅÎÔÉ ÄÌÑ Á×ÔÏÍÁÔÉÞÎϧ ÇÅÎÅÒÁæ§ Makefile'¦×
+Name: automake
+Version: 1.8.2
+Release: 1
+Epoch: 1
+License: GPL
+Group: Development/Building
+Source0: ftp://sources.redhat.com/pub/%{name}/%{name}-%{version}.tar.bz2
+# Source0-md5: 7a8138b29361baec06548e6a0ac63189
+Patch0: %{name}-info.patch
+Patch1: %{name}-man.patch
+Patch2: %{name}-regex.m4.patch
+Patch3: %{name}-no_versioned_dir.patch
+Patch4: %{name}-sparcv8.patch
+URL: http://sources.redhat.com/automake/
+BuildRequires: autoconf >= 2.58
+BuildRequires: rpm-perlprov
+Requires(pre): fileutils
+Requires: perl-base
+Requires: perl(File::Glob)
+Conflicts: autoconf < 2.58
+Conflicts: libtool < 2:1.5-11
+#BuildArch: noarch -- autoconf doesn't allow
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _aclocaldir %{_datadir}/aclocal
%description
-Automake is an experimental Makefile generator. It was inspired by the
-4.4BSD make and include files, but aims to be portable and to conform to the
-GNU standards for Makefile variables and targets.
+Automake is an experimental Makefile generator. Automake was inspired
+by the 4.4BSD make and include files, but aims to be portable and to
+conform to the GNU standards for Makefile variables and targets.
%description -l de
-Automake ist ein experimenteller Makefile-Generator, inspiriert durch die
-4.4BSD-Make und Include-Dateien, der jedoch auf Portabilität und Konformität
-mit den GNU-Standards für Makefile-Variable und Targets abzielt.
+Automake ist ein experimenteller Makefile-Generator, inspiriert durch
+die 4.4BSD-Make und Include-Dateien, der jedoch auf Portabilität und
+Konformität mit den GNU-Standards für Makefile-Variable und Targets
+abzielt.
+
+%description -l es
+Automake es un creador experimental de Makefiles. Fue inspirado en el
+4.4BSD make y incluye archivos, pero visa ser portátil y compatible
+con los padrones GNU para variables y dianas de Makefile.
%description -l fr
-automake est un générateur expérimental de makefiles. Il a été inspiré par
-le make de BSD 4.4, mais se veut portable et conforme aux standards GNU pour
-les variables et les cibles des makefiles.
+automake est un générateur expérimental de makefiles. Il a été inspiré
+par le make de BSD 4.4, mais se veut portable et conforme aux
+standards GNU pour les variables et les cibles des makefiles.
%description -l pl
-Automake jest eksperymentalnym generatorem plików Makefile'a. Narzêdzie to
-jest wzorowane na make i plikach nag³ówków z systemu 4.4BSD. Umo¿liwia ono
-generowanie plików Makefile w oderwaniu od platformy systemowej bêd±c
-jednoce¶nie zgodnym ze standardami GNU.
+Automake jest eksperymentalnym generatorem plików Makefile'a.
+Narzêdzie to jest wzorowane na make i plikach nag³ówkowych z systemu
+4.4BSD. Umo¿liwia ono generowanie plików Makefile w oderwaniu od
+platformy systemowej bêd±c jednocze¶nie zgodnym ze standardami GNU.
+
+%description -l pt_BR
+Automake é um gerador experimental de Makefiles. Ele foi inspirado
+pelo 4.4BSD make e inclui arquivos, mas visa ser portável e compatível
+com os padrões GNU para variáveis e alvos de Makefile.
+
+%description -l ru
+Automake - ÜÔÏ ÜËÓÐÅÒÉÍÅÎÔÁÌØÎÙÊ ÇÅÎÅÒÁÔÏÒ Makefile'Ï×. éÄÅÑ ÂÙÌÁ
+ÎÁ×ÅÑÎÁ ÐÒÏÇÒÁÍÍÏÊ make É ÈÅÄÅÒÁÍÉ ÉÚ 4.4BSD, ÎÏ automake ÐÒÅÔÅÎÄÕÅÔ
+ÎÁ ÔÏ, ÞÔÏÂÙ ÂÙÔØ ÐÏÒÔÁÂÅÌØÎÏÊ É ÓÏÏÔ×ÅÔÓÔ×Ï×ÁÔØ ÓÔÁÎÄÁÒÔÁÍ GNU ÎÁ
+ÐÅÒÅÍÅÎÎÙÅ É ÃÅÌÉ Makefile'Ï×.
%description -l tr
Automake deneysel bir Makefile üreticisidir. 4.4BSD make ve include
dosyalarýndan esinlenilmistir, ama amaç taþýnabilir olmak ve Makefile
deðiþkenleri ve hedefleri için GNU standartlarýna uyum göstermektir.
+%description -l uk
+Automake - ÃÅ ÅËÓÐÅÒÉÍÅÎÔÁÌØÎÉÊ ÇÅÎÅÒÁÔÏÒ Makefile'¦×. ¶ÄÅÑ ÂÕÌÁ
+ÎÁצÑÎÁ ÐÒÏÇÒÁÍÏÀ make ÔÁ ÈÅÄÅÒÁÍÉ Ú 4.4BSD, ÁÌÅ automake ÍÁ¤ ÚÁ æÌØ
+ÍϦÌØΦÓÔØ ÔÁ צÄÐÏצÄΦÓÔØ ÓÔÁÎÄÁÒÔÁÍ GNU ÎÁ ÚͦÎΦ Ô¦ æ̦
+Makefile'¦×.
+
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
%build
-./configure --prefix=/usr
-make
+%{__autoconf}
+%configure
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-make install prefix=$RPM_BUILD_ROOT/usr
-gzip -9nf $RPM_BUILD_ROOT/usr/info/automake*
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
-%post
-/sbin/install-info /usr/info/automake.info.gz /usr/info/dir --entry \
-"* automake: (automake). Making Makefile.in's"
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ m4datadir=%{_aclocaldir} \
+ pkgvdatadir=%{_datadir}/automake
-%preun
-if [ $1 = 1 ]; then
- /sbin/install-info --delete /usr/info/automake.info.gz /usr/info-dir
-fi
+install aclocal.1 automake.1 $RPM_BUILD_ROOT%{_mandir}/man1
-%files
-%defattr(644, root, root, 755)
-%doc AUTHORS ChangeLog NEWS README THANKS TODO
-%attr(755, root, root) /usr/bin/*
-/usr/info/automake*
-%attr(-, root, root) /usr/share/*
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
%clean
rm -rf $RPM_BUILD_ROOT
-%changelog
-* Sat Dec 19 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [1.3.d-1]
-- updated URL,
-- standarized {un}registering info pages.
-
-* Sat Nov 21 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [1.3b-1]
-- changed base Source url,
-- cosmetic changes in %post, %preun in {un}registering autoame info page,
-- added URL.
-
-* Sat Aug 1 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
- [1.3-5]
-- modified pl translation,
-- added -q %setup parameter,
-- removed INSTALL and COPING from %doc (copyright statment is in Copyright
- field),
-- Buildroot changed to /tmp/%%{name}-%%{version}-root,
-- fixed %defattr macro,
-- added using %%{name} and %%{version} macro in Source.
-
-* Mon Jun 29 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
- [1.3-4]
-- added pl translation,
-- build from non root's account,
-- added %defattr support.
-
-* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
-- translations modified for de, fr, tr
-
-* Tue Apr 07 1998 Erik Troan <ewt@redhat.com>
-- updated to 1.3
-
-* Tue Oct 28 1997 Cristian Gafton <gafton@redhat.com>
-- added BuildRoot; added aclocal files
-
-* Fri Oct 24 1997 Erik Troan <ewt@redhat.com>
-- made it a noarch package
-
-* Thu Oct 16 1997 Michael Fulbright <msf@redhat.com>
-- Fixed some tag lines to conform to 5.0 guidelines.
-
-* Thu Jul 17 1997 Erik Troan <ewt@redhat.com>
-- updated to 1.2
-
-* Wed Mar 5 1997 msf@redhat.com <Michael Fulbright>
-- first version (1.0)
+%post
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README THANKS TODO
+%attr(755,root,root) %{_bindir}/*
+%{_infodir}/automake*
+
+%{_aclocaldir}
+%{_mandir}/man1/*
+
+%dir %{_datadir}/automake
+%{_datadir}/automake/am
+%{_datadir}/automake/Automake
+%{_datadir}/automake/COPYING
+%{_datadir}/automake/INSTALL
+%{_datadir}/automake/texinfo.tex
+%{_datadir}/automake/ansi2knr*
+%attr(755,root,root) %{_datadir}/automake/acinstall
+%attr(755,root,root) %{_datadir}/automake/compile
+%attr(755,root,root) %{_datadir}/automake/config.guess
+%attr(755,root,root) %{_datadir}/automake/config.sub
+%attr(755,root,root) %{_datadir}/automake/config-ml.in
+%attr(755,root,root) %{_datadir}/automake/depcomp
+%attr(755,root,root) %{_datadir}/automake/elisp-comp
+%attr(755,root,root) %{_datadir}/automake/install-sh
+%attr(755,root,root) %{_datadir}/automake/mdate-sh
+%attr(755,root,root) %{_datadir}/automake/missing
+%attr(755,root,root) %{_datadir}/automake/mkinstalldirs
+%attr(755,root,root) %{_datadir}/automake/py-compile
+%attr(755,root,root) %{_datadir}/automake/symlink-tree
+%attr(755,root,root) %{_datadir}/automake/ylwrap