Name: ax25-apps
Version: 0.0.5
Release: 1
-License: LGPL
+License: GPL
Group: Applications/Communications
-Group(de): Applikationen/Kommunikation
-Group(pl): Aplikacje/Komunikacja
Source0: http://prdownloads.sourceforge.net/ax25/%{name}-%{version}.tar.gz
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-ExclusiveArch: %{ix86}
-Requires: glibc >= 2.2
-Requires: kernel >= 2.2.0
-Requires: libtool >= 1.4.2
-Requires: libax25 >= 0.0.9
-Requires: zlib >= 1.1.3
-Requires: ax25-tools >= 0.0.8
-
BuildRequires: libax25-devel
+BuildRequires: ncurses-devel
BuildRequires: zlib-devel
+Requires: libax25 >= 0.0.9
+Requires: ax25-tools >= 0.0.8
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Conflicts: kernel <= 2.2.0
%description
Applications to test our AX25 connects.
%setup -q
%build
-CPPFLAGS="-I%{_includedir}/ncurses"; export CPPFLAGS
-%configure2_13
+rm -f missing
+libtoolize --copy --force
+aclocal
+autoconf
+automake -a -c
+AM_CFLAGS="-I%{_includedir}/ncurses"; export AM_CFLAGS
+%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} DESTDIR=$RPM_BUILD_ROOT install installconf
-gzip -9nf $RPM_BUILD_ROOT%{_datadir}/doc/ax25-apps/*
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man5/*
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/*
+%{__make} install installconf \
+ DESTDIR=$RPM_BUILD_ROOT
-%clean
-rm -rf $RPM_BUILD_ROOT
+gzip -9nf AUTHORS ChangeLog NEWS README \
+ */{COPYING,HISTORY,README}*
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%clean
+rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%doc *.gz */*.gz
%{_sysconfdir}/ax25/*
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_sbindir}/*
-%docdir %{_docdir}/ax25-apps
-%dir %{_docdir}/ax25-apps
-%{_docdir}/ax25-apps/*.gz
-%{_mandir}/man[158]/*.gz
+%{_mandir}/man[158]/*