commit b9c41d93655e21b858afea885ea30b55ec4a11723d33a010743891ba6bc09d0b Author: Mark Stopka Date: Mon Nov 2 08:08:43 2020 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ekg-0.4.0.15.tar.gz b/ekg-0.4.0.15.tar.gz new file mode 100644 index 0000000..ceac3cc --- /dev/null +++ b/ekg-0.4.0.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:482ae3be495cfe4f03332ad1c79ce8b5ad4f9c8eec824980c664808ae32c6dcc +size 171305 diff --git a/ekg.cabal b/ekg.cabal new file mode 100644 index 0000000..0bc80fd --- /dev/null +++ b/ekg.cabal @@ -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 , + Mikhail Glushenkov +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 diff --git a/ghc-ekg.changes b/ghc-ekg.changes new file mode 100644 index 0000000..f3283f8 --- /dev/null +++ b/ghc-ekg.changes @@ -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. + diff --git a/ghc-ekg.spec b/ghc-ekg.spec new file mode 100644 index 0000000..c7ac190 --- /dev/null +++ b/ghc-ekg.spec @@ -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