Source0: ftp://ftp.tty0.org/pub/fags/%{name}-%{version}.tar.gz
Patch0: %{name}-config_dir.patch
URL: http://www.tty0.org/page/fags/
+BuildRequires: autoconf
+BuildRequires: automake
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%patch0 -p1
%build
-aclocal
+%{__aclocal}
%{__automake}
%{__autoconf}
%configure
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog INSTALL NEWS README TODO doc/*
%attr(755,root,root) %{_bindir}/*
-%{_mandir}/*
+%{_mandir}/man?/*