- changed man patch to not modify makefile.am
- added installing man pages
Changed files:
automake.spec -> 1.57
-# _without_man - without man pages (use if you don't have automake >= 1.4b installed)
%include /usr/lib/rpm/macros.perl
Summary: GNU automake - Makefile configuration tools
Summary(de): GNU automake - Makefile-Konfigurationstools
%include /usr/lib/rpm/macros.perl
Summary: GNU automake - Makefile configuration tools
Summary(de): GNU automake - Makefile-Konfigurationstools
%prep
%setup -q
#%patch0 -p1
%prep
%setup -q
#%patch0 -p1
-%{!?_without_man:%patch1 -p1}
-%{!?_without_man:rm -f missing}
aclocal
autoconf
%configure
aclocal
autoconf
%configure
%{__make} install DESTDIR=$RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+install aclocal.1 automake.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
gzip -9nf AUTHORS ChangeLog NEWS README THANKS TODO
%post
gzip -9nf AUTHORS ChangeLog NEWS README THANKS TODO
%post
%{_infodir}/automake*
%{_aclocaldir}
%{_infodir}/automake*
%{_aclocaldir}
-%{!?_without_man:%{_mandir}/man1/*}
%dir %{_datadir}/automake
%{_datadir}/automake/am
%dir %{_datadir}/automake
%{_datadir}/automake/am