Summary: ax25 tools for hamradio
Summary(pl): Narzêdzia ax25 dla hamradio
Name: ax25-apps
-Version: 0.0.5
+Version: 0.0.6
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
-
+Source0: http://dl.sourceforge.net/ax25/%{name}-%{version}.tar.gz
+# Source0-md5: 47d9a775890f3694cf47659423a69ae5
+URL: http://ax25.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
BuildRequires: libax25-devel
+BuildRequires: libtool
+BuildRequires: ncurses-devel
BuildRequires: zlib-devel
+Requires: ax25-tools >= 0.0.8
+Requires: libax25 >= 0.0.9
+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}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+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
+%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
%files
%defattr(644,root,root,755)
+# note: ax25ipd/COPYING.ax25ipd contains notes other than GPL
+%doc AUTHORS ChangeLog NEWS README ax25*/{HISTORY,README}.ax25*
%{_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]/*