]> git.pld-linux.org Git - packages/automake.git/commitdiff
This commit was manufactured by cvs2git to create branch 'AC-branch'. AC-branch
authorcvs2git <feedback@pld-linux.org>
Fri, 19 Feb 2010 16:05:16 +0000 (16:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Cherrypick from master 2010-02-19 16:05:16 UTC Elan Ruusamäe <glen@pld-linux.org> '- pass --build and --host params to configure so we can itself be noarch package; rel 2':
    automake-info.patch -> 1.17
    automake-no_versioned_dir.patch -> 1.7
    automake.spec -> 1.142

automake-info.patch [new file with mode: 0644]
automake-no_versioned_dir.patch [new file with mode: 0644]
automake.spec [new file with mode: 0644]

diff --git a/automake-info.patch b/automake-info.patch
new file mode 100644 (file)
index 0000000..f09d236
--- /dev/null
@@ -0,0 +1,144 @@
+--- automake-1.10/doc/automake.texi.orig       2006-10-15 19:41:24.000000000 +0200
++++ automake-1.10/doc/automake.texi    2006-10-26 23:02:36.354332500 +0200
+@@ -38,15 +38,11 @@
+ @c info Automake  points to the Automake package's documentation
+ @c info automake  points to the automake script's documentation
+ @c (Autoconf has a similar setup.)
+-@dircategory Software development
++@dircategory Programming tools:
+ @direntry
+-* Automake: (automake).         Making GNU standards-compliant Makefiles.
+-@end direntry
+-
+-@dircategory Individual utilities
+-@direntry
+-* aclocal: (automake)Invoking aclocal.          Generating aclocal.m4.
+-* automake: (automake)Invoking Automake.        Generating Makefile.in.
++* Automake: (automake).                       Making GNU standards-compliant Makefiles
++* aclocal: (automake)aclocal.         Generating aclocal.m4
++* automake: (automake)automake.               Generating Makefile.in
+ @end direntry
+ @titlepage
+@@ -97,7 +93,7 @@
+ * Autotools Introduction::      An Introduction to the Autotools
+ * Generalities::                General ideas
+ * Examples::                    Some example packages
+-* Invoking Automake::           Creating a Makefile.in
++* automake::                    Creating a Makefile.in
+ * configure::                   Scanning configure.ac or configure.in
+ * Directories::                 Declaring subdirectories
+ * Programs::                    Building programs and libraries
+@@ -174,7 +170,7 @@
+ * Requirements::                Configuration requirements
+ * Optional::                    Other things Automake recognizes
+-* Invoking aclocal::            Auto-generating aclocal.m4
++* aclocal::                     Auto-generating aclocal.m4
+ * Macros::                      Autoconf macros supplied with Automake
+ Auto-generating aclocal.m4
+@@ -2418,7 +2414,7 @@
+ (The name of the object files rarely matters.)
+-@node Invoking Automake
++@node automake
+ @chapter Creating a @file{Makefile.in}
+ @cindex Multiple @file{configure.ac} files
+@@ -2652,7 +2648,7 @@
+ @menu
+ * Requirements::                Configuration requirements
+ * Optional::                    Other things Automake recognizes
+-* Invoking aclocal::            Auto-generating aclocal.m4
++* aclocal::                     Auto-generating aclocal.m4
+ * Macros::                      Autoconf macros supplied with Automake
+ @end menu
+@@ -3020,13 +3016,12 @@
+ @code{m4_include} is seldom used by @file{configure.ac} authors, but
+ can appear in @file{aclocal.m4} when @command{aclocal} detects that
+ some required macros come from files local to your package (as opposed
+-to macros installed in a system-wide directory, @pxref{Invoking
+-aclocal}).
++to macros installed in a system-wide directory, @pxref{aclocal}).
+ @end ftable
+-@node Invoking aclocal
++@node aclocal
+ @section Auto-generating aclocal.m4
+ @cindex Invoking @command{aclocal}
+@@ -3194,7 +3189,7 @@
+ @vindex WARNINGS
+ The environment variable @env{WARNINGS} is honored in the same
+-way as it is for @command{automake} (@pxref{Invoking Automake}).
++way as it is for @command{automake} (@pxref{automake}).
+ @end table
+@@ -3468,12 +3463,12 @@
+ @code{ACLOCAL_AMFLAGS} contains options to pass to @command{aclocal}
+ when @file{aclocal.m4} is to be rebuilt by @command{make}.  This line is
+-also used by @command{autoreconf} (@pxref{autoreconf Invocation, ,
++also used by @command{autoreconf} (@pxref{autoreconf, ,
+ Using @command{autoreconf} to Update @file{configure} Scripts,
+ autoconf, The Autoconf Manual}) to run @command{aclocal} with suitable
+-options, or by @command{autopoint} (@pxref{autopoint Invocation, ,
++options, or by @command{autopoint} (@pxref{autopoint, ,
+ Invoking the @command{autopoint} Program, gettext, GNU gettext tools})
+-and @command{gettextize} (@pxref{gettextize Invocation, , Invoking the
++and @command{gettextize} (@pxref{gettextize, , Invoking the
+ @command{gettextize} Program, gettext, GNU gettext tools}) to locate
+ the place where Gettext's macros should be installed.  So even if you
+ do not really care about the rebuild rules, you should define
+@@ -5314,7 +5309,7 @@
+ passed to the tool invoked by @command{libtool} (hence the use of
+ @samp{@var{library}_LDFLAGS} for libtool linking flags).  Generic
+ options include @option{--tag=@var{TAG}} and @option{--silent}
+-(@pxref{Invoking libtool, , Invoking @command{libtool}, libtool, The
++(@pxref{libtool, , Invoking @command{libtool}, libtool, The
+ Libtool Manual} for more options) should appear before the mode
+ selection on the command line; in @file{Makefile.am}s they should
+ be listed in the @samp{@var{library}_LIBTOOLFLAGS} variable.
+@@ -9151,7 +9146,7 @@
+ @command{make} implementations that do not support it.  The
+ @option{silent-rules} option turns off warnings about recursive variable
+ expansion, which are in turn enabled by @option{-Wportability}
+-(@pxref{Invoking Automake}).
++(@pxref{automake}).
+ @vindex @code{AM_V_GEN}
+ @vindex @code{AM_V_at}
+@@ -9292,7 +9287,7 @@
+ @cindex Option, @option{-W@var{category}}
+ @cindex Option, @option{--warnings=@var{category}}
+ These options behave exactly like their command-line counterpart
+-(@pxref{Invoking Automake}).  This allows you to enable or disable some
++(@pxref{automake}).  This allows you to enable or disable some
+ warning categories on a per-file basis.  You can also setup some warnings
+ for your entire project; for instance, try @samp{AM_INIT_AUTOMAKE([-Wall])}
+ in your @file{configure.ac}.
+@@ -9840,7 +9835,7 @@
+ settings of Automake, or replace some of its rules.  Overriding
+ Automake rules is often inadvisable, particularly in the topmost
+ directory of a package with subdirectories.  The @option{-Woverride}
+-option (@pxref{Invoking Automake}) comes in handy to catch overridden
++option (@pxref{automake}) comes in handy to catch overridden
+ definitions.
+ Note that Automake does not make any distinction between rules with
+@@ -10283,7 +10278,7 @@
+ @end example
+ The use of @option{--force-missing} ensures that auxiliary tools will be
+-overridden by new versions (@pxref{Invoking Automake}).
++overridden by new versions (@pxref{automake}).
+ It is important to regenerate all these files each time Automake is
+ upgraded, even between bug fixes releases.  For instance, it is not
diff --git a/automake-no_versioned_dir.patch b/automake-no_versioned_dir.patch
new file mode 100644 (file)
index 0000000..614bd18
--- /dev/null
@@ -0,0 +1,33 @@
+--- automake-1.8.4/automake.in.orig    2004-04-10 19:15:32.000000000 +0200
++++ automake-1.8.4/automake.in 2004-04-29 02:33:26.305817840 +0200
+@@ -31,7 +31,7 @@
+ BEGIN
+ {
+-  my $perllibdir = $ENV{'perllibdir'} || '@datadir@/@PACKAGE@-@APIVERSION@';
++  my $perllibdir = $ENV{'perllibdir'} || '@datadir@/@PACKAGE@';
+   unshift @INC, (split '@PATH_SEPARATOR@', $perllibdir);
+   # Override SHELL.  This is required on DJGPP so that system() uses
+--- automake-1.10/aclocal.in.orig      2006-10-15 18:19:37.000000000 +0200
++++ automake-1.10/aclocal.in   2006-10-26 23:03:13.812673500 +0200
+@@ -30,7 +30,7 @@
+ BEGIN
+ {
+-  my $perllibdir = $ENV{'perllibdir'} || '@datadir@/@PACKAGE@-@APIVERSION@';
++  my $perllibdir = $ENV{'perllibdir'} || '@datadir@/@PACKAGE@';
+   unshift @INC, (split '@PATH_SEPARATOR@', $perllibdir);
+ }
+--- automake-1.10/lib/Automake/Config.in.orig  2005-05-14 21:52:09.000000000 +0200
++++ automake-1.10/lib/Automake/Config.in       2006-10-26 23:07:50.717979000 +0200
+@@ -28,7 +28,7 @@
+ our $APIVERSION = '@APIVERSION@';
+ our $PACKAGE = '@PACKAGE@';
+ our $VERSION = '@VERSION@';
+-our $libdir = '@datadir@/@PACKAGE@-@APIVERSION@';
++our $libdir = '@datadir@/@PACKAGE@';
+ our $perl_threads = @PERL_THREADS@;
+ 1;;
diff --git a/automake.spec b/automake.spec
new file mode 100644 (file)
index 0000000..67a288b
--- /dev/null
@@ -0,0 +1,185 @@
+#
+# Conditional build:
+%bcond_with            bootstrap       # without full regeneration
+
+%include       /usr/lib/rpm/macros.perl
+Summary:       GNU automake - Makefile configuration tools
+Summary(de.UTF-8):     GNU automake - Makefile-Konfigurationstools
+Summary(es.UTF-8):     GNU automake - herramientas de configuración de Makefile
+Summary(fr.UTF-8):     automake de GNU - Outils de configuration des makefiles
+Summary(ko.UTF-8):     스스로 Makefile을 만들어주는 GNU 도구
+Summary(pl.UTF-8):     GNU Automake - generator plików Makefile
+Summary(pt_BR.UTF-8):  GNU automake - ferramentas de configuração de Makefile
+Summary(ru.UTF-8):     GNU automake - инструменты для автоматической генерации Makefile'ов
+Summary(tr.UTF-8):     Makefile yapılandırma araçları
+Summary(uk.UTF-8):     GNU automake - інструменти для автоматичної генерації Makefile'ів
+Name:          automake
+Version:       1.11.1
+Release:       2
+Epoch:         1
+License:       GPL v2+
+Group:         Development/Building
+Source0:       http://ftp.gnu.org/gnu/automake/%{name}-%{version}.tar.bz2
+# Source0-md5: c2972c4d9b3e29c03d5f2af86249876f
+Patch0:                %{name}-info.patch
+Patch1:                %{name}-man.patch
+Patch2:                %{name}-no_versioned_dir.patch
+Patch3:                %{name}-morearchs.patch
+URL:           http://sources.redhat.com/automake/
+%if %{without bootstrap}
+BuildRequires: autoconf >= 2.60
+BuildRequires: automake >= 1:1.10a
+%else
+BuildRequires: autoconf >= 2.63
+%endif
+BuildRequires: help2man
+BuildRequires: rpm-perlprov
+BuildRequires: texinfo >= 4.7
+Requires(pre): fileutils
+Requires:      filesystem >= 3.0-2
+Requires:      perl(File::Glob)
+%if %(%{__perl} -le 'use threads; print 1' || echo 0)
+# required only if perl was built with threads
+Requires:      perl(Thread::Queue)
+Requires:      perl(threads)
+%endif
+Conflicts:     autoconf < 2.60
+Conflicts:     libtool < 2:1.5-11
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _enable_debug_packages  0
+
+%description
+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.UTF-8
+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.UTF-8
+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.UTF-8
+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.UTF-8
+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.UTF-8
+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.UTF-8
+Automake - это экспериментальный генератор Makefile'ов. Идея была
+навеяна программой make и хедерами из 4.4BSD, но automake претендует
+на то, чтобы быть портабельной и соответствовать стандартам GNU на
+переменные и цели Makefile'ов.
+
+%description -l tr.UTF-8
+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.UTF-8
+Automake - це експериментальний генератор Makefile'ів. Ідея була
+навіяна програмою make та хедерами з 4.4BSD, але automake має за ціль
+мобільність та відповідність стандартам GNU на змінні ті цілі
+Makefile'ів.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+
+%if %{without bootstrap}
+# prepare temporary copy of m4 dir without amversion.m4 (which causes automake version check)
+mkdir m4-tmp
+cd m4-tmp
+ln -s ../m4/[!a]*.m4 ../m4/a[!m]*.m4 .
+%endif
+
+%build
+%if %{without bootstrap}
+%{__aclocal} -I m4-tmp
+%endif
+%{__autoconf}
+%if %{without bootstrap}
+%{__automake}
+%endif
+
+# NOTE: _target macro becames "noarch" if ./builder passes --target=noarch, so
+# use plain /usr/bin/rpmbuild.
+%configure \
+       --host=%{_target} \
+       --build=%{_target}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       pkgvdatadir=%{_datadir}/automake
+
+install aclocal.1 automake.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun        -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README THANKS TODO
+%attr(755,root,root) %{_bindir}/aclocal*
+%attr(755,root,root) %{_bindir}/automake*
+%{_infodir}/automake.info*
+%{_mandir}/man1/aclocal.1*
+%{_mandir}/man1/aclocal-1.11.1*
+%{_mandir}/man1/automake.1*
+%{_mandir}/man1/automake-1.11.1*
+
+%{_datadir}/aclocal-*
+%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
This page took 0.087616 seconds and 4 git commands to generate.