]> git.pld-linux.org Git - packages/automake.git/blobdiff - automake.spec
- now automake doesn't require itself to be installed
[packages/automake.git] / automake.spec
index 35a8200680a512a0aff66aa79f6ac531b8480c04..4b8fe7a55c375a4a39c7278d033f410958941988 100644 (file)
@@ -1,26 +1,33 @@
-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.4
-Release:     1
-Copyright:   GPL
-Group:       Development/Building
-Source:      ftp://ftp.cygnus.com/pub/tromey/%{name}-%{version}.tar.gz
-Patch0:      automake-info.patch
-Requires:    perl
-Prereq:      /sbin/install-info
-URL:         http://sourceware.cygnus.com/automake/
-Buildroot:   /tmp/%{name}-%{version}-root
-BuildArch:   noarch
+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.4
+Release:       8
+Copyright:     GPL
+Group:         Development/Building
+Group(pl):     Programowanie/Budowanie
+Source:                ftp://ftp.cygnus.com/pub/tromey/%{name}-%{version}.tar.gz
+Patch0:                automake-info.patch
+Patch1:                automake-armnetwinder.patch
+Patch2:                automake-1.4-19980208.patch
+Patch3:                automake-man.patch
+Patch4:                automake-Makefile.patch
+URL:           http://sourceware.cygnus.com/automake/
+BuildRequires: autoconf
+BuildRequires: perl
+Requires:      perl
+Prereq:                /usr/sbin/fix-info-dir
+Buildroot:     /tmp/%{name}-%{version}-root
+BuildArch:     noarch
 
 %description
-Automake is an experimental Makefile generator.  It was inspired by the
+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
@@ -33,9 +40,9 @@ 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
+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
-jednoce¶nie zgodnym ze standardami GNU.
+jednocze¶nie zgodnym ze standardami GNU.
 
 %description -l tr
 Automake deneysel bir Makefile üreticisidir. 4.4BSD make ve include
@@ -45,90 +52,50 @@ de
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p0
+%patch3 -p1
+%patch4 -p1
 
 %build
-./configure \
-       --prefix=/usr
+autoconf
+%configure
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install prefix=$RPM_BUILD_ROOT/usr
+make install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf $RPM_BUILD_ROOT/usr/info/automake*
+gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/*info*,%{_mandir}/man1/*} \
+       AUTHORS ChangeLog NEWS README THANKS TODO
 
 %post
-/sbin/install-info /usr/info/automake.info.gz /etc/info-dir
-
-%preun
-if [ $1 = 0 ]; then
-       /sbin/install-info --delete /usr/info/automake.info.gz /etc/info-dir
-fi
+/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) /usr/bin/*
-/usr/info/automake*
-%attr(-, root, root) /usr/share/*
+%postun
+/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%changelog
-* Tue Dec 29 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [1.3d-3]
-- standarized {un}registering info pages (second try .. added
-  automake-info.patch).
-
-* Wed Dec 23 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [1.3d-2]
-- (waiting for new autoconf): fixed @SHELL@ bug.
-
-* Sat Dec 19 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [1.3d-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)
+%files
+%defattr(644,root,root,755)
+%doc {AUTHORS,ChangeLog,NEWS,README,THANKS,TODO}.gz
+%attr(755,root,root) %{_bindir}/*
+%{_infodir}/automake*
+
+%{_datadir}/aclocal
+%{_mandir}/man1/*
+
+%dir %{_datadir}/automake
+%{_datadir}/automake/*.am
+%{_datadir}/automake/texinfo.tex
+%attr(755,root,root) %{_datadir}/automake/config.guess
+%attr(755,root,root) %{_datadir}/automake/config.sub
+%attr(755,root,root) %{_datadir}/automake/install-sh
+%attr(755,root,root) %{_datadir}/automake/mdate-sh
+%attr(755,root,root) %{_datadir}/automake/elisp-comp
+%attr(755,root,root) %{_datadir}/automake/acinstall
+%attr(755,root,root) %{_datadir}/automake/ylwrap
+%attr(755,root,root) %{_datadir}/automake/mkinstalldirs
+%attr(755,root,root) %{_datadir}/automake/missing
This page took 0.075522 seconds and 4 git commands to generate.