]> git.pld-linux.org Git - packages/ax25-tools.git/blobdiff - ax25-tools.spec
- rel 6
[packages/ax25-tools.git] / ax25-tools.spec
index 93b3747d187f4ab2f4531fb6b442604e44dab4b3..4415d75f00a04abcc1c660794639c24b47bc5a81 100644 (file)
@@ -2,18 +2,26 @@ Summary:      ax25 tools for hamradio
 Summary(pl):   Narzêdzia ax25 dla hamradio
 Name:          ax25-tools
 Version:       0.0.8
-Release:       3
+Release:       6
 License:       LGPL
 Group:         Applications/Communications
-Source0:       http://prdownloads.sourceforge.net/ax25/%{name}-%{version}.tar.gz
+Source0:       http://dl.sourceforge.net/ax25/%{name}-%{version}.tar.gz
+# Source0-md5: 70172b979b38a9434f21d2e8152f0d5e
+Patch0:                %{name}-soundmodem.patch
+Patch1:                %{name}-build.patch
+URL:           http://ax25.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: libax25-devel
 BuildRequires: zlib-devel
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Requires:      glibc >= 2.2
-Requires:      kernel >= 2.2.0
-Requires:      libtool >= 1.4.2
 Requires:      libax25 >= 0.0.9
 Requires:      zlib >= 1.1.3
+Conflicts:     kernel < 2.2.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define        _noautoreq      libfltk.so.1
+%define                _localstatedir  /var/lib
 
 %description
 Tools for start up ax25 protocol.
@@ -23,17 +31,25 @@ Narz
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
-%configure2_13
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       --without-x
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/var/ax25
+install -d $RPM_BUILD_ROOT%{_localstatedir}/ax25
 
-%{__make} DESTDIR=$RPM_BUILD_ROOT install installconf
-gzip -9nf $RPM_BUILD_ROOT%{_datadir}/doc/ax25-tools/*
+%{__make} install installconf \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -43,11 +59,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc dmascc/README.dmascc tcpip/ttylinkd.{README,INSTALL}
+%doc user_call/README.user_call
 %{_sysconfdir}/ax25/*
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_sbindir}/*
 %docdir %{_docdir}/ax25-tools
 %dir %{_docdir}/ax25-tools
-%{_docdir}/ax25-tools/*.gz
 %{_mandir}/man[14589]/*
-/var/ax25/*
+%{_localstatedir}/ax25/*
This page took 0.083052 seconds and 4 git commands to generate.