]> 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:        2017.09.28
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:  1bfea2828cf204d46dcc748cce79ae4b
10 Patch0:         %{name}-info.patch
11 URL:            http://www.gnu.org/software/autoconf-archive/
12 BuildRequires:  tar >= 1:1.22
13 BuildRequires:  texinfo
14 BuildRequires:  xz
15 # max of AC_PREREQ from ax_*.m4
16 Requires:       autoconf >= 2.69
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 The GNU Autoconf Archive is a collection of more than 500 macros for
22 GNU Autoconf that have been contributed as free software by friendly
23 supporters of the cause from all over the Internet.
24
25 %description -l pl.UTF-8
26 GNU Autoconf Archive to zbiór ponad 500 makr dla GNU Autoconfa,
27 przekazanych jako oprogramowanie wolnodostępne przez przyjaznych
28 przypadkowych wspierających z całego Internetu.
29
30 %prep
31 %setup -q
32 %patch0 -p1
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
44 # remove dir file which will be generated by /sbin/install-info
45 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
46 # document files are installed another location
47 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %post   -p /sbin/postshell
53 -/usr/sbin/fix-info-dir -c %{_infodir}
54
55 %postun -p /sbin/postshell
56 -/usr/sbin/fix-info-dir -c %{_infodir}
57
58 %files
59 %defattr(644,root,root,755)
60 %doc AUTHORS COPYING.EXCEPTION ChangeLog NEWS README TODO
61 %{_aclocaldir}/ax_*.m4
62 %{_infodir}/autoconf-archive.info*
This page took 0.0954970000000001 seconds and 3 git commands to generate.