arptables/arptables.spec

Name: arptables
Summary: Userspace control program for the arptables network filter
Version: 0.0.3.2
Release: 1.2
License: GPL
Group: System Environment/Base
URL: http://ebtables.sourceforge.net/
Description: The arptables utility controls the arpfilter network packet filtering code in the Linux kernel. You do not need this program for normal network firewalling. If you need to manually control which arp requests and/or replies this machine accepts and sends, you should install this package.

CentOS 7 x86_64

The build could not start because the following file is missing: arptables-v0.0.3-2.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: arptables-v0.0.3-2.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

##ExclusiveDist: fc2 fc3
# ExcludeDist: el3

%define _sbindir /sbin
%define real_version 0.0.3-2

Summary: Userspace control program for the arptables network filter
Name: arptables
Version: 0.0.3.2
Release: 1.2%{?dist}
Group: System Environment/Base
License: GPL
URL: http://ebtables.sourceforge.net/

Source: http://dl.sf.net/ebtables/arptables-v%{real_version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

#BuildRequires:  kernel-source >= 2.6.0
Requires: kernel >= 2.6.0

%description
The arptables utility controls the arpfilter network packet
filtering code in the Linux kernel. You do not need this program
for normal network firewalling. If you need to manually control
which arp requests and/or replies this machine accepts and sends,
you should install this package.

%prep
%setup -n %{name}-v%{real_version}

%build
%{__make} %{?_smp_mflags} \
	COPT_FLAGS="%{optflags}"

%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0644 arptables.8 %{buildroot}%{_mandir}/man8/arptables.8
%{__install} -Dp -m0755 arptables %{buildroot}%{_sbindir}/arptables

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc %{_mandir}/man?/arptables.8*
%{_sbindir}/arptables

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.0.3.2-1.2
- Rebuild for Fedora Core 5.

* Thu Jul 22 2004 Dag Wieers <dag@wieers.com> - 0.0.3.2-1
- Initial package. (using DAR)