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