SHA256
1
0
forked from pool/ipcalc

Accepting request 74579 from home:Lazy_Kent:branches:network:utilities

fix build in openSUSE >= 11.3

OBS-URL: https://build.opensuse.org/request/show/74579
OBS-URL: https://build.opensuse.org/package/show/network:utilities/ipcalc?expand=0&rev=2
This commit is contained in:
OBS User mrdocs 2011-06-27 08:20:06 +00:00 committed by Git OBS Bridge
parent b531999e5c
commit 26f5812fd3
3 changed files with 65 additions and 30 deletions

22
ipcalc.changes Normal file
View File

@ -0,0 +1,22 @@
-------------------------------------------------------------------
Sun Jun 26 22:24:37 UTC 2011 - lazy.kent@opensuse.org
- refreshed patch to fix build in openSUSE >= 11.3
- splitted off rpm changelog to changes
- corrected License tag
- added Authors
- formatted spec
-------------------------------------------------------------------
Sun Nov 18 00:00:00 UTC 2007 - guru@unixtech.be
- moved to openSUSE Build Service
- added minor patch
-------------------------------------------------------------------
Sun Oct 22 00:00:00 UTC 2006 - guru@unixtech.be
- new upstream version
- rewrote spec file

View File

@ -1,18 +1,31 @@
# norootforbuild #
# spec file for package ipcalc
#
# Copyright (c) 2011 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.
%define _prefix /usr # Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: ipcalc Name: ipcalc
Version: 0.41 Version: 0.41
Release: 0 Release: 0
License: GPL-2.0+
Summary: IPv4 Address Calculator Summary: IPv4 Address Calculator
Source: http://jodies.de/ipcalc-archive/ipcalc-%{version}.tar.gz
Patch1: http://jodies.de/ipcalc-archive/patch-queue
URL: http://jodies.de/ipcalc URL: http://jodies.de/ipcalc
Group: Productivity/Networking/System Group: Productivity/Networking/System
License: GNU General Public License (GPL) Source0: http://jodies.de/ipcalc-archive/ipcalc-%{version}.tar.gz
BuildRoot: %{_tmppath}/build-%{name}-%{version} Patch1: http://jodies.de/ipcalc-archive/patch-queue
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/build-%{name}-%{version}
%description %description
ipcalc takes an IP address and netmask and calculates the resulting ipcalc takes an IP address and netmask and calculates the resulting
@ -24,6 +37,12 @@ Enter your netmask(s) in CIDR notation (/25) or dotted decimals
(255.255.255.0). Inverse netmasks are recognized. If you omit the (255.255.255.0). Inverse netmasks are recognized. If you omit the
netmask ipcalc uses the default netmask for the class of your network. netmask ipcalc uses the default netmask for the class of your network.
Authors:
--------
Krischan Jodies <ipcalc-200808@jodies.de>
%prep %prep
%setup -q %setup -q
%patch1 %patch1
@ -42,13 +61,6 @@ netmask ipcalc uses the default netmask for the class of your network.
%{_bindir}/ipcalc %{_bindir}/ipcalc
%changelog %changelog
* Sun Nov 18 2007 Pascal Bleser <guru@unixtech.be> 0.41
- moved to openSUSE Build Service
- added minor patch
* Sun Oct 22 2006 Pascal Bleser <guru@unixtech.be> 0.41-1
- new upstream version
- rewrote spec file
# Local Variables: # Local Variables:
# mode: rpm-spec # mode: rpm-spec

View File

@ -1,7 +1,9 @@
Jahreszahl, Mehrzahl und omit ;-) Jahreszahl, Mehrzahl und omit ;-)
--- ipcalc-0.41 2006-07-27 11:42:31.000000000 +0200 Index: ipcalc
+++ ipcalc 2006-07-28 17:05:50.000000000 +0200 ===================================================================
--- ipcalc.orig
+++ ipcalc
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
@ -11,7 +13,7 @@ Jahreszahl, Mehrzahl und omit ;-)
# krischan()jodies.de, http://jodies.de/ipcalc # krischan()jodies.de, http://jodies.de/ipcalc
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
@@ -1082,7 +1082,7 @@ @@ -1082,7 +1082,7 @@ sub help {
IP Calculator $version IP Calculator $version
Enter your netmask(s) in CIDR notation (/25) or dotted decimals (255.255.255.0). Enter your netmask(s) in CIDR notation (/25) or dotted decimals (255.255.255.0).
@ -20,4 +22,3 @@ Jahreszahl, Mehrzahl und omit ;-)
netmask for the class of your network. netmask for the class of your network.
Look at the space between the bits of the addresses: The bits before it are Look at the space between the bits of the addresses: The bits before it are