forked from pool/ghc-ekg-json
osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-ekg-json revision:1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-ekg-json?expand=0&rev=1
This commit is contained in:
commit
b6081b9675
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-json-0.1.0.6.tar.gz
Normal file
3
ekg-json-0.1.0.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1e6a80aa0a28bbf41c9c6364cbb5731160d14fa54145f27a82d0b3467a04dd47
|
||||||
|
size 3094
|
34
ekg-json.cabal
Normal file
34
ekg-json.cabal
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
name: ekg-json
|
||||||
|
version: 0.1.0.6
|
||||||
|
x-revision: 7
|
||||||
|
synopsis: JSON encoding of ekg metrics
|
||||||
|
description:
|
||||||
|
Encodes ekg metrics as JSON, using the same encoding as used by the
|
||||||
|
ekg package, thus allowing ekg metrics to be served by other HTTP
|
||||||
|
servers than the one used by the ekg package.
|
||||||
|
homepage: https://github.com/tibbe/ekg-json
|
||||||
|
bug-reports: https://github.com/tibbe/ekg-json/issues
|
||||||
|
license: BSD3
|
||||||
|
license-file: LICENSE
|
||||||
|
author: Johan Tibell
|
||||||
|
maintainer: johan.tibell@gmail.com
|
||||||
|
category: Distribution
|
||||||
|
extra-source-files: CHANGES.md
|
||||||
|
build-type: Simple
|
||||||
|
cabal-version: >=1.10
|
||||||
|
|
||||||
|
library
|
||||||
|
exposed-modules:
|
||||||
|
System.Metrics.Json
|
||||||
|
build-depends:
|
||||||
|
aeson >=0.4 && < 1.6,
|
||||||
|
base >= 4.5 && < 4.15,
|
||||||
|
ekg-core >= 0.1 && < 0.2,
|
||||||
|
text < 1.3,
|
||||||
|
unordered-containers < 0.3
|
||||||
|
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/tibbe/ekg-json.git
|
5
ghc-ekg-json.changes
Normal file
5
ghc-ekg-json.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 30 03:01:10 UTC 2020 - psimons@suse.com
|
||||||
|
|
||||||
|
- Add ekg-json at version 0.1.0.6 revision 7.
|
||||||
|
|
72
ghc-ekg-json.spec
Normal file
72
ghc-ekg-json.spec
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
#
|
||||||
|
# spec file for package ghc-ekg-json
|
||||||
|
#
|
||||||
|
# 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-json
|
||||||
|
Name: ghc-%{pkg_name}
|
||||||
|
Version: 0.1.0.6
|
||||||
|
Release: 0
|
||||||
|
Summary: JSON encoding of ekg 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/7.cabal#/%{pkg_name}.cabal
|
||||||
|
BuildRequires: ghc-Cabal-devel
|
||||||
|
BuildRequires: ghc-aeson-devel
|
||||||
|
BuildRequires: ghc-ekg-core-devel
|
||||||
|
BuildRequires: ghc-rpm-macros
|
||||||
|
BuildRequires: ghc-text-devel
|
||||||
|
BuildRequires: ghc-unordered-containers-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
Encodes ekg metrics as JSON, using the same encoding as used by the ekg
|
||||||
|
package, thus allowing ekg metrics to be served by other HTTP servers than the
|
||||||
|
one used by the ekg package.
|
||||||
|
|
||||||
|
%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…
x
Reference in New Issue
Block a user