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