]>
Commit | Line | Data |
---|---|---|
ab8971fb | 1 | Summary: The Autoconf Macro Archive |
c5b20586 | 2 | Summary(pl.UTF-8): Archiwum makr Autoconfa |
ab8971fb | 3 | Name: autoconf-archive |
7d2dd6fd | 4 | Version: 2019.01.06 |
ab8971fb ER |
5 | Release: 1 |
6 | License: GPL v3+ with exceptions | |
7 | Group: Development/Tools | |
8 | Source0: http://ftp.gnu.org/gnu/autoconf-archive/%{name}-%{version}.tar.xz | |
7d2dd6fd | 9 | # Source0-md5: d46413c8b00a125b1529bae385bbec55 |
c5b20586 | 10 | Patch0: %{name}-info.patch |
ab8971fb ER |
11 | URL: http://www.gnu.org/software/autoconf-archive/ |
12 | BuildRequires: tar >= 1:1.22 | |
c5b20586 | 13 | BuildRequires: texinfo |
ab8971fb | 14 | BuildRequires: xz |
c5b20586 | 15 | # max of AC_PREREQ from ax_*.m4 |
77bafdd1 | 16 | Requires: autoconf >= 2.69 |
ab8971fb ER |
17 | BuildArch: noarch |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
cbd6e2e1 | 21 | The GNU Autoconf Archive is a collection of more than 500 macros for |
ab8971fb ER |
22 | GNU Autoconf that have been contributed as free software by friendly |
23 | supporters of the cause from all over the Internet. | |
24 | ||
c5b20586 | 25 | %description -l pl.UTF-8 |
cbd6e2e1 | 26 | GNU Autoconf Archive to zbiór ponad 500 makr dla GNU Autoconfa, |
c5b20586 JB |
27 | przekazanych jako oprogramowanie wolnodostępne przez przyjaznych |
28 | przypadkowych wspierających z całego Internetu. | |
29 | ||
ab8971fb ER |
30 | %prep |
31 | %setup -q | |
c5b20586 | 32 | %patch0 -p1 |
ab8971fb ER |
33 | |
34 | %build | |
35 | %configure | |
36 | %{__make} | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | %{__make} install \ | |
41 | INSTALL="install -p" \ | |
42 | DESTDIR=$RPM_BUILD_ROOT | |
43 | ||
7d2dd6fd JB |
44 | # packaged as %doc |
45 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/autoconf-archive | |
46 | ||
ab8971fb ER |
47 | # remove dir file which will be generated by /sbin/install-info |
48 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir | |
ab8971fb ER |
49 | |
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %post -p /sbin/postshell | |
54 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
55 | ||
56 | %postun -p /sbin/postshell | |
57 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
c5b20586 JB |
61 | %doc AUTHORS COPYING.EXCEPTION ChangeLog NEWS README TODO |
62 | %{_aclocaldir}/ax_*.m4 | |
ab8971fb | 63 | %{_infodir}/autoconf-archive.info* |