From f2fd1afeb0cd1a2fbf4f951028c6566a90c28f61f642b16a1258b528ab56c69a Mon Sep 17 00:00:00 2001 From: Peter Trommler Date: Sat, 17 Nov 2012 16:31:15 +0000 Subject: [PATCH] Accepting request 141649 from home:ptrommler:haskell-platform HP 2012.4 OBS-URL: https://build.opensuse.org/request/show/141649 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-async?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++ .gitignore | 1 + _service | 3 ++ async-2.0.1.3.tar.gz | 3 ++ ghc-async.changes | 10 +++++++ ghc-async.spec | 70 ++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 110 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 async-2.0.1.3.tar.gz create mode 100644 ghc-async.changes create mode 100644 ghc-async.spec 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/_service b/_service new file mode 100644 index 0000000..a07f79b --- /dev/null +++ b/_service @@ -0,0 +1,3 @@ + + + diff --git a/async-2.0.1.3.tar.gz b/async-2.0.1.3.tar.gz new file mode 100644 index 0000000..f6783b3 --- /dev/null +++ b/async-2.0.1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:70d681084aca826c84d722320fc5d67ac6294802afbb13f8b5e8eac2bbc972e5 +size 8345 diff --git a/ghc-async.changes b/ghc-async.changes new file mode 100644 index 0000000..a485a84 --- /dev/null +++ b/ghc-async.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Sat Nov 17 14:16:42 UTC 2012 - peter.trommler@ohm-hochschule.de + +- make service localonly for Factory submission + +------------------------------------------------------------------- +Mon Oct 1 18:45:55 UTC 2012 - peter.trommler@ohm-hochschule.de + +- Initial package generated by cabal2spec + diff --git a/ghc-async.spec b/ghc-async.spec new file mode 100644 index 0000000..e3c1b40 --- /dev/null +++ b/ghc-async.spec @@ -0,0 +1,70 @@ +# +# spec file for package ghc-async +# + +# Copyright (c) 2012 Peter Trommler, peter.trommler@ohm-hochschule.de +# +# 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 http://bugs.opensuse.org/ +# + +%global pkg_name async + +%global common_summary Haskell library to run IO operations asynchronously + +%global common_description This Haskell package provides a higher-level interface over threads, in which an Async a is a concurrent thread that will eventually deliver a value of type a. The package provides ways to create Async computations, wait for their results, and cancel them. + +Name: ghc-%{pkg_name} +Version: 2.0.1.3 +Release: 1 +Summary: %{common_summary} + +Group: System/Libraries +License: BSD-3-Clause +BuildRoot: %{_tmppath}/%{name}-%{version}-build +# BEGIN cabal2spec +URL: http://hackage.haskell.org/package/%{pkg_name} +Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +ExclusiveArch: %{ghc_arches} %{ix86} x86_64 +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +BuildRequires: ghc-stm-devel +# END cabal2spec + +%description +%{common_description} + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +# devel subpackage +%ghc_devel_package + +%ghc_devel_description + + +%ghc_devel_post_postun + + +%ghc_files LICENSE + + +%changelog