summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Heidelberg <david@ixit.cz>2017-08-02 15:55:53 +0200
committerDavid Heidelberg <david@ixit.cz>2017-08-02 15:58:48 +0200
commit8a6b6fee64b070fba82aa9530198d2581431eb23 (patch)
tree09379fc219f3c1deb3fb114b34755f2b87fdc471
parent919bc1f628aba58b675ad5647096ca5e8b924f91 (diff)
downloadiputils-8a6b6fee64b070fba82aa9530198d2581431eb23.tar.gz
remove iputils.spec
At this moment, there is no known user of this file. Later, Meson build system should be able generate file based on meson.build file. Signed-off-by: David Heidelberg <david@ixit.cz>
-rw-r--r--Makefile2
-rw-r--r--iputils.spec99
2 files changed, 0 insertions, 101 deletions
diff --git a/Makefile b/Makefile
index 3a4198e..b334ce5 100644
--- a/Makefile
+++ b/Makefile
@@ -244,8 +244,6 @@ snapshot:
@echo >> RELNOTES.NEW
@cat RELNOTES >> RELNOTES.NEW
@mv RELNOTES.NEW RELNOTES
- @sed -e "s/^%define ssdate .*/%define ssdate $(DATE)/" iputils.spec > iputils.spec.tmp
- @mv iputils.spec.tmp iputils.spec
@echo "#define SNAPSHOT \"$(TAG)\"" > SNAPSHOT.h
@$(MAKE) -C doc snapshot
@$(MAKE) man
diff --git a/iputils.spec b/iputils.spec
deleted file mode 100644
index 62dcfed..0000000
--- a/iputils.spec
+++ /dev/null
@@ -1,99 +0,0 @@
-#
-# This spec file is for _testing_.
-#
-
-%define ssdate 20161105
-%define srcbase iputils%{!?current:-s%{ssdate}}
-
-Summary: The ping program for checking to see if network hosts are alive.
-Name: iputils
-Version: %{ssdate}%{?current:+}
-Release: 1local
-License: GPLv2+
-Group: System Environment/Daemons
-Source0: %{srcbase}.tar.bz2
-Prefix: %{_prefix}
-BuildRoot: %{_tmppath}/%{name}-root
-#BuildPrereq: docbook-dtd31-sgml, perl
-Requires: kernel >= 2.4.7
-
-%description
-The iputils package contains ping, a basic networking tool. The ping
-command sends a series of ICMP protocol ECHO_REQUEST packets to a
-specified network host and can tell you if that machine is alive and
-receiving network traffic.
-
-%prep
-%setup -q -n %{srcbase}
-
-%build
-make
-(
- cd ninfod
- %configure
- make
-)
-make man
-make html
-
-%install
-rm -fr ${RPM_BUILD_ROOT}
-mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
-mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-
-install -c clockdiff ${RPM_BUILD_ROOT}%{_sbindir}/
-install -cp arping ${RPM_BUILD_ROOT}%{_sbindir}/
-install -cp ping ${RPM_BUILD_ROOT}%{_bindir}/
-install -cp rdisc ${RPM_BUILD_ROOT}%{_sbindir}/
-install -cp ping6 ${RPM_BUILD_ROOT}%{_bindir}/
-install -cp tracepath ${RPM_BUILD_ROOT}%{_bindir}/
-install -cp tracepath6 ${RPM_BUILD_ROOT}%{_bindir}/
-install -cp ninfod/ninfod ${RPM_BUILD_ROOT}%{_sbindir}/
-
-mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
-ln -sf ../bin/ping6 ${RPM_BUILD_ROOT}%{_sbindir}
-ln -sf ../bin/tracepath ${RPM_BUILD_ROOT}%{_sbindir}
-ln -sf ../bin/tracepath6 ${RPM_BUILD_ROOT}%{_sbindir}
-
-mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
-install -cp doc/clockdiff.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
-install -cp doc/arping.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
-install -cp doc/ping.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
-install -cp doc/rdisc.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
-install -cp doc/tracepath.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
-install -cp doc/ninfod.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
-ln -s ping.8.gz ${RPM_BUILD_ROOT}%{_mandir}/man8/ping6.8.gz
-ln -s tracepath.8.gz ${RPM_BUILD_ROOT}%{_mandir}/man8/tracepath6.8.gz
-
-iconv -f ISO88591 -t UTF8 RELNOTES -o RELNOTES.tmp
-touch -r RELNOTES RELNOTES.tmp
-mv -f RELNOTES.tmp RELNOTES
-
-%clean
-rm -rf ${RPM_BUILD_ROOT}
-
-%files
-%doc RELNOTES
-%attr(0755,root,root) %caps(cap_net_raw=ep) %{_sbindir}/clockdiff
-#%attr(4755,root,root) %{_sbindir}/clockdiff
-%attr(0755,root,root) %caps(cap_net_raw=ep) %{_sbindir}/arping
-#%attr(4755,root,root) %{_sbindir}/arping
-%attr(0755,root,root) %caps(cap_net_raw=ep cap_net_admin=ep) %{_bindir}/ping
-#%attr(4755,root,root) %{_bindir}/ping
-%attr(0755,root,root) %caps(cap_net_raw=ep cap_net_admin=ep) %{_bindir}/ping6
-#%attr(4755,root,root) %{_bindir}/ping6
-%{_sbindir}/rdisc
-%{_bindir}/tracepath
-%{_bindir}/tracepath6
-%{_sbindir}/ping6
-%{_sbindir}/tracepath
-%{_sbindir}/tracepath6
-%{_sbindir}/ninfod
-%attr(644,root,root) %{_mandir}/man8/*
-
-%changelog
-* Fri Nov 30 2012 YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
- Partically sync with current Fedora's specfile.
-* Fri Feb 23 2001 Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
- Taken iputils rpm from ASPLinux-7.2 as pattern.