osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-ekg revision:1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-ekg?expand=0&rev=1
This commit is contained in:
Mark Stopka 2020-11-02 08:08:43 +00:00 committed by Git OBS Bridge
commit b9c41d9365
6 changed files with 183 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

3
ekg-0.4.0.15.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:482ae3be495cfe4f03332ad1c79ce8b5ad4f9c8eec824980c664808ae32c6dcc
size 171305

61
ekg.cabal Normal file
View File

@ -0,0 +1,61 @@
name: ekg
version: 0.4.0.15
x-revision: 8
cabal-version: >= 1.8
synopsis: Remote monitoring of processes
description:
This library lets you remotely monitor a running process over HTTP.
It provides a simple way to integrate a monitoring server into any
application.
homepage: https://github.com/tibbe/ekg
bug-reports: https://github.com/tibbe/ekg/issues
license: BSD3
license-file: LICENSE
author: Johan Tibell
maintainer: Johan Tibell <johan.tibell@gmail.com>,
Mikhail Glushenkov <mikhail.glushenkov@gmail.com>
category: System, Network
build-type: Simple
data-files: assets/index.html assets/monitor.js assets/monitor.css
assets/jquery.flot.min.js assets/jquery-1.6.4.min.js
assets/bootstrap-1.4.0.min.css
assets/chart_line_add.png assets/cross.png
extra-source-files: LICENSE.icons LICENSE.javascript README.md
assets/jquery-1.6.4.js assets/jquery.flot.js
assets/bootstrap-1.4.0.css
examples/Basic.hs CHANGES.md
tested-with: GHC == 8.4.1, GHC == 8.2.2, GHC == 8.0.2,
GHC == 7.10.3, GHC == 7.8.4, GHC == 7.6.3
library
exposed-modules:
System.Remote.Counter
System.Remote.Gauge
System.Remote.Label
System.Remote.Monitoring
other-modules:
Paths_ekg
System.Remote.Json
System.Remote.Snap
build-depends:
aeson >= 0.4 && < 1.6,
base >= 4.5 && < 4.15,
bytestring < 1.0,
ekg-core >= 0.1 && < 0.2,
ekg-json >= 0.1 && < 0.2,
filepath < 1.5,
network < 3.2,
snap-core < 1.1,
snap-server < 1.2,
text < 1.3,
time < 1.10,
transformers < 0.6,
unordered-containers < 0.3
ghc-options: -Wall
source-repository head
type: git
location: https://github.com/tibbe/ekg.git

5
ghc-ekg.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Fri Oct 30 03:00:48 UTC 2020 - psimons@suse.com
- Add ekg at version 0.4.0.15 revision 8.

90
ghc-ekg.spec Normal file
View File

@ -0,0 +1,90 @@
#
# spec file for package ghc-ekg
#
# 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
Name: ghc-%{pkg_name}
Version: 0.4.0.15
Release: 0
Summary: Remote monitoring of processes
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/8.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-ekg-core-devel
BuildRequires: ghc-ekg-json-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-network-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-snap-core-devel
BuildRequires: ghc-snap-server-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-unordered-containers-devel
%description
This library lets you remotely monitor a running process over HTTP. It provides
a simple way to integrate a monitoring server into any application.
%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
%dir %{_datadir}/%{pkg_name}-%{version}
%dir %{_datadir}/%{pkg_name}-%{version}/assets
%{_datadir}/%{pkg_name}-%{version}/assets/bootstrap-1.4.0.min.css
%{_datadir}/%{pkg_name}-%{version}/assets/chart_line_add.png
%{_datadir}/%{pkg_name}-%{version}/assets/cross.png
%{_datadir}/%{pkg_name}-%{version}/assets/index.html
%{_datadir}/%{pkg_name}-%{version}/assets/jquery-1.6.4.min.js
%{_datadir}/%{pkg_name}-%{version}/assets/jquery.flot.min.js
%{_datadir}/%{pkg_name}-%{version}/assets/monitor.css
%{_datadir}/%{pkg_name}-%{version}/assets/monitor.js
%files devel -f %{name}-devel.files
%license LICENSE.icons LICENSE.javascript
%doc CHANGES.md README.md examples
%changelog