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