]> git.pld-linux.org Git - packages/ax25-tools.git/blobdiff - ax25-tools.spec
- rel 6
[packages/ax25-tools.git] / ax25-tools.spec
index 61f1d6bb682fe4f75bdd65e5d359ec0c59a3603b..4415d75f00a04abcc1c660794639c24b47bc5a81 100644 (file)
@@ -1,21 +1,27 @@
-# TODO: FHS (/var/ax25 -> /var/lib/ax25(?))
 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://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.
@@ -25,14 +31,22 @@ 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} install installconf \
        DESTDIR=$RPM_BUILD_ROOT
@@ -53,5 +67,4 @@ rm -rf $RPM_BUILD_ROOT
 %docdir %{_docdir}/ax25-tools
 %dir %{_docdir}/ax25-tools
 %{_mandir}/man[14589]/*
-# NOT FHS-compliant
-/var/ax25/*
+%{_localstatedir}/ax25/*
This page took 0.050109 seconds and 4 git commands to generate.