head 1.9;
access;
symbols
OPENPKG_E1_MP_HEAD:1.6
OPENPKG_E1_MP:1.6
OPENPKG_E1_MP_2_STABLE:1.5.2.2
OPENPKG_E1_FP:1.5.2.2
OPENPKG_2_STABLE_MP:1.5
OPENPKG_2_STABLE_20061018:1.5.2.2
OPENPKG_2_STABLE:1.5.0.2;
locks; strict;
comment @-- @;
1.9
date 2009.04.18.13.10.03; author rse; state Exp;
branches;
next 1.8;
commitid 4pHXU27WTIGCZuKt;
1.8
date 2008.01.01.14.53.21; author rse; state Exp;
branches;
next 1.7;
commitid B8esaHJHoduuKILs;
1.7
date 2007.05.26.17.17.38; author cs; state Exp;
branches;
next 1.6;
commitid Vr9Cz1pQBhKWGsjs;
1.6
date 2007.01.01.17.37.38; author rse; state Exp;
branches;
next 1.5;
commitid BicZD6VUl7GuqP0s;
1.5
date 2006.10.13.17.27.50; author thl; state Exp;
branches
1.5.2.1;
next 1.4;
commitid q5GSxzsSDX29XxQr;
1.4
date 2006.09.23.09.33.38; author rse; state Exp;
branches;
next 1.3;
commitid HIRZkVjPZ5ZZZVNr;
1.3
date 2006.09.18.14.47.56; author cs; state Exp;
branches;
next 1.2;
commitid o4qxvfA8KaROTjNr;
1.2
date 2006.09.18.06.04.36; author rse; state Exp;
branches;
next 1.1;
commitid Lx6yRFUBFsYg0hNr;
1.1
date 2006.09.17.20.21.41; author robert; state Exp;
branches;
next ;
commitid zKw9ZPncNAijMdNr;
1.5.2.1
date 2006.10.13.17.27.50; author rse; state dead;
branches;
next 1.5.2.2;
commitid iZxwRSmmWscPXUQr;
1.5.2.2
date 2006.10.16.14.49.46; author rse; state Exp;
branches;
next ;
commitid iZxwRSmmWscPXUQr;
desc
@@
1.9
log
@bump years in copyright messages
@
text
@##
## dynamips.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package information
Name: dynamips
Summary: Cisco 7200 Simulator
URL: http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
Vendor: F. Devaux, C. Fillot, MtvE
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: Emulator
License: GPL
Version: 0.2.7
Release: 20080101
# list of sources
Source0: http://www.ipflow.utc.fr/dynamips/dynamips-%{version}.tar.gz
Patch0: dynamips.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130, make
PreReq: OpenPKG, openpkg >= 20040130
BuildPreReq: libelf, libpcap
PreReq: libelf, libpcap
AutoReq: no
AutoReqProv: no
%description
DynaMIPS is a Cisco 7200 (and 3600) series hardware simulator. It
works by emulating the MIPS64 CPU sufficiently enough to run the
Cisco IOS. It requires a licensed Cisco IOS image and is intended
for training purposes only.
%track
prog dynamips = {
version = %{version}
url = http://www.ipflow.utc.fr/dynamips/
regex = dynamips-(\d+(\.\d+)+)\.tar\.gz
}
%prep
%setup -q
%patch -p0
%build
export CC="%{l_cc}"
export CFLAGS="%{l_cppflags}"
export PCAP_LIB="%{l_ldflags} -lpcap -lelf"
export DYNAMIPS_ARCH=nojit
case "%{l_platform -p}" in
ix86-* ) DYNAMIPS_ARCH=x86 ;;
amd64-* ) DYNAMIPS_ARCH=x86_64 ;;
esac
# simple hack cause of broken Makefile in 0.2.7
%{l_make} %{l_mflags -O} {mips64,ppc32}_microcode_dump.inc
%{l_make} %{l_mflags -O}
%install
rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin \
$RPM_BUILD_ROOT%{l_prefix}/man/man1
%{l_shtool} install -c -s -m 755 \
dynamips nvram_export $RPM_BUILD_ROOT%{l_prefix}/bin/
%{l_shtool} install -c -m 644 \
dynamips.1 nvram_export.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.8
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.7
log
@upgrading package: dynamips 0.2.5 -> 0.2.7
@
text
@d3 1
a3 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d35 1
a35 1
Release: 20070526
@
1.6
log
@Welcome Year 2007!
@
text
@d35 2
a36 2
Version: 0.2.5
Release: 20061013
d78 2
@
1.5
log
@new world order for "Packager" and "Distribution" headers
@
text
@d3 2
a4 2
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
@
1.5.2.1
log
@file dynamips.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:49:46 +0000
@
text
@d1 95
@
1.5.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 95
##
## dynamips.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package information
Name: dynamips
Summary: Cisco 7200 Simulator
URL: http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
Vendor: F. Devaux, C. Fillot, MtvE
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: Emulator
License: GPL
Version: 0.2.5
Release: 2.20061018
# list of sources
Source0: http://www.ipflow.utc.fr/dynamips/dynamips-%{version}.tar.gz
Patch0: dynamips.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 2.20061018, make
PreReq: OpenPKG, openpkg >= 2.20061018
BuildPreReq: libelf, libpcap
PreReq: libelf, libpcap
AutoReq: no
AutoReqProv: no
%description
DynaMIPS is a Cisco 7200 (and 3600) series hardware simulator. It
works by emulating the MIPS64 CPU sufficiently enough to run the
Cisco IOS. It requires a licensed Cisco IOS image and is intended
for training purposes only.
%track
prog dynamips = {
version = %{version}
url = http://www.ipflow.utc.fr/dynamips/
regex = dynamips-(\d+(\.\d+)+)\.tar\.gz
}
%prep
%setup -q
%patch -p0
%build
export CC="%{l_cc}"
export CFLAGS="%{l_cppflags}"
export PCAP_LIB="%{l_ldflags} -lpcap -lelf"
export DYNAMIPS_ARCH=nojit
case "%{l_platform -p}" in
ix86-* ) DYNAMIPS_ARCH=x86 ;;
amd64-* ) DYNAMIPS_ARCH=x86_64 ;;
esac
%{l_make} %{l_mflags -O}
%install
rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin \
$RPM_BUILD_ROOT%{l_prefix}/man/man1
%{l_shtool} install -c -s -m 755 \
dynamips nvram_export $RPM_BUILD_ROOT%{l_prefix}/bin/
%{l_shtool} install -c -m 644 \
dynamips.1 nvram_export.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.4
log
@adjust group
@
text
@d30 2
a31 2
Packager: OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release: 20060923
@
1.3
log
@do not track release candidates
@
text
@d33 1
a33 1
Group: Network
d36 1
a36 1
Release: 20060918
@
1.2
log
@use the Wiki page as the homepage; shorten the Vendor header; class can be EVAL as the packaging is ok; adjust style of library dependencies; add missing GNU make dependency; be more descriptive in %description; use 0-prefix/non-version-hardcoded patch; fix building under NOJIT; enable JIT on X86/AMD64 only; install manual pages, too
@
text
@d62 1
a62 1
regex = dynamips-(__VER__)\.tar\.gz
@
1.1
log
@new package: Cisco 7200 Simulator
@
text
@d28 2
a29 2
URL: http://www.ipflow.utc.fr/dynamips/
Vendor: Fabien Devaux, Christophe Fillot, MtvE
d32 1
a32 1
Class: JUNK
d36 1
a36 1
Release: 20060917
d45 4
a48 2
BuildPreReq: OpenPKG, openpkg >= 20040130, libelf, libpcap
PreReq: OpenPKG, openpkg >= 20040130, libelf, libpcap
d53 4
a56 1
dynamips is Cisco 7200 simulator.
d67 1
a67 1
%patch -p1
d70 8
a77 2
CFLAGS="%{l_cppflags}" \
PCAP_LIB="%{l_ldflags} %{l_prefix}/lib/libpcap.a" \
d82 3
a84 1
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/bin
d86 3
a88 4
dynamips $RPM_BUILD_ROOT%{l_prefix}/bin/
%{l_shtool} install -c -s -m 755 \
nvram_export $RPM_BUILD_ROOT%{l_prefix}/bin/
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
@