License: GPL
Source0: http://www.erikyyy.de/erikyyyphone/%{name}-%{version}.tar.gz
Patch0: %{name}-make.patch
+BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libgsm-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%patch0 -p1
%build
-aclocal
+rm -f missing
+%{__aclocal}
+%{__autoconf}
%{__automake}
CPPFLAGS="-I%{_includedir}/ncurses" ; export CPPFLAGS
%configure
%install
rm -rf $RPM_BUILD_ROOT
-gzip -9nf AUTHORS README TODO
-
%{__make} install DESTDIR=$RPM_BUILD_ROOT
%clean
%files
%defattr(644,root,root,755)
-%doc {AUTHORS,README,TODO}.gz
+%doc AUTHORS README TODO
%attr(755,root,root) %{_bindir}/*