]>
Commit | Line | Data |
---|---|---|
9ff1d8ea | 1 | # |
2 | # Conditional build: | |
ae4b0ffa | 3 | %bcond_with bootstrap # without full regeneration |
28644acd | 4 | |
d2e8ee83 | 5 | Summary: GNU automake - Makefile configuration tools |
afbdcb6a ER |
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'ів | |
d2e8ee83 | 15 | Name: automake |
20cbaac3 | 16 | Version: 1.16.3 |
41bc3074 | 17 | Release: 2 |
9df910de | 18 | Epoch: 1 |
3fa4e1d8 | 19 | License: GPL v2+ |
d2e8ee83 | 20 | Group: Development/Building |
20cbaac3 JB |
21 | Source0: https://ftp.gnu.org/gnu/automake/%{name}-%{version}.tar.xz |
22 | # Source0-md5: c27f608a4e1f302ec7ce42f1251c184e | |
97427a18 | 23 | Patch0: %{name}-info.patch |
c05ec9b2 | 24 | Patch1: %{name}-man.patch |
7d33bfb7 | 25 | Patch2: %{name}-no_versioned_dir.patch |
780166fe | 26 | |
ebc82dcb | 27 | Patch4: revert-debian-python-hacks.patch |
e2130ee4 | 28 | URL: http://sources.redhat.com/automake/ |
70921c59 JB |
29 | BuildRequires: autoconf >= 2.69 |
30 | %if %{without bootstrap} | |
40d403eb | 31 | BuildRequires: automake >= 1:1.14 |
9ff1d8ea | 32 | %endif |
780896ca | 33 | BuildRequires: help2man |
6c512b59 | 34 | BuildRequires: rpm-perlprov |
efa0465c | 35 | BuildRequires: tar >= 1:1.22 |
70921c59 | 36 | BuildRequires: texinfo >= 4.9 |
efa0465c | 37 | BuildRequires: xz |
6c512b59 | 38 | Requires(pre): fileutils |
da705ff1 | 39 | Requires: filesystem >= 3.0-2 |
f2aedd0a | 40 | Requires: perl(File::Glob) |
27e5c9ed | 41 | %if %(%{__perl} -le 'use threads; print 1' || echo 0) |
42 | # required only if perl was built with threads | |
5f369bf4 | 43 | Requires: perl(Thread::Queue) |
5240cf06 | 44 | Requires: perl(threads) |
27e5c9ed | 45 | %endif |
70921c59 | 46 | Conflicts: autoconf < 2.65 |
9af2a873 | 47 | Conflicts: libtool < 2:1.5-11 |
70921c59 | 48 | Conflicts: texinfo < 4.9 |
5f5354f6 | 49 | BuildArch: noarch |
64ff5e04 | 50 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
de35da74 | 51 | |
b65fb5f5 | 52 | %define ver_maj %(echo %{version} | cut -d. -f1-2) |
28644acd ER |
53 | %define _enable_debug_packages 0 |
54 | ||
de35da74 | 55 | %description |
09eee7ed | 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. | |
a44c677f | 59 | |
d41c41a1 | 60 | %description -l de.UTF-8 |
09eee7ed | 61 | Automake ist ein experimenteller Makefile-Generator, inspiriert durch |
d41c41a1 JR |
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 | |
a44c677f | 64 | abzielt. |
de35da74 | 65 | |
d41c41a1 | 66 | %description -l es.UTF-8 |
41ca6f41 | 67 | Automake es un creador experimental de Makefiles. Fue inspirado en el |
d41c41a1 | 68 | 4.4BSD make y incluye archivos, pero visa ser portátil y compatible |
41ca6f41 | 69 | con los padrones GNU para variables y dianas de Makefile. |
70 | ||
d41c41a1 JR |
71 | %description -l fr.UTF-8 |
72 | automake est un générateur expérimental de makefiles. Il a été inspiré | |
09eee7ed | 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. | |
de35da74 | 75 | |
d41c41a1 JR |
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. | |
81 | ||
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. | |
86 | ||
87 | %description -l ru.UTF-8 | |
88 | Automake - это экспериментальный генератор Makefile'ов. Идея была | |
89 | навеяна программой make и хедерами из 4.4BSD, но automake претендует | |
90 | на то, чтобы быть портабельной и соответствовать стандартам GNU на | |
91 | переменные и цели Makefile'ов. | |
92 | ||
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. | |
97 | ||
98 | %description -l uk.UTF-8 | |
99 | Automake - це експериментальний генератор Makefile'ів. Ідея була | |
100 | навіяна програмою make та хедерами з 4.4BSD, але automake має за ціль | |
101 | мобільність та відповідність стандартам GNU на змінні ті цілі | |
102 | Makefile'ів. | |
6c512b59 | 103 | |
de35da74 | 104 | %prep |
ef42d5fb | 105 | %setup -q |
2ed6af07 | 106 | %patch0 -p1 |
1a0f319d | 107 | %patch1 -p1 |
7432874c | 108 | %patch2 -p1 |
780166fe | 109 | |
26f9c745 | 110 | %patch4 -p1 |
de35da74 | 111 | |
281dc9f0 | 112 | %if %{without bootstrap} |
3fa4e1d8 JB |
113 | # prepare temporary copy of m4 dir without amversion.m4 (which causes automake version check) |
114 | mkdir m4-tmp | |
115 | cd m4-tmp | |
116 | ln -s ../m4/[!a]*.m4 ../m4/a[!m]*.m4 . | |
117 | %endif | |
118 | ||
de35da74 | 119 | %build |
281dc9f0 | 120 | %if %{without bootstrap} |
3fa4e1d8 | 121 | %{__aclocal} -I m4-tmp |
9ff1d8ea | 122 | %endif |
32109213 | 123 | %{__autoconf} |
281dc9f0 | 124 | %if %{without bootstrap} |
9ff1d8ea | 125 | %{__automake} |
126 | %endif | |
5f5354f6 | 127 | |
5f5354f6 | 128 | %configure \ |
25aa85ba | 129 | %if "%{_host_cpu}" != "x32" |
f961cfa6 | 130 | --host=%{_host} \ |
25aa85ba | 131 | --build=%{_host} \ |
5e64d72b | 132 | %endif |
25aa85ba | 133 | --disable-silent-rules |
a3487c75 | 134 | %{__make} |
de35da74 | 135 | |
136 | %install | |
137 | rm -rf $RPM_BUILD_ROOT | |
6c512b59 | 138 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
97427a18 | 139 | |
6c512b59 | 140 | %{__make} install \ |
141 | DESTDIR=$RPM_BUILD_ROOT \ | |
6c512b59 | 142 | pkgvdatadir=%{_datadir}/automake |
88d8532d | 143 | |
f961cfa6 | 144 | cp -a aclocal.1 automake.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
1a0f319d | 145 | |
0ed98c47 JB |
146 | # not needed when dir/files are handled by package system |
147 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/aclocal/README | |
148 | ||
d6b71edd | 149 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir* |
9df910de | 150 | |
967f5ab7 JB |
151 | %clean |
152 | rm -rf $RPM_BUILD_ROOT | |
153 | ||
0ed98c47 | 154 | %post -p /sbin/postshell |
2d957656 | 155 | -/usr/sbin/fix-info-dir -c %{_infodir} |
de35da74 | 156 | |
0ed98c47 | 157 | %postun -p /sbin/postshell |
2d957656 | 158 | -/usr/sbin/fix-info-dir -c %{_infodir} |
de35da74 | 159 | |
160 | %files | |
d43d4562 | 161 | %defattr(644,root,root,755) |
0ed98c47 | 162 | %doc AUTHORS ChangeLog NEWS README THANKS |
3fa4e1d8 JB |
163 | %attr(755,root,root) %{_bindir}/aclocal* |
164 | %attr(755,root,root) %{_bindir}/automake* | |
165 | %{_infodir}/automake.info* | |
0ed98c47 | 166 | %{_infodir}/automake-history.info* |
3fa4e1d8 | 167 | %{_mandir}/man1/aclocal.1* |
b65fb5f5 | 168 | %{_mandir}/man1/aclocal-%{ver_maj}.1* |
3fa4e1d8 | 169 | %{_mandir}/man1/automake.1* |
b65fb5f5 | 170 | %{_mandir}/man1/automake-%{ver_maj}.1* |
78870517 | 171 | |
b65fb5f5 | 172 | %{_datadir}/aclocal-%{ver_maj} |
ae83ebfe | 173 | %dir %{_datadir}/automake |
61c3d807 AF |
174 | %{_datadir}/automake/am |
175 | %{_datadir}/automake/Automake | |
80fc6d7e | 176 | %{_datadir}/automake/COPYING |
177 | %{_datadir}/automake/INSTALL | |
ae83ebfe | 178 | %{_datadir}/automake/texinfo.tex |
09dffca2 | 179 | %attr(755,root,root) %{_datadir}/automake/ar-lib |
61c3d807 | 180 | %attr(755,root,root) %{_datadir}/automake/compile |
ae83ebfe | 181 | %attr(755,root,root) %{_datadir}/automake/config.guess |
182 | %attr(755,root,root) %{_datadir}/automake/config.sub | |
61c3d807 | 183 | %attr(755,root,root) %{_datadir}/automake/depcomp |
ae83ebfe | 184 | %attr(755,root,root) %{_datadir}/automake/install-sh |
185 | %attr(755,root,root) %{_datadir}/automake/mdate-sh | |
ae83ebfe | 186 | %attr(755,root,root) %{_datadir}/automake/missing |
6c512b59 | 187 | %attr(755,root,root) %{_datadir}/automake/mkinstalldirs |
188 | %attr(755,root,root) %{_datadir}/automake/py-compile | |
0ed98c47 JB |
189 | %attr(755,root,root) %{_datadir}/automake/tap-driver.sh |
190 | %attr(755,root,root) %{_datadir}/automake/test-driver | |
6c512b59 | 191 | %attr(755,root,root) %{_datadir}/automake/ylwrap |