]>
Commit | Line | Data |
---|---|---|
9ff1d8ea | 1 | # |
2 | # Conditional build: | |
ae4b0ffa | 3 | %bcond_with bootstrap # without full regeneration |
28644acd | 4 | |
39a88b2c | 5 | %include /usr/lib/rpm/macros.perl |
d2e8ee83 | 6 | Summary: GNU automake - Makefile configuration tools |
afbdcb6a ER |
7 | Summary(de.UTF-8): GNU automake - Makefile-Konfigurationstools |
8 | Summary(es.UTF-8): GNU automake - herramientas de configuración de Makefile | |
9 | Summary(fr.UTF-8): automake de GNU - Outils de configuration des makefiles | |
10 | Summary(ko.UTF-8): 스스로 Makefile을 만들어주는 GNU 도구 | |
11 | Summary(pl.UTF-8): GNU Automake - generator plików Makefile | |
12 | Summary(pt_BR.UTF-8): GNU automake - ferramentas de configuração de Makefile | |
13 | Summary(ru.UTF-8): GNU automake - инструменты для автоматической генерации Makefile'ов | |
14 | Summary(tr.UTF-8): Makefile yapılandırma araçları | |
15 | Summary(uk.UTF-8): GNU automake - інструменти для автоматичної генерації Makefile'ів | |
d2e8ee83 | 16 | Name: automake |
ebc82dcb JB |
17 | Version: 1.15.1 |
18 | Release: 1 | |
9df910de | 19 | Epoch: 1 |
3fa4e1d8 | 20 | License: GPL v2+ |
d2e8ee83 | 21 | Group: Development/Building |
efa0465c | 22 | Source0: http://ftp.gnu.org/gnu/automake/%{name}-%{version}.tar.xz |
ebc82dcb | 23 | # Source0-md5: 24cd3501b6ad8cd4d7e2546f07e8b4d4 |
97427a18 | 24 | Patch0: %{name}-info.patch |
c05ec9b2 | 25 | Patch1: %{name}-man.patch |
7d33bfb7 | 26 | Patch2: %{name}-no_versioned_dir.patch |
da705ff1 | 27 | Patch3: %{name}-morearchs.patch |
ebc82dcb | 28 | Patch4: revert-debian-python-hacks.patch |
e2130ee4 | 29 | URL: http://sources.redhat.com/automake/ |
70921c59 JB |
30 | BuildRequires: autoconf >= 2.69 |
31 | %if %{without bootstrap} | |
40d403eb | 32 | BuildRequires: automake >= 1:1.14 |
9ff1d8ea | 33 | %endif |
780896ca | 34 | BuildRequires: help2man |
6c512b59 | 35 | BuildRequires: rpm-perlprov |
efa0465c | 36 | BuildRequires: tar >= 1:1.22 |
70921c59 | 37 | BuildRequires: texinfo >= 4.9 |
efa0465c | 38 | BuildRequires: xz |
6c512b59 | 39 | Requires(pre): fileutils |
da705ff1 | 40 | Requires: filesystem >= 3.0-2 |
f2aedd0a | 41 | Requires: perl(File::Glob) |
27e5c9ed | 42 | %if %(%{__perl} -le 'use threads; print 1' || echo 0) |
43 | # required only if perl was built with threads | |
5f369bf4 | 44 | Requires: perl(Thread::Queue) |
5240cf06 | 45 | Requires: perl(threads) |
27e5c9ed | 46 | %endif |
70921c59 | 47 | Conflicts: autoconf < 2.65 |
9af2a873 | 48 | Conflicts: libtool < 2:1.5-11 |
70921c59 | 49 | Conflicts: texinfo < 4.9 |
5f5354f6 | 50 | BuildArch: noarch |
64ff5e04 | 51 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
de35da74 | 52 | |
b65fb5f5 | 53 | %define ver_maj %(echo %{version} | cut -d. -f1-2) |
28644acd ER |
54 | %define _enable_debug_packages 0 |
55 | ||
de35da74 | 56 | %description |
09eee7ed | 57 | Automake is an experimental Makefile generator. Automake was inspired |
58 | by the 4.4BSD make and include files, but aims to be portable and to | |
59 | conform to the GNU standards for Makefile variables and targets. | |
a44c677f | 60 | |
d41c41a1 | 61 | %description -l de.UTF-8 |
09eee7ed | 62 | Automake ist ein experimenteller Makefile-Generator, inspiriert durch |
d41c41a1 JR |
63 | die 4.4BSD-Make und Include-Dateien, der jedoch auf Portabilität und |
64 | Konformität mit den GNU-Standards für Makefile-Variable und Targets | |
a44c677f | 65 | abzielt. |
de35da74 | 66 | |
d41c41a1 | 67 | %description -l es.UTF-8 |
41ca6f41 | 68 | Automake es un creador experimental de Makefiles. Fue inspirado en el |
d41c41a1 | 69 | 4.4BSD make y incluye archivos, pero visa ser portátil y compatible |
41ca6f41 | 70 | con los padrones GNU para variables y dianas de Makefile. |
71 | ||
d41c41a1 JR |
72 | %description -l fr.UTF-8 |
73 | automake est un générateur expérimental de makefiles. Il a été inspiré | |
09eee7ed | 74 | par le make de BSD 4.4, mais se veut portable et conforme aux |
75 | standards GNU pour les variables et les cibles des makefiles. | |
de35da74 | 76 | |
d41c41a1 JR |
77 | %description -l pl.UTF-8 |
78 | Automake jest eksperymentalnym generatorem plików Makefile'a. | |
79 | Narzędzie to jest wzorowane na make i plikach nagłówkowych z systemu | |
80 | 4.4BSD. Umożliwia ono generowanie plików Makefile w oderwaniu od | |
81 | platformy systemowej będąc jednocześnie zgodnym ze standardami GNU. | |
82 | ||
83 | %description -l pt_BR.UTF-8 | |
84 | Automake é um gerador experimental de Makefiles. Ele foi inspirado | |
85 | pelo 4.4BSD make e inclui arquivos, mas visa ser portável e compatível | |
86 | com os padrões GNU para variáveis e alvos de Makefile. | |
87 | ||
88 | %description -l ru.UTF-8 | |
89 | Automake - это экспериментальный генератор Makefile'ов. Идея была | |
90 | навеяна программой make и хедерами из 4.4BSD, но automake претендует | |
91 | на то, чтобы быть портабельной и соответствовать стандартам GNU на | |
92 | переменные и цели Makefile'ов. | |
93 | ||
94 | %description -l tr.UTF-8 | |
95 | Automake deneysel bir Makefile üreticisidir. 4.4BSD make ve include | |
96 | dosyalarından esinlenilmistir, ama amaç taşınabilir olmak ve Makefile | |
97 | değişkenleri ve hedefleri için GNU standartlarına uyum göstermektir. | |
98 | ||
99 | %description -l uk.UTF-8 | |
100 | Automake - це експериментальний генератор Makefile'ів. Ідея була | |
101 | навіяна програмою make та хедерами з 4.4BSD, але automake має за ціль | |
102 | мобільність та відповідність стандартам GNU на змінні ті цілі | |
103 | Makefile'ів. | |
6c512b59 | 104 | |
de35da74 | 105 | %prep |
ef42d5fb | 106 | %setup -q |
2ed6af07 | 107 | %patch0 -p1 |
1a0f319d | 108 | %patch1 -p1 |
7432874c | 109 | %patch2 -p1 |
09a99fe7 | 110 | %patch3 -p1 |
26f9c745 | 111 | %patch4 -p1 |
de35da74 | 112 | |
281dc9f0 | 113 | %if %{without bootstrap} |
3fa4e1d8 JB |
114 | # prepare temporary copy of m4 dir without amversion.m4 (which causes automake version check) |
115 | mkdir m4-tmp | |
116 | cd m4-tmp | |
117 | ln -s ../m4/[!a]*.m4 ../m4/a[!m]*.m4 . | |
118 | %endif | |
119 | ||
de35da74 | 120 | %build |
281dc9f0 | 121 | %if %{without bootstrap} |
3fa4e1d8 | 122 | %{__aclocal} -I m4-tmp |
9ff1d8ea | 123 | %endif |
32109213 | 124 | %{__autoconf} |
281dc9f0 | 125 | %if %{without bootstrap} |
9ff1d8ea | 126 | %{__automake} |
127 | %endif | |
5f5354f6 ER |
128 | |
129 | # NOTE: _target macro becames "noarch" if ./builder passes --target=noarch, so | |
f961cfa6 | 130 | # be sure use plain /usr/bin/rpmbuild. |
5f5354f6 | 131 | %configure \ |
5e64d72b JR |
132 | %if %{_host_cpu} == "x32" |
133 | --host=%{_target_platform} \ | |
134 | --build=%{_target_platform} | |
135 | %else | |
f961cfa6 ER |
136 | --host=%{_host} \ |
137 | --build=%{_host} | |
5e64d72b | 138 | %endif |
a3487c75 | 139 | %{__make} |
de35da74 | 140 | |
141 | %install | |
142 | rm -rf $RPM_BUILD_ROOT | |
6c512b59 | 143 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
97427a18 | 144 | |
6c512b59 | 145 | %{__make} install \ |
146 | DESTDIR=$RPM_BUILD_ROOT \ | |
6c512b59 | 147 | pkgvdatadir=%{_datadir}/automake |
88d8532d | 148 | |
f961cfa6 | 149 | cp -a aclocal.1 automake.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
1a0f319d | 150 | |
0ed98c47 JB |
151 | # not needed when dir/files are handled by package system |
152 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/aclocal/README | |
153 | ||
d6b71edd | 154 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir* |
9df910de | 155 | |
967f5ab7 JB |
156 | %clean |
157 | rm -rf $RPM_BUILD_ROOT | |
158 | ||
0ed98c47 | 159 | %post -p /sbin/postshell |
2d957656 | 160 | -/usr/sbin/fix-info-dir -c %{_infodir} |
de35da74 | 161 | |
0ed98c47 | 162 | %postun -p /sbin/postshell |
2d957656 | 163 | -/usr/sbin/fix-info-dir -c %{_infodir} |
de35da74 | 164 | |
165 | %files | |
d43d4562 | 166 | %defattr(644,root,root,755) |
0ed98c47 | 167 | %doc AUTHORS ChangeLog NEWS README THANKS |
3fa4e1d8 JB |
168 | %attr(755,root,root) %{_bindir}/aclocal* |
169 | %attr(755,root,root) %{_bindir}/automake* | |
170 | %{_infodir}/automake.info* | |
0ed98c47 | 171 | %{_infodir}/automake-history.info* |
3fa4e1d8 | 172 | %{_mandir}/man1/aclocal.1* |
b65fb5f5 | 173 | %{_mandir}/man1/aclocal-%{ver_maj}.1* |
3fa4e1d8 | 174 | %{_mandir}/man1/automake.1* |
b65fb5f5 | 175 | %{_mandir}/man1/automake-%{ver_maj}.1* |
78870517 | 176 | |
b65fb5f5 | 177 | %{_datadir}/aclocal-%{ver_maj} |
ae83ebfe | 178 | %dir %{_datadir}/automake |
61c3d807 AF |
179 | %{_datadir}/automake/am |
180 | %{_datadir}/automake/Automake | |
80fc6d7e | 181 | %{_datadir}/automake/COPYING |
182 | %{_datadir}/automake/INSTALL | |
ae83ebfe | 183 | %{_datadir}/automake/texinfo.tex |
09dffca2 | 184 | %attr(755,root,root) %{_datadir}/automake/ar-lib |
61c3d807 | 185 | %attr(755,root,root) %{_datadir}/automake/compile |
ae83ebfe | 186 | %attr(755,root,root) %{_datadir}/automake/config.guess |
187 | %attr(755,root,root) %{_datadir}/automake/config.sub | |
61c3d807 | 188 | %attr(755,root,root) %{_datadir}/automake/depcomp |
ae83ebfe | 189 | %attr(755,root,root) %{_datadir}/automake/install-sh |
190 | %attr(755,root,root) %{_datadir}/automake/mdate-sh | |
ae83ebfe | 191 | %attr(755,root,root) %{_datadir}/automake/missing |
6c512b59 | 192 | %attr(755,root,root) %{_datadir}/automake/mkinstalldirs |
193 | %attr(755,root,root) %{_datadir}/automake/py-compile | |
0ed98c47 JB |
194 | %attr(755,root,root) %{_datadir}/automake/tap-driver.sh |
195 | %attr(755,root,root) %{_datadir}/automake/test-driver | |
6c512b59 | 196 | %attr(755,root,root) %{_datadir}/automake/ylwrap |