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