From: kloczek Date: Wed, 9 Oct 2002 13:14:21 +0000 (+0000) Subject: - use more macros, some cosmetics, added missing "rm -f missing" and use new %doc X-Git-Url: http://git.pld-linux.org/?p=packages%2Ferikyyyphone.git;a=commitdiff_plain;h=b3450e36aa24dcd75a039c152f5abb0619e80da8 - use more macros, some cosmetics, added missing "rm -f missing" and use new %doc Changed files: erikyyyphone.spec -> 1.10 --- diff --git a/erikyyyphone.spec b/erikyyyphone.spec index 2338785..783f22c 100644 --- a/erikyyyphone.spec +++ b/erikyyyphone.spec @@ -7,6 +7,7 @@ Group: Applications/Communications 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) @@ -22,7 +23,9 @@ G %patch0 -p1 %build -aclocal +rm -f missing +%{__aclocal} +%{__autoconf} %{__automake} CPPFLAGS="-I%{_includedir}/ncurses" ; export CPPFLAGS %configure @@ -31,8 +34,6 @@ CPPFLAGS="-I%{_includedir}/ncurses" ; export CPPFLAGS %install rm -rf $RPM_BUILD_ROOT -gzip -9nf AUTHORS README TODO - %{__make} install DESTDIR=$RPM_BUILD_ROOT %clean @@ -40,5 +41,5 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc {AUTHORS,README,TODO}.gz +%doc AUTHORS README TODO %attr(755,root,root) %{_bindir}/*