3 %bcond_with bootstrap # without full regeneration
5 Summary: GNU automake - Makefile configuration tools
6 Summary(de.UTF-8): GNU automake - Makefile-Konfigurationstools
7 Summary(es.UTF-8): GNU automake - herramientas de configuración de Makefile
8 Summary(fr.UTF-8): automake de GNU - Outils de configuration des makefiles
9 Summary(ko.UTF-8): 스스로 Makefile을 만들어주는 GNU 도구
10 Summary(pl.UTF-8): GNU Automake - generator plików Makefile
11 Summary(pt_BR.UTF-8): GNU automake - ferramentas de configuração de Makefile
12 Summary(ru.UTF-8): GNU automake - инструменты для автоматической генерации Makefile'ов
13 Summary(tr.UTF-8): Makefile yapılandırma araçları
14 Summary(uk.UTF-8): GNU automake - інструменти для автоматичної генерації Makefile'ів
20 Group: Development/Building
21 Source0: https://ftp.gnu.org/gnu/automake/%{name}-%{version}.tar.xz
22 # Source0-md5: 4017e96f89fca45ca946f1c5db6be714
23 Patch0: %{name}-info.patch
24 Patch1: %{name}-man.patch
25 Patch2: %{name}-no_versioned_dir.patch
27 Patch4: revert-debian-python-hacks.patch
28 URL: http://sources.redhat.com/automake/
29 BuildRequires: autoconf >= 2.69
30 %if %{without bootstrap}
31 BuildRequires: automake >= 1:1.14
33 BuildRequires: help2man
34 BuildRequires: rpm-perlprov
35 BuildRequires: tar >= 1:1.22
36 BuildRequires: texinfo >= 4.9
38 Requires(pre): fileutils
39 Requires: filesystem >= 3.0-2
40 Requires: perl(File::Glob)
41 %if %(%{__perl} -le 'use threads; print 1' || echo 0)
42 # required only if perl was built with threads
43 Requires: perl(Thread::Queue)
44 Requires: perl(threads)
46 Conflicts: autoconf < 2.65
47 Conflicts: libtool < 2:1.5-11
48 Conflicts: texinfo < 4.9
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52 %define ver_maj %(echo %{version} | cut -d. -f1-2)
53 %define _enable_debug_packages 0
56 Automake is an experimental Makefile generator. Automake was inspired
57 by the 4.4BSD make and include files, but aims to be portable and to
58 conform to the GNU standards for Makefile variables and targets.
60 %description -l de.UTF-8
61 Automake ist ein experimenteller Makefile-Generator, inspiriert durch
62 die 4.4BSD-Make und Include-Dateien, der jedoch auf Portabilität und
63 Konformität mit den GNU-Standards für Makefile-Variable und Targets
66 %description -l es.UTF-8
67 Automake es un creador experimental de Makefiles. Fue inspirado en el
68 4.4BSD make y incluye archivos, pero visa ser portátil y compatible
69 con los padrones GNU para variables y dianas de Makefile.
71 %description -l fr.UTF-8
72 automake est un générateur expérimental de makefiles. Il a été inspiré
73 par le make de BSD 4.4, mais se veut portable et conforme aux
74 standards GNU pour les variables et les cibles des makefiles.
76 %description -l pl.UTF-8
77 Automake jest eksperymentalnym generatorem plików Makefile'a.
78 Narzędzie to jest wzorowane na make i plikach nagłówkowych z systemu
79 4.4BSD. Umożliwia ono generowanie plików Makefile w oderwaniu od
80 platformy systemowej będąc jednocześnie zgodnym ze standardami GNU.
82 %description -l pt_BR.UTF-8
83 Automake é um gerador experimental de Makefiles. Ele foi inspirado
84 pelo 4.4BSD make e inclui arquivos, mas visa ser portável e compatível
85 com os padrões GNU para variáveis e alvos de Makefile.
87 %description -l ru.UTF-8
88 Automake - это экспериментальный генератор Makefile'ов. Идея была
89 навеяна программой make и хедерами из 4.4BSD, но automake претендует
90 на то, чтобы быть портабельной и соответствовать стандартам GNU на
91 переменные и цели Makefile'ов.
93 %description -l tr.UTF-8
94 Automake deneysel bir Makefile üreticisidir. 4.4BSD make ve include
95 dosyalarından esinlenilmistir, ama amaç taşınabilir olmak ve Makefile
96 değişkenleri ve hedefleri için GNU standartlarına uyum göstermektir.
98 %description -l uk.UTF-8
99 Automake - це експериментальний генератор Makefile'ів. Ідея була
100 навіяна програмою make та хедерами з 4.4BSD, але automake має за ціль
101 мобільність та відповідність стандартам GNU на змінні ті цілі
112 %if %{without bootstrap}
113 %{__sed} -i -e '/AM_INIT_AUTOMAKE/ s/-Werror //' configure.ac
115 # prepare temporary copy of m4 dir without amversion.m4 (which causes automake version check)
118 ln -s ../m4/[!a]*.m4 ../m4/a[!m]*.m4 .
122 %if %{without bootstrap}
123 %{__aclocal} -I m4-tmp
126 %if %{without bootstrap}
131 %if "%{_host_cpu}" != "x32"
135 --disable-silent-rules
139 rm -rf $RPM_BUILD_ROOT
140 install -d $RPM_BUILD_ROOT%{_mandir}/man1
143 DESTDIR=$RPM_BUILD_ROOT \
144 pkgvdatadir=%{_datadir}/automake
146 cp -a aclocal.1 automake.1 $RPM_BUILD_ROOT%{_mandir}/man1
148 # not needed when dir/files are handled by package system
149 %{__rm} $RPM_BUILD_ROOT%{_datadir}/aclocal/README
151 rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
154 rm -rf $RPM_BUILD_ROOT
156 %post -p /sbin/postshell
157 -/usr/sbin/fix-info-dir -c %{_infodir}
159 %postun -p /sbin/postshell
160 -/usr/sbin/fix-info-dir -c %{_infodir}
163 %defattr(644,root,root,755)
164 %doc AUTHORS ChangeLog NEWS README THANKS
165 %attr(755,root,root) %{_bindir}/aclocal*
166 %attr(755,root,root) %{_bindir}/automake*
167 %{_infodir}/automake.info*
168 %{_infodir}/automake-history.info*
169 %{_mandir}/man1/aclocal.1*
170 %{_mandir}/man1/aclocal-%{ver_maj}.1*
171 %{_mandir}/man1/automake.1*
172 %{_mandir}/man1/automake-%{ver_maj}.1*
174 %{_datadir}/aclocal-%{ver_maj}
175 %dir %{_datadir}/automake
176 %{_datadir}/automake/am
177 %{_datadir}/automake/Automake
178 %{_datadir}/automake/COPYING
179 %{_datadir}/automake/INSTALL
180 %{_datadir}/automake/texinfo.tex
181 %attr(755,root,root) %{_datadir}/automake/ar-lib
182 %attr(755,root,root) %{_datadir}/automake/compile
183 %attr(755,root,root) %{_datadir}/automake/config.guess
184 %attr(755,root,root) %{_datadir}/automake/config.sub
185 %attr(755,root,root) %{_datadir}/automake/depcomp
186 %attr(755,root,root) %{_datadir}/automake/install-sh
187 %attr(755,root,root) %{_datadir}/automake/mdate-sh
188 %attr(755,root,root) %{_datadir}/automake/missing
189 %attr(755,root,root) %{_datadir}/automake/mkinstalldirs
190 %attr(755,root,root) %{_datadir}/automake/py-compile
191 %attr(755,root,root) %{_datadir}/automake/tap-driver.sh
192 %attr(755,root,root) %{_datadir}/automake/test-driver
193 %attr(755,root,root) %{_datadir}/automake/ylwrap