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