# # spec file for package ax25-tools (Version 0.0.8) # # Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org # # Mutated for Fedora 8 et al. by Matti Aarnio, OH2MQK, 2007-November # ### TODO: move "man9" to be "man3" ! [oh2mqk] # norootforbuild # neededforbuild gpp libax25 libgpp # Not nearly this much, but I didn't want to determine the minimum set... [oh2mqk] # This compiles now successfully at Fedora8, and SuSE SLES 10.1. #BuildRequires: acl attr bash bison bzip2 coreutils cpio cpp cracklib diffutils e2fsprogs file filesystem findutils flex gawk gettext-devel glibc glibc-devel gpm grep groff gzip info libacl libattr libgcc libselinux libstdc++ m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools patch popt procps psmisc sed sysvinit unzip util-linux autoconf automake binutils gcc gettext libtool perl rpm Name: ax25-tools Url: http://ax25.sourceforge.net/ License: GPL Group: Productivity/Hamradio/Packet #Provides: ax25-tools ax25-utils Obsoletes: ax25tool Autoreqprov: on Version: 0.0.9 Release: 1 Summary: AX.25 tools Source: ax25-tools-%{version}.tar.bz2 #Patch: ax25-tools-%{version}.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description These are the support utilities required to make use of the internal AX.25, NET/ROM and Rose support in the linux kernel. The ax25tools are mostly configuration utilities, applications can be found in the package ax25apps. Authors: -------- Matti Aarnio OH2MQK Joerg Reuter DL1BKE Rob Mayfield VK5XXX Klaus Kudielka Alexander Tietzel DG6XA Tomi Manninen OH2BNS Frederic Rible F1OAT Heikki Hannikainen OH7LZB Thomas Sailer HB9JNX Dave Brown N2RJT John Paul Morrison VE7JPM David Brown N2RJT Craig Small VK2XLZ Jonathon Naylor G4KLX %package x11 Summary: AX25-Tools subset using X11 graphics instead of command-line or curses #Requires: %{name} = %{version}-%{release} Group: Productivity/Hamradio/Packet/Graphical %description x11 Some Ax.25 tools use X11 graphics, this is separated package in order to clean the main body of that big runtime library dependency. %prep #%setup -n ax25-tools-%{version} #%patch %setup -q %build aclocal automake --add-missing autoconf HARDWARE=`uname -m` export CFLAGS="$RPM_OPT_FLAGS" ./configure --enable-shared --enable-static --prefix= --exec-prefix= \ --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec \ --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var \ --libdir=/usr/%_lib --includedir=/usr/include --infodir=/usr/info \ --mandir=%{_mandir} \ CC="gcc" AFLAGS="--noexecstack" LDFLAGS="-z noexecstack" #autoreconf --force --install #yes | CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=/usr \ # --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin \ # --libexecdir=/usr/libexec --datadir=/usr/share \ # --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib \ # --includedir=/usr/include --infodir=%{_infodir} \ # --mandir=%{_mandir} %{_target_cpu}-suse-linux make %install rm -fr $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT make installconf DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/var/lib/ax25/mheard # remove unpackaged files rm -f $RPM_BUILD_ROOT/var/ax25/mheard/mheard.dat rm -rf $RPM_BUILD_ROOT/usr/share/doc/ax25-tools %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README yamdrv/README.yamdrv %doc dmascc/README.dmascc user_call/README.user_call tcpip/ttylinkd.INSTALL #%doc tcpip/ttylinkd.README %dir /etc/ax25 %dir /var/ax25 %dir /var/ax25/mheard %config(noreplace) /etc/ax25/ax25.profile %config(noreplace) /etc/ax25/ax25d.conf %config(noreplace) /etc/ax25/axspawn.conf %config(noreplace) /etc/ax25/nrbroadcast %config(noreplace) /etc/ax25/rip98d.conf %config(noreplace) /etc/ax25/rxecho.conf %config(noreplace) /etc/ax25/ttylinkd.conf /usr/bin/mheard /usr/bin/sethdlc /usr/bin/smmixer /usr/sbin/ax25_call /usr/sbin/ax25d /usr/sbin/axctl /usr/sbin/axparms /usr/sbin/axspawn /usr/sbin/beacon /usr/sbin/bpqparms /usr/sbin/dmascc_cfg /usr/sbin/kissattach /usr/sbin/kissnetd /usr/sbin/kissparms /usr/sbin/mcs2h /usr/sbin/mheardd /usr/sbin/mkiss /usr/sbin/net2kiss /usr/sbin/netrom_call /usr/sbin/netromd /usr/sbin/nodesave /usr/sbin/nrattach /usr/sbin/nrparms /usr/sbin/nrsdrv /usr/sbin/rip98d /usr/sbin/rose_call /usr/sbin/rsattach /usr/sbin/rsdwnlnk /usr/sbin/rsmemsiz /usr/sbin/rsparms /usr/sbin/rsuplnk /usr/sbin/rsusers.sh /usr/sbin/rxecho /usr/sbin/spattach /usr/sbin/tcp_call /usr/sbin/ttylinkd /usr/sbin/yamcfg %doc %{_mandir}/man1/dmascc_cfg.1.gz %doc %{_mandir}/man1/mheard.1.gz %doc %{_mandir}/man4/ax25.4.gz %doc %{_mandir}/man4/netrom.4.gz %doc %{_mandir}/man4/rose.4.gz %doc %{_mandir}/man5/ax25d.conf.5.gz %doc %{_mandir}/man5/axspawn.conf.5.gz %doc %{_mandir}/man5/nrbroadcast.5.gz %doc %{_mandir}/man5/rip98d.conf.5.gz %doc %{_mandir}/man5/rxecho.conf.5.gz %doc %{_mandir}/man5/ttylinkd.conf.5.gz %doc %{_mandir}/man8/ax25_call.8.gz %doc %{_mandir}/man8/ax25d.8.gz %doc %{_mandir}/man8/axctl.8.gz %doc %{_mandir}/man8/axparms.8.gz %doc %{_mandir}/man8/axspawn.8.gz %doc %{_mandir}/man8/beacon.8.gz %doc %{_mandir}/man8/bpqparms.8.gz %doc %{_mandir}/man8/kissattach.8.gz %doc %{_mandir}/man8/kissnetd.8.gz %doc %{_mandir}/man8/kissparms.8.gz %doc %{_mandir}/man8/mheardd.8.gz %doc %{_mandir}/man8/mkiss.8.gz %doc %{_mandir}/man8/net2kiss.8.gz %doc %{_mandir}/man8/netrom_call.8.gz %doc %{_mandir}/man8/netromd.8.gz %doc %{_mandir}/man8/nodesave.8.gz %doc %{_mandir}/man8/nrattach.8.gz %doc %{_mandir}/man8/nrparms.8.gz %doc %{_mandir}/man8/nrsdrv.8.gz %doc %{_mandir}/man8/rip98d.8.gz %doc %{_mandir}/man8/rose_call.8.gz %doc %{_mandir}/man8/rsattach.8.gz %doc %{_mandir}/man8/rsdwnlnk.8.gz %doc %{_mandir}/man8/rsparms.8.gz %doc %{_mandir}/man8/rsuplnk.8.gz %doc %{_mandir}/man8/rxecho.8.gz %doc %{_mandir}/man8/sethdlc.8.gz %doc %{_mandir}/man8/smmixer.8.gz %doc %{_mandir}/man8/spattach.8.gz %doc %{_mandir}/man8/tcp_call.8.gz %doc %{_mandir}/man8/ttylinkd.8.gz %doc %{_mandir}/man9/baycom.9.gz %doc %{_mandir}/man9/hdlcdrv.9.gz %doc %{_mandir}/man9/soundmodem.9.gz %files x11 /usr/bin/smdiag %doc %{_mandir}/man8/smdiag.8.gz %changelog -n ax25-tools * Fri Jan 11 2008 - oh2mqk@sral.fi - Pulling configuration to level of 2007... and having it work at Fedora8 as well as at SuSE SLES 10.1 * Thu Sep 30 2004 - jreuter@suse.de - setting signal handler for SIGCHLD to avoid /bin/login looping. (#46558) - adding perform tx packet fragmentation as kernel AX.25 of kernel 2.6.x dropped auto-fragmentation. (#46558) * Sat Apr 10 2004 - aj@suse.de - Remove kernel-source dependency. * Sat Jan 10 2004 - adrian@suse.de - add %%defattr * Tue Jun 17 2003 - ro@suse.de - use buildroot - fix filelist / remove unpackaged files * Tue Feb 04 2003 - ro@suse.de - /var/ax25 -> /var/lib/ax25 * Thu Dec 05 2002 - jreuter@suse.de - renamed package to ax25-tools - bzip2-compressed source * Mon Feb 11 2002 - jreuter@suse.de - upgrade to version 0.0.8: numerous bug fixes * Tue Jan 15 2002 - ro@suse.de - use kernel-source in neededforbuild (lx_sus22 is dropped) * Fri Mar 02 2001 - ro@suse.de - use doc macro - dmascc is not built (not in 2.4 sources) - fix to compile (sockaddr/osockaddr) * Thu Nov 30 2000 - jreuter@suse.de - changed group to Applications/Hamradio * Tue Nov 21 2000 - ro@suse.de - use 2.2 kernel to compile * Wed Nov 08 2000 - sim@suse.de - changed group to Applications/Communications * Fri Jun 23 2000 - sim@suse.de - in ax25/bpqparms.c changed #include to * Sun Jun 18 2000 - ro@suse.de - added suse_update_config * Tue Jun 06 2000 - ka@suse.de - update to version 0.0.6 - fixed entries in file list %%{_defaultdocdir} - added/fixed several spec file entries (Copyright, Group, URL) - used more macros in spec file - removed setcrystal from file list and added sethdlc and smmixer - added several READMEs to doc file list - do not overwrite config file during update (%%config(noreplace)) * Fri Jun 02 2000 - bubnikv@suse.cz - added README.yamdrv to filelist * Thu May 25 2000 - ro@suse.de - move docs to /usr/share/doc * Wed Feb 09 2000 - sim@suse.de - fix for ppc (don't compile setcrystal) * Wed Feb 02 2000 - kukuk@suse.de - fix for SPARC (don't compile setcrystal) * Fri Jan 21 2000 - ro@suse.de - fixed to compile, man to /usr/man using macro * Fri Oct 22 1999 - ka@suse.de - added "make installconf" to specfile - created directory /var/ax25/mheard during install - added missing values to configure call - added nrparms patch from Tomi, OH2BNS * Thu Sep 16 1999 - ka@suse.de - update to version 0.0.5 * Mon Sep 13 1999 - bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Thu Aug 12 1999 - ka@suse.de - more detailed configure call * Tue Jul 13 1999 - ka@suse.de - update to version 0.0.3 * Tue Jul 06 1999 - ka@suse.de - changed spec file to build on alpha * Wed Jun 23 1999 - ro@suse.de - added libax25 to neededforbuild * Fri Jun 11 1999 - ka@suse.de - initial release of new sources for kernel 2.2.x - original package ax25util was divided into ax25apps and ax25tool * Wed May 19 1999 - ro@suse.de - re-added patch to apps/call.c * Tue May 18 1999 - ka@suse.de - added patch for procutils.c * Tue May 04 1999 - ro@suse.de - rebuilt diff - patched to build with glibc-2.1 and on alpha - rspfd can't work on alpha yet due to inline asm * Mon Mar 15 1999 - ro@suse.de - renamed subpackage to ax25dev * Fri Mar 12 1999 - ka@suse.de - added sample configuration files to /etc/ax25/ * Thu Mar 11 1999 - ka@suse.de - initial release