]> git.pld-linux.org Git - packages/automake.git/blob - automake.spec
289042daf7dd859eb68f0b101c5e5709db4cb561
[packages/automake.git] / automake.spec
1 #
2 # Conditional build:
3 %bcond_without  regeneration    # without full regeneration
4 #
5 %include        /usr/lib/rpm/macros.perl
6 Summary:        GNU automake - Makefile configuration tools
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'ів
16 Name:           automake
17 Version:        1.10
18 Release:        3
19 Epoch:          1
20 License:        GPL
21 Group:          Development/Building
22 Source0:        ftp://sources.redhat.com/pub/automake/%{name}-%{version}.tar.bz2
23 # Source0-md5:  0e2e0f757f9e1e89b66033905860fded
24 Patch0:         %{name}-info.patch
25 Patch1:         %{name}-man.patch
26 Patch2:         %{name}-no_versioned_dir.patch
27 Patch3:         %{name}-morearchs.patch
28 URL:            http://sources.redhat.com/automake/
29 %if %{with regeneration}
30 BuildRequires:  autoconf >= 2.60
31 BuildRequires:  automake
32 %else
33 BuildRequires:  autoconf = 2.60
34 %endif
35 BuildRequires:  rpm-perlprov
36 BuildRequires:  texinfo >= 4.7
37 Requires(pre):  fileutils
38 Requires:       filesystem >= 3.0-2
39 Requires:       perl(File::Glob)
40 Conflicts:      autoconf < 2.60
41 Conflicts:      libtool < 2:1.5-11
42 #BuildArch:     noarch -- autoconf doesn't allow
43 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45 %description
46 Automake is an experimental Makefile generator. Automake was inspired
47 by the 4.4BSD make and include files, but aims to be portable and to
48 conform to the GNU standards for Makefile variables and targets.
49
50 %description -l de.UTF-8
51 Automake ist ein experimenteller Makefile-Generator, inspiriert durch
52 die 4.4BSD-Make und Include-Dateien, der jedoch auf Portabilität und
53 Konformität mit den GNU-Standards für Makefile-Variable und Targets
54 abzielt.
55
56 %description -l es.UTF-8
57 Automake es un creador experimental de Makefiles. Fue inspirado en el
58 4.4BSD make y incluye archivos, pero visa ser portátil y compatible
59 con los padrones GNU para variables y dianas de Makefile.
60
61 %description -l fr.UTF-8
62 automake est un générateur expérimental de makefiles. Il a été inspiré
63 par le make de BSD 4.4, mais se veut portable et conforme aux
64 standards GNU pour les variables et les cibles des makefiles.
65
66 %description -l pl.UTF-8
67 Automake jest eksperymentalnym generatorem plików Makefile'a.
68 Narzędzie to jest wzorowane na make i plikach nagłówkowych z systemu
69 4.4BSD. Umożliwia ono generowanie plików Makefile w oderwaniu od
70 platformy systemowej będąc jednocześnie zgodnym ze standardami GNU.
71
72 %description -l pt_BR.UTF-8
73 Automake é um gerador experimental de Makefiles. Ele foi inspirado
74 pelo 4.4BSD make e inclui arquivos, mas visa ser portável e compatível
75 com os padrões GNU para variáveis e alvos de Makefile.
76
77 %description -l ru.UTF-8
78 Automake - это экспериментальный генератор Makefile'ов. Идея была
79 навеяна программой make и хедерами из 4.4BSD, но automake претендует
80 на то, чтобы быть портабельной и соответствовать стандартам GNU на
81 переменные и цели Makefile'ов.
82
83 %description -l tr.UTF-8
84 Automake deneysel bir Makefile üreticisidir. 4.4BSD make ve include
85 dosyalarından esinlenilmistir, ama amaç taşınabilir olmak ve Makefile
86 değişkenleri ve hedefleri için GNU standartlarına uyum göstermektir.
87
88 %description -l uk.UTF-8
89 Automake - це експериментальний генератор Makefile'ів. Ідея була
90 навіяна програмою make та хедерами з 4.4BSD, але automake має за ціль
91 мобільність та відповідність стандартам GNU на змінні ті цілі
92 Makefile'ів.
93
94 %prep
95 %setup -q
96 %patch0 -p1
97 %patch1 -p1
98 %patch2 -p1
99 %patch3 -p1
100
101 %build
102 %if %{with regeneration}
103 %{__aclocal} -I m4
104 %endif
105 %{__autoconf}
106 %if %{with regeneration}
107 %{__automake}
108 %endif
109 %configure
110 %{__make}
111
112 %install
113 rm -rf $RPM_BUILD_ROOT
114 install -d $RPM_BUILD_ROOT%{_mandir}/man1
115
116 %{__make} install \
117         DESTDIR=$RPM_BUILD_ROOT \
118         pkgvdatadir=%{_datadir}/automake
119
120 install aclocal.1 automake.1 $RPM_BUILD_ROOT%{_mandir}/man1
121
122 rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
123
124 %clean
125 rm -rf $RPM_BUILD_ROOT
126
127 %post
128 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
129
130 %postun
131 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
132
133 %files
134 %defattr(644,root,root,755)
135 %doc AUTHORS ChangeLog NEWS README THANKS TODO
136 %attr(755,root,root) %{_bindir}/*
137 %{_infodir}/automake*
138
139 %{_mandir}/man1/*
140
141 %{_datadir}/aclocal-*
142 %dir %{_datadir}/automake
143 %{_datadir}/automake/am
144 %{_datadir}/automake/Automake
145 %{_datadir}/automake/COPYING
146 %{_datadir}/automake/INSTALL
147 %{_datadir}/automake/texinfo.tex
148 %{_datadir}/automake/ansi2knr*
149 %attr(755,root,root) %{_datadir}/automake/acinstall
150 %attr(755,root,root) %{_datadir}/automake/compile
151 %attr(755,root,root) %{_datadir}/automake/config.guess
152 %attr(755,root,root) %{_datadir}/automake/config.sub
153 %attr(755,root,root) %{_datadir}/automake/config-ml.in
154 %attr(755,root,root) %{_datadir}/automake/depcomp
155 %attr(755,root,root) %{_datadir}/automake/elisp-comp
156 %attr(755,root,root) %{_datadir}/automake/install-sh
157 %attr(755,root,root) %{_datadir}/automake/mdate-sh
158 %attr(755,root,root) %{_datadir}/automake/missing
159 %attr(755,root,root) %{_datadir}/automake/mkinstalldirs
160 %attr(755,root,root) %{_datadir}/automake/py-compile
161 %attr(755,root,root) %{_datadir}/automake/symlink-tree
162 %attr(755,root,root) %{_datadir}/automake/ylwrap
This page took 0.053976 seconds and 2 git commands to generate.