]>
Commit | Line | Data |
---|---|---|
ab8971fb ER |
1 | Summary: The Autoconf Macro Archive |
2 | Name: autoconf-archive | |
3 | Version: 2012.09.08 | |
4 | Release: 1 | |
5 | License: GPL v3+ with exceptions | |
6 | Group: Development/Tools | |
7 | Source0: http://ftp.gnu.org/gnu/autoconf-archive/%{name}-%{version}.tar.xz | |
8 | # Source0-md5: 670ca8a5d2d85437f034f0448ee9470d | |
9 | URL: http://www.gnu.org/software/autoconf-archive/ | |
10 | BuildRequires: tar >= 1:1.22 | |
11 | BuildRequires: xz | |
12 | Requires: autoconf | |
13 | BuildArch: noarch | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | The GNU Autoconf Archive is a collection of more than 450 macros for | |
18 | GNU Autoconf that have been contributed as free software by friendly | |
19 | supporters of the cause from all over the Internet. | |
20 | ||
21 | %prep | |
22 | %setup -q | |
23 | ||
24 | %build | |
25 | %configure | |
26 | %{__make} | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | %{__make} install \ | |
31 | INSTALL="install -p" \ | |
32 | DESTDIR=$RPM_BUILD_ROOT | |
33 | ||
34 | # remove dir file which will be generated by /sbin/install-info | |
35 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir | |
36 | # document files are installed another location | |
37 | rm -r $RPM_BUILD_ROOT%{_datadir}/%{name} | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %post -p /sbin/postshell | |
43 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
44 | ||
45 | %postun -p /sbin/postshell | |
46 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %doc AUTHORS COPYING* ChangeLog NEWS README TODO | |
51 | %{_aclocaldir}/*.m4 | |
52 | %{_infodir}/autoconf-archive.info* |