]> git.pld-linux.org Git - packages/autoconf.git/blob - autoconf.spec
update to 2.14.1
[packages/autoconf.git] / autoconf.spec
1 Summary:        GNU autoconf - source configuration tools
2 Summary(pl):    GNU autoconf - narzêdzie do automatycznego konfigurowania ¼róde³
3 Name:           autoconf
4 Version:        2.14.1
5 Release:        1
6 Copyright:      GPL
7 Group:          Development/Building
8 Group(pl):      Programowanie/Budowanie
9 Source:         ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.bz2
10 Patch0:         autoconf-tmprace.patch
11 Patch1:         autoconf-info.patch
12 Patch2:         autoconf-mawk.patch
13 Patch3:         autoconf-man.patch
14 Patch4:         autoconf-notmp.patch
15 Patch5:         autoconf-pinard.patch
16 Patch6:         autoconf-fhs.patch
17 Requires:       gawk
18 Requires:       m4
19 Requires:       mktemp
20 Prereq:         /sbin/install-info
21 BuildRoot:      /tmp/%{name}-%{version}-root
22 Buildarch:      noarch
23
24 %description
25 GNU's "autoconf" is a tool for source and Makefile configuration. It
26 assists the programmer in creating portable and configurable packages, by
27 allowing the person building the package to specify various configuration
28 options. 
29
30 "autoconf" is not required for the end user - it is needed only to
31 generate the configuration scripts. 
32
33 %description -l pl
34 GNU autoconf jest narzêdziem wykorzystywanym do automatycznego
35 konfigurowania kodów ¼ród³owych pakietów programów oraz do generowania na
36 podstawie automatycznie rozoznanego ¶rodowiska plików Makefile i innch
37 zale¿nych od zawarto¶ci systemu w którym ma przebiegaæ proces kompilacji.
38 Pomaga programi¶cie w konfigurowaniu i tworzeniu opragramowania daj±cego siê
39 przenie¶æ na ró¿ne platformy. Umo¿liwia wybór wielu opcji podczas procesu
40 przygotowania do kompilacji.
41
42 GNU autoconf nie jest generalnie potrzebny dla u¿ytkownika koñcowego, a
43 tylko podczas generowania samych skryptów autokonfiguracyjnych.
44  
45 %prep
46 %setup -q
47 %patch0 -p1
48 %patch1 -p1
49 %patch2 -p1
50 %patch3 -p1
51 %patch4 -p1
52 %patch5 -p1
53 %patch6 -p1
54
55 %build
56 ./configure \
57         --prefix=%{_prefix} \
58         --infodir=%{_infodir} \
59         --mandir=%{_mandir}
60 make datadir=%{_libdir}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_infodir},%{_mandir}/man1}
65
66 make install \
67         prefix=$RPM_BUILD_ROOT%{_prefix} \
68         datadir=$RPM_BUILD_ROOT%{_libdir} \
69         infodir=$RPM_BUILD_ROOT%{_infodir} \
70         mandir=$RPM_BUILD_ROOT%{_mandir} \
71 install install-sh $RPM_BUILD_ROOT%{_libdir}/autoconf
72
73 install {autoconf,autoheader,autoreconf,autoscan,autoupdate,ifnames}.1 \
74         $RPM_BUILD_ROOT%{_mandir}/man1
75
76 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/autoconf.info* \
77         $RPM_BUILD_ROOT%{_mandir}/man1/*
78
79 %post
80 /sbin/install-info %{_infodir}/autoconf.info.gz /etc/info-dir
81
82 %preun
83 if [ "$1" = "0" ]; then
84         /sbin/install-info --del %{_infodir}/autoconf.info.gz /etc/info-dir
85 fi
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_bindir}/*
93
94 %{_infodir}/autoconf.info*
95 %{_mandir}/man1/*
96
97 %{_libdir}/autoconf
This page took 0.042793 seconds and 4 git commands to generate.