osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-ekg-core revision:1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-ekg-core?expand=0&rev=1
This commit is contained in:
commit
687254732b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
ekg-core-0.1.1.7.tar.gz
Normal file
3
ekg-core-0.1.1.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:45813f2b94fde0b92c7979bd37de52f09b8b645560f5789276c3acfc7934db12
|
||||
size 13612
|
75
ekg-core.cabal
Normal file
75
ekg-core.cabal
Normal file
@ -0,0 +1,75 @@
|
||||
cabal-version: 1.18
|
||||
name: ekg-core
|
||||
version: 0.1.1.7
|
||||
x-revision: 1
|
||||
synopsis: Tracking of system metrics
|
||||
description:
|
||||
This library lets you defined and track system metrics.
|
||||
homepage: https://github.com/tibbe/ekg-core
|
||||
bug-reports: https://github.com/tibbe/ekg-core/issues
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
author: Johan Tibell
|
||||
maintainer: Johan Tibell <johan.tibell@gmail.com>,
|
||||
Mikhail Glushenkov <mikhail.glushenkov@gmail.com>
|
||||
category: System
|
||||
build-type: Simple
|
||||
extra-source-files: CHANGES.md
|
||||
tested-with: GHC == 8.8.3, GHC == 8.6.5, GHC == 8.4.4,
|
||||
GHC == 8.2.2, GHC == 8.0.2, GHC == 7.10.3,
|
||||
GHC == 7.8.4, GHC == 7.6.3
|
||||
|
||||
library
|
||||
exposed-modules:
|
||||
System.Metrics
|
||||
System.Metrics.Counter
|
||||
System.Metrics.Distribution
|
||||
System.Metrics.Distribution.Internal
|
||||
System.Metrics.Gauge
|
||||
System.Metrics.Label
|
||||
|
||||
other-modules:
|
||||
Data.Array
|
||||
Data.Atomic
|
||||
System.Metrics.ThreadId
|
||||
|
||||
build-depends:
|
||||
ghc-prim < 0.7,
|
||||
base >= 4.6 && < 4.15,
|
||||
containers >= 0.5 && < 0.7,
|
||||
text < 1.3,
|
||||
unordered-containers < 0.3
|
||||
|
||||
default-language: Haskell2010
|
||||
|
||||
ghc-options: -Wall
|
||||
if arch(i386)
|
||||
cc-options: -march=i686
|
||||
includes: distrib.h
|
||||
install-includes: distrib.h
|
||||
include-dirs: cbits
|
||||
c-sources: cbits/atomic.c cbits/distrib.c
|
||||
|
||||
benchmark counter
|
||||
main-is: Counter.hs
|
||||
type: exitcode-stdio-1.0
|
||||
build-depends:
|
||||
base,
|
||||
ekg-core
|
||||
default-language: Haskell2010
|
||||
hs-source-dirs: benchmarks
|
||||
ghc-options: -O2 -threaded -Wall
|
||||
|
||||
benchmark distribution
|
||||
main-is: Distribution.hs
|
||||
type: exitcode-stdio-1.0
|
||||
build-depends:
|
||||
base,
|
||||
ekg-core
|
||||
default-language: Haskell2010
|
||||
hs-source-dirs: benchmarks
|
||||
ghc-options: -O2 -threaded -Wall
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/tibbe/ekg-core.git
|
5
ghc-ekg-core.changes
Normal file
5
ghc-ekg-core.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 30 03:01:35 UTC 2020 - psimons@suse.com
|
||||
|
||||
- Add ekg-core at version 0.1.1.7 revision 1.
|
||||
|
69
ghc-ekg-core.spec
Normal file
69
ghc-ekg-core.spec
Normal file
@ -0,0 +1,69 @@
|
||||
#
|
||||
# spec file for package ghc-ekg-core
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global pkg_name ekg-core
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.1.1.7
|
||||
Release: 0
|
||||
Summary: Tracking of system metrics
|
||||
License: BSD-3-Clause
|
||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||
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-containers-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-text-devel
|
||||
BuildRequires: ghc-unordered-containers-devel
|
||||
|
||||
%description
|
||||
This library lets you defined and track system metrics.
|
||||
|
||||
%package devel
|
||||
Summary: Haskell %{pkg_name} library development files
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: ghc-compiler = %{ghc_version}
|
||||
Requires(post): ghc-compiler = %{ghc_version}
|
||||
Requires(postun): ghc-compiler = %{ghc_version}
|
||||
|
||||
%description devel
|
||||
This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
||||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
%postun devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
%files -f %{name}.files
|
||||
%license LICENSE
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc CHANGES.md
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user