Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:RedDwarf
ns3-dce
ns-3-dce.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ns-3-dce.spec of Package ns3-dce
# # spec file for package ns3 # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: ns-3-dce Version: 1.3 Release: 0 Summary: POSIX and kernel stack implementation on NS-3 License: GPL-2.0 Group: Productivity/Scientific/Other Url: http://www.nsnam.org/overview/projects/direct-code-execution/ Source0: ns-3-dce-%{version}.tar.bz2 Source1: https://raw.github.com/thehajime/net-next-sim/sim-ns3-dev-branch/arch/sim/include/sim-init.h Source2: https://raw.github.com/thehajime/net-next-sim/sim-ns3-dev-branch/arch/sim/include/sim-types.h Patch0: ns-3-dce-1.0-secure_getenv.patch Patch1: ns-3-dce-1.2-no_install_examples.patch Patch2: ns-3-dce-1.2-libdir.patch Patch3: ns-3-dce-1.2-ns3_pkg_config.patch Patch4: ns-3-dce-1.0-no_return.patch BuildRequires: python-base BuildRequires: c++_compiler BuildRequires: pkg-config BuildRequires: pkgconfig(libns3-core) %description Framework for ns-3 that provides facilities to execute, within ns-3, existing implementations of userspace and kernelspace network protocols or applications without source code changes. %package devel Summary: POSIX and kernel stack implementation on NS-3 Group: Productivity/Scientific/Other Requires: %{name} = %{version} %description devel Framework for ns-3 that provides facilities to execute, within ns-3, existing implementations of userspace and kernelspace network protocols or applications without source code changes. %prep %setup -q %patch0 %patch1 %patch2 %patch3 %patch4 mkdir -p fake/sim/include # The wscript's configure checks for sim.h even if sim-init.h is the one used touch fake/sim/include/sim.h cp %{S:1} fake/sim/include/ cp %{S:2} fake/sim/include/ %build # libns3-dce.so <-> libns3-netlink.so dependency export REDDWARF_ALLOWSHAREDUNDEFINED=1 export CFLAGS="${CFLAGS:-%{optflags}}" export CXXFLAGS="${CXXFLAGS:-%{optflags}}" ./waf configure --prefix=%{_prefix} \ --libdir=%{_libdir} \ --disable-examples \ --disable-tests \ --enable-mpi \ --enable-kernel-stack=$PWD/fake ./waf %{?jobs:-j%jobs} -v %install ./waf install --destdir=%{buildroot} %files %defattr(0644, root, root, 0755) %{_libdir}/libns3-*.so %{_libdir}/lib*-ns3.so %files devel %defattr(0644, root, root, 0755) %{_includedir}/ns3/ %{_libdir}/pkgconfig/libns3*.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor