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