#Spec file for Ldsped %define name ldsped %define version 1.17 %define release 1 %define debug_package %{nil} Summary: AGWPE API interface to Linux ax.25 stack Name: %{name} Version: %{version} Release: %{release} Group: Applications/Communications License: GNU General Public License (GPL) Source: %{name}-%{version}.tgz URL: http://on7lds.net/42/node/17 Vendor: Lieven De Samblanx - ON7LDS Packager: David Ranch - KI6ZHD Distribution: RedHat Linux AutoReqProv: yes Provides: ldsped Requires: libax25-devel %description ldsped is a middleware that provides a AGW compatible AX.25 packet radio to TCP/IP interface on a Linux computer. This daemon also supports initiating APRS location beacons and responding to various APRS inqueries.i %prep rm -rf $RPM_BUILD_DIR/%{name}-%{version} %setup %build rm Makefile.in rm configure autoreconf autoheader rm aclocal.m4 aclocal automake --add-missing --gnu autoconf sed "s/-\${am__api_version}//" configure > configure.n mv configure configure.orig mv configure.n configure chmod 755 configure ./configure --localstatedir=/var make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT #this fails due to automake not using the MKDIR_P macro everywhere #make installconf DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/ax25 cp ldsped.conf.example $RPM_BUILD_ROOT/%{_sysconfdir}/ax25/ldsped.conf %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING INSTALL NEWS README %{_sbindir}/* %{_datadir}/* %config(noreplace) %{_sysconfdir}/ax25/ldsped.conf %clean %post %postun %changelog * Thu Nov 28 2013 David Ranch - 1.17-1 - Upgraded version, removed previous 1.16 patch files * Thu Sep 29 2013 David Ranch - 1.16-1 - Initial version