pkg://tnn-1.77.nk07-521.src.rpm:887342/tnn.spec
info downloads
#
# spec file for package tnn (Version 1.77.nk07)
#
# 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://www.suse.de/feedback/
#
# norootforbuild
# neededforbuild
BuildRequires: aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv klogd less libacl libattr libgcc libnscd libselinux libstdc++ libxcrypt libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt procinfo procps psmisc pwdutils rcs readline sed strace syslogd sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils gcc gdbm gettext libtool perl rpm
Name: tnn
Version: 1.77.nk07
Release: 521
License: Other License(s), see package
Group: Productivity/Hamradio/Packet
Autoreqprov: on
Summary: TheNetNode Portable Network Software
Source: tnn177.nk07.tar.bz2
Patch: tnn177.nk07.dif
URL: http://www.nordlink.org/eng/index.htm
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Digipeater-Software
%debug_package
%prep
%define tnn_path usr/local/src/tnn/177nk07/
%setup -c
cd %{tnn_path}
%patch -p1
%build
cd %{tnn_path}
%ifarch ppc ppc64 sparc s390 s390x mips
rm -rf contrib/output
%endif
make -f makefile
%install
rm -rf $RPM_BUILD_ROOT
cd %{tnn_path}
install -d $RPM_BUILD_ROOT{/usr/sbin/,/var/lib/}
TNNUSER=root DESTDIR=$RPM_BUILD_ROOT make -f makefile install
install -d $RPM_BUILD_ROOT/etc/tnn
install os/linux/ini/* $RPM_BUILD_ROOT/etc/tnn
mv $RPM_BUILD_ROOT/etc/tnn/{tnnini.all,tnn.ini}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc %{tnn_path}/alas.txt %{tnn_path}/doc/* %{tnn_path}/history/
/usr/sbin/tnn
/var/lib/tnn/
%dir /etc/tnn/
%config %attr(644, root, root) /etc/tnn/*
%changelog -n tnn
* Sun Feb 22 2004 - jreuter@suse.de
- don't compile contrib/output on ppc64, either
* Mon Feb 09 2004 - ro@suse.de
- removed p2c from neededforbuild
* Sun Jan 11 2004 - adrian@suse.de
- add %%defattr
* Thu Jun 06 2002 - ro@suse.de
- fix build on x86_64
* Wed Jul 04 2001 - ro@suse.de
- don't try to compile contrib/output on big-endian
* Thu Nov 30 2000 - jreuter@suse.de
- changed group to Networking/Hamradio
* Tue Nov 07 2000 - bubnikv@suse.cz
- updated to 1.77.nk07
* Tue Jun 27 2000 - schwab@suse.de
- Fix varargs bug.
* Wed May 17 2000 - bubnikv@suse.cz
- new version(1.77)
- added buildroot, spec file cleanup, added URL
- /var/tnn moved to /var/lib/tnn, added default configuration files
* Tue Feb 15 2000 - aj@suse.de
- Include sys/io.h only for i386.
* Tue Feb 08 2000 - ro@suse.de
- don't include asm/io.h when sys/io.h is included
* Mon Oct 25 1999 - ka@suse.de
- reworked spec file
* Sat Jun 12 1999 - ka@suse.de
- initial release