osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-network-info revision:11, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-network-info?expand=0&rev=11
This commit is contained in:
parent
21dbe42436
commit
2e4ffb1f18
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 4 12:15:38 UTC 2022 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update network-info to version 0.2.1.
|
||||||
|
Upstream has edited the change log file since the last release in
|
||||||
|
a non-trivial way, i.e. they did more than just add a new entry
|
||||||
|
at the top. You can review the file at:
|
||||||
|
http://hackage.haskell.org/package/network-info-0.2.1/src/CHANGELOG.md
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-network-info
|
# spec file for package ghc-network-info
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,13 +18,12 @@
|
|||||||
|
|
||||||
%global pkg_name network-info
|
%global pkg_name network-info
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.2.0.10
|
Version: 0.2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Access the local computer's basic network configuration
|
Summary: Access the local computer's basic network configuration
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
ExcludeArch: %{ix86}
|
ExcludeArch: %{ix86}
|
||||||
@ -34,9 +33,8 @@ This library provides simple read-only access to the local computer's
|
|||||||
networking configuration. It is currently capable of getting a list of all the
|
networking configuration. It is currently capable of getting a list of all the
|
||||||
network interfaces and their respective IPv4, IPv6 and MAC addresses.
|
network interfaces and their respective IPv4, IPv6 and MAC addresses.
|
||||||
|
|
||||||
network-info has been tested and is known to work on Ubuntu 10.10, FreeBSD 9.0,
|
network-info has been tested and is known to work on Ubuntu, FreeBSD, NetBSD,
|
||||||
Mac OS X 10.6.4 and Windows XP/7. It probably works on other flavours of Linux,
|
Mac OS and Windows.
|
||||||
OS X, FreeBSD and Windows as well.
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Haskell %{pkg_name} library development files
|
Summary: Haskell %{pkg_name} library development files
|
||||||
@ -50,7 +48,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5680f6975d34cf4f81fa7ca0c8efd682261d6a1119e06dece0f67c7bd97fd52a
|
|
||||||
size 6278
|
|
3
network-info-0.2.1.tar.gz
Normal file
3
network-info-0.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9b2d88312fc8280351d5003200cc07decbb865f85d3aa7b1094b238bd6a8b404
|
||||||
|
size 6387
|
@ -1,58 +0,0 @@
|
|||||||
name: network-info
|
|
||||||
version: 0.2.0.10
|
|
||||||
x-revision: 1
|
|
||||||
synopsis: Access the local computer's basic network configuration
|
|
||||||
|
|
||||||
description: This library provides simple read-only access to the
|
|
||||||
local computer's networking configuration. It is
|
|
||||||
currently capable of getting a list of all the network
|
|
||||||
interfaces and their respective IPv4, IPv6 and MAC
|
|
||||||
addresses.
|
|
||||||
.
|
|
||||||
network-info has been tested and is known to work on
|
|
||||||
Ubuntu 10.10, FreeBSD 9.0, Mac OS X 10.6.4 and Windows
|
|
||||||
XP/7. It probably works on other flavours of Linux,
|
|
||||||
OS X, FreeBSD and Windows as well.
|
|
||||||
|
|
||||||
homepage: http://github.com/jacobstanley/network-info
|
|
||||||
license: BSD3
|
|
||||||
license-file: LICENSE
|
|
||||||
author: Jacob Stanley
|
|
||||||
maintainer: Jacob Stanley <jacob@stanley.io>
|
|
||||||
category: Network
|
|
||||||
build-type: Simple
|
|
||||||
cabal-version: >= 1.6
|
|
||||||
tested-with: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.1
|
|
||||||
|
|
||||||
extra-source-files:
|
|
||||||
cbits/common.h,
|
|
||||||
cbits/common.inc,
|
|
||||||
cbits/network.h,
|
|
||||||
test/src/Main.hs,
|
|
||||||
test/network-info-test.cabal,
|
|
||||||
test/run-tests.bat,
|
|
||||||
test/run-tests.sh,
|
|
||||||
README.mkd,
|
|
||||||
CHANGELOG.md
|
|
||||||
|
|
||||||
source-repository head
|
|
||||||
type: git
|
|
||||||
location: git://github.com/jacobstanley/network-info.git
|
|
||||||
|
|
||||||
Library
|
|
||||||
hs-source-dirs: src
|
|
||||||
include-dirs: cbits
|
|
||||||
cc-options: -Wall -std=c99
|
|
||||||
|
|
||||||
exposed-modules: Network.Info
|
|
||||||
|
|
||||||
build-depends:
|
|
||||||
base == 4.*
|
|
||||||
|
|
||||||
if os(windows)
|
|
||||||
c-sources: cbits/network-windows.c
|
|
||||||
extra-libraries: iphlpapi
|
|
||||||
else
|
|
||||||
c-sources: cbits/network-unix.c
|
|
||||||
if os(solaris)
|
|
||||||
extra-libraries: socket, nsl
|
|
Loading…
Reference in New Issue
Block a user