Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:garloff
ipv6calc
ipv6calc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ipv6calc.spec of Package ipv6calc
# # spec file for package ipv6calc (Version 0.71) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: ipv6calc BuildRequires: automake BuildRequires: glibc-devel Version: 0.99.1 Release: 0 License: GPL-2.0 Group: System/Networking/Tools #Provides: Autoreqprov: on Summary: Tool to calculate IPv6 addresses Source: %{name}-%{version}.tar.gz Source1: %{name}-%{version}.tar.gz.asc Source2: ipcalc-0.41.tar.gz URL: http://www.deepspace6.net/projects/ipv6calc.html Patch: ipv6calc-make.diff Prefix: /usr BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ipv6calc is a small utility written in programming languate C to manipulate (not only) IPv6 addresses. Intentions were convering a given IPv6 address into compressed format, convering a given IPv6 address into the same format like shown in /proc/net/if_inet6 and (because it was not difficulty) migrating the Perl program ip6_int into. Now only one utility is needed to do a lot. This utility is also used to extend features on network-functions-ipv6 library, used by initscripts-ipv6. Note: this tool got also its freshmeat / ipv6calc page (not maintained by the author) Hint: take also a look at the Advanced Network Management Laboratory / IPv6 Address Oracle if you want to learn more about IPv6 addresses. Authors: -------- Peter Bieringer <pb@bieringer.de> %prep %setup -b2 %setup %patch -p1 autoreconf -fi %build CFLAGS="$RPM_OPT_FLAGS" ./configure --enable-shared --with-gnu-ld \ --prefix=/usr --mandir=%{_mandir} --infodir=%{_infodir} --libdir=%{_libdir} #export CFLAGS="$RPM_OPT_FLAGS" make %{?jobs:-j%jobs} RPM_OPT_FLAGS="$RPM_OPT_FLAGS" # %check # make check %install make install DESTDIR=$RPM_BUILD_ROOT root=$RPM_BUILD_ROOT cd ../ipcalc-0.41 install ipcalc $RPM_BUILD_ROOT/usr/bin/ for name in contributors changelog license; do mv $name $name.ipcalc done %if 0%{?mandriva_version} > 2005 gzip $RPM_BUILD_ROOT/%{_mandir}/man8/ipv6* %endif %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) /usr/bin/ipv6calc /usr/bin/ipv6loganon /usr/bin/ipv6logconv /usr/bin/ipv6logstats /usr/%{_lib}/libipv6calc.so.* /usr/%{_lib}/libipv6calc_db_wrapper.so.* %doc %{_mandir}/man8/ipv6calc.8.gz %doc %{_mandir}/man8/ipv6loganon.8.gz %doc %{_mandir}/man8/ipv6logconv.8.gz %doc %{_mandir}/man8/ipv6logstats.8.gz %dir /usr/share/ipv6calc %dir /usr/share/ipv6calc/tools /usr/share/ipv6calc/tools/*.pl /usr/share/ipv6calc/tools/*.sh %doc README TODO USAGE LICENSE CREDITS ChangeLog COPYING # ipcalc /usr/bin/ipcalc %doc ../ipcalc-0.41/*.ipcalc
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