]> git.pld-linux.org Git - packages/automake.git/blobdiff - automake.spec
changed Requires: perl-modules to perl(File::Glob), fixes future module move to other...
[packages/automake.git] / automake.spec
index 666600bc71e625700ee71bf225379146e2bd10c0..d5b318f5608532e1b87b8493b80f0647715d8cae 100644 (file)
@@ -1,45 +1,50 @@
+# _without_man - without man pages (use if you don't have automake >= 1.4b installed)
+%include       /usr/lib/rpm/macros.perl
 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:       7
-Copyright:     GPL
+Version:       1.4p4
+Release:       4
+License:       GPL
 Group:         Development/Building
+Group(de):     Entwicklung/Bauen
 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
+Source0:       ftp://sourceware.cygnus.com/pub/automake/%{name}-1.4-p4.tar.gz
+Patch0:                %{name}-info.patch
+Patch1:                %{name}-man.patch
+Patch2:                %{name}-libtoolize.patch
 URL:           http://sourceware.cygnus.com/automake/
+BuildRequires: autoconf
+BuildRequires: perl
 Requires:      perl
-Prereq:                /sbin/install-info
-Buildroot:     /tmp/%{name}-%{version}-root
+Requires:      perl(File::Glob)
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 BuildArch:     noarch
 
 %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 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 tr
 Automake deneysel bir Makefile üreticisidir. 4.4BSD make ve include
@@ -47,52 +52,55 @@ dosyalar
 deðiþkenleri ve hedefleri için GNU standartlarýna uyum göstermektir.
 
 %prep
-%setup -q
+%setup -q -n %{name}-1.4-p4
 %patch0 -p1
-%patch1 -p1
-%patch2 -p0
-%patch3 -p1
+%{!?_without_man:%patch1 -p1}
+%patch2 -p1
 
 %build
+%{!?_without_man:rm -f missing}
+aclocal
+autoconf
+%{!?_without_man:automake -a -c}
 %configure
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/*info*,%{_mandir}/man1/*} \
-       AUTHORS ChangeLog NEWS README THANKS TODO
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+gzip -9nf AUTHORS ChangeLog NEWS README THANKS TODO
 
 %post
-/sbin/install-info %{_infodir}/automake.info.gz /etc/info-dir
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
-%preun
-if [ "$1" = "0" ]; then
-       /sbin/install-info --delete %{_infodir}/automake.info.gz /etc/info-dir
-fi
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {AUTHORS,ChangeLog,NEWS,README,THANKS,TODO}.gz
+%doc *.gz
 %attr(755,root,root) %{_bindir}/*
 %{_infodir}/automake*
 
-%{_datadir}/aclocal
-%{_mandir}/man1/*
+%{_aclocaldir}
+%{!?_without_man:%{_mandir}/man1/*}
 
 %dir %{_datadir}/automake
 %{_datadir}/automake/*.am
+%{_datadir}/automake/COPYING
+%{_datadir}/automake/INSTALL
 %{_datadir}/automake/texinfo.tex
+%attr(755,root,root) %{_datadir}/automake/acinstall
 %attr(755,root,root) %{_datadir}/automake/config.guess
 %attr(755,root,root) %{_datadir}/automake/config.sub
+%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/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.034546 seconds and 4 git commands to generate.