File tahi-linux.spec of Package tahi-linux
Name: tahi-linux
%define _unpackaged_files_terminate_build 0
License: GPL
# Group: System/Benchmark
Group: SuSE internal
%if 0%{?opensuse_bs}
BuildRequires: gcc make openssl-devel openssl perl uucp libpcap libpcap-devel gcc-c++ libopenssl-devel
%else
# in sle10-sp2 there are no libpcap-devel and libopenssl-devel
BuildRequires: gcc make openssl-devel openssl perl uucp libpcap libpcap gcc-c++
%endif
Autoreqprov: on
Summary: Kernel test suite, IPv6, TAHI for SUSE Linux
URL: http://www.tahi.org/
Version: 3.0.12
Release: 0
Source0: %{name}-%{version}.tar.bz2
Patch0: v6eval-3.0.12-linux.patch
Patch1: ct-2.1.1-linux.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This project offers a IPv6 implementation conformance test harness. With that you can define the packages to be sent and to received.
Autors:
-------
Original BSD version:
The University of Tokyo
YDC Corp.
Yokogawa Electric Corp.
Updated Linux patch:
Patrick Kirsch <pkirsch@suse.de>
%package devel
Summary: Kernel test suite, IPv6, TAHI for SUSE Linux
# Group: System/Benchmark
Group: SuSE internal
%description devel
This project offers a IPv6 implementation conformance test harness. With that you can define the packages to be sent and to received.
Autors:
-------
Original BSD version:
The University of Tokyo
YDC Corp.
Yokogawa Electric Corp.
Updated Linux patch:
Patrick Kirsch <pkirsch@suse.de>
%prep
%setup
%patch0 -p1
%patch1
%build
%install
install -d -m 755 %{buildroot}/usr/lib/v6eval
install -d -m 755 %{buildroot}/usr/lib/v6eval/lib
install -d -m 755 %{buildroot}/usr/lib/v6eval/etc
install -d -m 755 %{buildroot}/usr/lib/v6eval/bin
install -d -m 755 %{buildroot}/usr/lib/v6eval/ct-2.1.1
install -d -m 755 %{buildroot}/usr/lib/v6eval/include
install -d -m 755 %{buildroot}/usr/lib/v6eval/sample
install -d -m 755 %{buildroot}/usr/lib/v6eval/sample_stddef
install -d -m 755 %{buildroot}/usr/lib/v6eval/scripts
# install -m 755 %{buildroot}/usr/lib/v6eval
cp -a 00README 00README.ct 00README.v6eval bin CHANGELOG CHANGELOG.ct CHANGELOG.v6eval COPYRIGHT ct-2.1.1 etc include INSTALL INSTALL.ct INSTALL.dummies INSTALL.v6eval Makefile pcap-bpf.h sample sample_stddef script lib %{buildroot}/usr/lib/v6eval/
%files
%defattr(-,root,root)
/usr/lib/v6eval/
%exclude /usr/lib/v6eval/lib
%files devel
%defattr(-,root,root)
/usr/lib/v6eval/lib/
#%doc README
%clean
rm -rf %{buildroot}
%changelog -n tahi-linux
* Fri Dec 14 2007 - pkirsch@suse.de
- initial package