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