osc copypac from project:devel:languages:haskell:lts:10 package:ghc-hslua revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hslua?expand=0&rev=26
This commit is contained in:
parent
3b7864635c
commit
ab4bc6f34e
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 21 18:24:02 UTC 2017 - psimons@suse.com
|
||||
|
||||
- Update to version 0.9.3.
|
||||
A more detailed change log is not available.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 17 09:35:36 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
%global pkg_name hslua
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.4.1
|
||||
Version: 0.9.3
|
||||
Release: 0
|
||||
Summary: A Lua language interpreter embedding in Haskell
|
||||
License: MIT
|
||||
@ -28,32 +28,36 @@ URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-exceptions-devel
|
||||
BuildRequires: ghc-fail-devel
|
||||
BuildRequires: ghc-mtl-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: lua51-devel
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-HUnit-devel
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-hspec-contrib-devel
|
||||
BuildRequires: ghc-hspec-devel
|
||||
BuildRequires: ghc-quickcheck-instances-devel
|
||||
BuildRequires: ghc-text-devel
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-quickcheck-instances-devel
|
||||
BuildRequires: ghc-tasty-devel
|
||||
BuildRequires: ghc-tasty-expected-failure-devel
|
||||
BuildRequires: ghc-tasty-hunit-devel
|
||||
BuildRequires: ghc-tasty-quickcheck-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
The Scripting.Lua module is a wrapper of Lua language interpreter as described
|
||||
in [lua.org](http://www.lua.org/).
|
||||
The Foreign.Lua module is a wrapper of Lua language interpreter as described on
|
||||
<https://www.lua.org/ lua.org>.
|
||||
|
||||
This package contains full Lua interpreter version 5.1.5. If you want to link
|
||||
it with system-wide Lua installation, use 'system-lua' flag.
|
||||
This package contains a full Lua interpreter version 5.3.4. If you want to link
|
||||
it with a system-wide Lua installation, use the 'system-lua' flag.
|
||||
|
||||
[Example programs](https://github.com/osa1/hslua/tree/master/examples).
|
||||
<https://github.com/hslua/hslua-examples Example programs> are available in a
|
||||
separate repository.
|
||||
|
||||
%package devel
|
||||
Summary: Haskell %{pkg_name} library development files
|
||||
Group: Development/Libraries/Haskell
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: ghc-compiler = %{ghc_version}
|
||||
Requires: lua51-devel
|
||||
Requires(post): ghc-compiler = %{ghc_version}
|
||||
Requires(postun): ghc-compiler = %{ghc_version}
|
||||
|
||||
@ -64,7 +68,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
|
||||
%build
|
||||
%define cabal_configure_options -fsystem-lua --extra-include-dirs=$(pkg-config --variable=includedir lua)
|
||||
%define cabal_configure_options -f-system-lua
|
||||
%ghc_lib_build
|
||||
|
||||
%install
|
||||
@ -83,6 +87,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
%doc COPYRIGHT
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc CHANGELOG.md README.md examples
|
||||
%doc CHANGELOG.md README.md
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2df2b4f0566ef2244506f9830e0207fce3bece7c331129f69f446c722136173f
|
||||
size 130342
|
3
hslua-0.9.3.tar.gz
Normal file
3
hslua-0.9.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:15e9699297da1534824a537e05fd76c8b115f3c32e550eaec3277ce5902386d6
|
||||
size 226260
|
Loading…
Reference in New Issue
Block a user