commit 9ac2508344edf3cae2fed2138534049abc87ff9168218a52ae5b982f579c046f Author: Scott Bahling Date: Mon Oct 28 21:37:07 2013 +0000 osc copypac from project:devel:languages:haskell:pandoc package:ghc-lifted-base revision:1 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-lifted-base?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/_service b/_service new file mode 100644 index 0000000..1a837da --- /dev/null +++ b/_service @@ -0,0 +1,3 @@ + + + diff --git a/ghc-lifted-base.changes b/ghc-lifted-base.changes new file mode 100644 index 0000000..6805d88 --- /dev/null +++ b/ghc-lifted-base.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sun Oct 6 21:50:28 UTC 2013 - sbahling@suse.com + +- Initial package - version 0.2.1.0 + diff --git a/ghc-lifted-base.spec b/ghc-lifted-base.spec new file mode 100644 index 0000000..e6fdb4d --- /dev/null +++ b/ghc-lifted-base.spec @@ -0,0 +1,93 @@ +# +# spec file for package ghc-lifted-base +# +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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 lifted-base + +Name: ghc-lifted-base +Version: 0.2.1.0 +Release: 1 +Summary: lifted IO operations from the base library +Group: System/Libraries + +License: BSD-3-Clause +Url: http://hackage.haskell.org/package/%{pkg_name} +Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-base-unicode-symbols-devel +BuildRequires: ghc-monad-control-devel +BuildRequires: ghc-transformers-base-devel +# End cabal-rpm deps + +%description +'lifted-base' exports IO operations from the base library lifted to any +instance of 'MonadBase' or 'MonadBaseControl'. + +Note that not all modules from 'base' are converted yet. If you need a lifted +version of a function from 'base', just ask me to add it or send me a patch. + +The package includes a copy of the 'monad-peel' testsuite written by Anders +Kaseorg The tests can be performed using 'cabal test' + + +%package devel +Summary: Haskell %{pkg_name} library development files +Group: Development/Libraries/Other +Provides: %{name}-static = %{version}-%{release} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +Requires: %{name} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache + + +%files -f %{name}.files +%defattr(-,root,root,-) +%doc LICENSE + + +%files devel -f %{name}-devel.files +%defattr(-,root,root,-) +%doc README.markdown + + +%changelog diff --git a/lifted-base-0.2.1.0.tar.gz b/lifted-base-0.2.1.0.tar.gz new file mode 100644 index 0000000..5fb174b --- /dev/null +++ b/lifted-base-0.2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e737e070d3535dd2ad56526f8c32cf7ae385972fde55b112e1b6fe99dff9b30 +size 11708