This is F17 feature: http://fedoraproject.org/wiki/Features/Ns3 We are a bit late on the schedule because of coordination with upstream regarding building with GCC 4.7. It should mostly work now. Since this is not an invasive change, it shouldn't be a problem. Package wise, ns-3 is a C++ library; aside from the fact that upstream requested versioned SONAMEs and packaging both debug and optimized libs, there is not much special stuff to see here. I would like some general comments on the approach and structure. I know that specfile isn't ready for inclusion since too much is commented out and it needs substantial cleanup; I'm aware of that, that's the easy part that I will do once I get green light on this approach to packaging. Be warned, since we are still packaging pre-relase stuff, the source code archive is quite large since it contains hg/bzr repodata. This will definitely be sorted out before inclusion. spec: http://inf2.ffri.hr/~vedranm/ns3fedora17/SPECS/ SRPM: http://inf2.ffri.hr/~vedranm/ns3fedora17/SRPMS/ x86_64 RPM: http://inf2.ffri.hr/~vedranm/ns3fedora17/RPMS/x86_64/
Above links are broken. As no SRPM is available, I've downloaded the ns3 spec file from the F17 feature page and the source code mentioned in the spec file. The rpmbuild fails: (...) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libcairo.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgsl.so.0()(64bit) libgslcblas.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libm.so.6()(64bit) libns3.14-antenna-optimized.so()(64bit) libns3.14-aodv-optimized.so()(64bit) libns3.14-applications-optimized.so()(64bit) libns3.14-bridge-optimized.so()(64bit) libns3.14-buildings-optimized.so()(64bit) libns3.14-config-store-optimized.so()(64bit) libns3.14-core-optimized.so()(64bit) libns3.14-csma-layout-optimized.so()(64bit) libns3.14-csma-optimized.so()(64bit) libns3.14-dsdv-optimized.so()(64bit) libns3.14-emu-optimized.so()(64bit) libns3.14-energy-optimized.so()(64bit) libns3.14-flow-monitor-optimized.so()(64bit) libns3.14-internet-optimized.so()(64bit) libns3.14-lte-optimized.so()(64bit) libns3.14-mesh-optimized.so()(64bit) libns3.14-mobility-optimized.so()(64bit) libns3.14-mpi-optimized.so()(64bit) libns3.14-netanim-optimized.so()(64bit) libns3.14-network-optimized.so()(64bit) libns3.14-nix-vector-routing-optimized.so()(64bit) libns3.14-olsr-optimized.so()(64bit) libns3.14-point-to-point-layout-optimized.so()(64bit) libns3.14-point-to-point-optimized.so()(64bit) libns3.14-propagation-optimized.so()(64bit) libns3.14-spectrum-optimized.so()(64bit) libns3.14-stats-optimized.so()(64bit) libns3.14-tap-bridge-optimized.so()(64bit) libns3.14-test-optimized.so()(64bit) libns3.14-tools-optimized.so()(64bit) libns3.14-topology-read-optimized.so()(64bit) libns3.14-uan-optimized.so()(64bit) libns3.14-virtual-net-device-optimized.so()(64bit) libns3.14-wifi-optimized.so()(64bit) libns3.14-wimax-optimized.so()(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpython2.7.so.1.0()(64bit) librt.so.1()(64bit) libsqlite3.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libxml2.so.2()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: ns-core-3.14-0.1hg7804.fc17.x86_64 Provides: libns3.14-core-debug.so()(64bit) libns3.14-core-optimized.so()(64bit) pkgconfig(libns3.14-core-debug) = 3.14 pkgconfig(libns3.14-core-optimized) = 3.14 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: /usr/bin/pkg-config libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgsl.so.0()(64bit) libgslcblas.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: ns-core-devel-3.14-0.1hg7804.fc17.x86_64 error: File not found: /home/rottmrei/rpmbuild/BUILDROOT/ns-3.14-0.1hg7804.fc17.x86_64/usr/include/ns3.14/ns3/ns2-calendar-scheduler.h RPM build errors: File not found: /home/rottmrei/rpmbuild/BUILDROOT/ns-3.14-0.1hg7804.fc17.x86_64/usr/include/ns3.14/ns3/ns2-calendar-scheduler.h
Sorry Reiner, I this was ignored for a long time and I forgot to update it. Anyway, specfile is now updated and can be found here: http://www.inf.uniri.hr/~vmiletic/ns-3/ns.spec
(In reply to comment #2) > http://www.inf.uniri.hr/~vmiletic/ns-3/ns.spec The link is dead. Don't know if temporarily, but no connection to that server can be established, you should have a look at it. Moreover, you should also provide a srpm. I can't find your name or mail address in the packagers group, are you a new packager and need a sponsor?
Adding FE-NEEDSPONSOR. Please remove it once you are sponsored.
Created attachment 670114 [details] ns-3.16 RPM spec file Massive update for 3.16.
Created attachment 670115 [details] Required patches
SRPM is required for package review. Dropbox is even a choice for SPEC and SRPM hosting. I tried to build the RPM on Fedora 18 x86_64, but finally it failed with: RPM build errors: File not found: /home/cheese/rpmbuild/BUILDROOT/ns-3.16-1.fc18.x86_64/usr/lib64/libnsc0.5.3-linux2.6.18.so File not found: /home/cheese/rpmbuild/BUILDROOT/ns-3.16-1.fc18.x86_64/usr/lib64/libnsc0.5.3-linux2.6.26.so
Well, from 17->20, this feature still not implemented yet. I require this package, too.
Christopher, it is true, it wasn't pushed into Fedora. However, biggest part of the job is done. Are you willing to take over and do the rest? Unfortunately I don't have time to finish it now.
I may have a try, but can you provide your spec/SRPM?
(In reply to Christopher Meng from comment #10) > I may have a try, but can you provide your spec/SRPM? Both are here: http://inf2.uniri.hr/~vedranm/ns3fedora/ Most of the plumbing work has been done, but it needs an update to ns-3.17, review against the guidelines, and a lot of testing. Feel free to finish it and push it.
Ok. But this depends on my spare time. Thanks.
Created attachment 986850 [details] ns-3.16 RPM spec file This is the latest version of spec file I produced back in 2013. I'm just posting it here in case anyone wants to resume work. I might need this in April-May timeframe, so if noone takes over I could do it myself. No promises however.
Vedran are you interested in picking this back up again? If not let's close it as a dead review so that others can see it's not in active progression and can open a fresh ticket if they are interested.
It's been over a week with no response from the requestor to the NeedsInfo flag. Closing as per policy.