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