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:
Peter Simons 2017-12-21 19:52:25 +00:00 committed by Git OBS Bridge
parent 3b7864635c
commit ab4bc6f34e
4 changed files with 29 additions and 19 deletions

View File

@ -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 Thu Aug 17 09:35:36 UTC 2017 - dimstar@opensuse.org

View File

@ -19,7 +19,7 @@
%global pkg_name hslua %global pkg_name hslua
%bcond_with tests %bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.4.1 Version: 0.9.3
Release: 0 Release: 0
Summary: A Lua language interpreter embedding in Haskell Summary: A Lua language interpreter embedding in Haskell
License: MIT 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 Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-bytestring-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: 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 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 %endif
%description %description
The Scripting.Lua module is a wrapper of Lua language interpreter as described The Foreign.Lua module is a wrapper of Lua language interpreter as described on
in [lua.org](http://www.lua.org/). <https://www.lua.org/ lua.org>.
This package contains full Lua interpreter version 5.1.5. If you want to link This package contains a full Lua interpreter version 5.3.4. If you want to link
it with system-wide Lua installation, use 'system-lua' flag. 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 %package devel
Summary: Haskell %{pkg_name} library development files Summary: Haskell %{pkg_name} library development files
Group: Development/Libraries/Haskell Group: Development/Libraries/Haskell
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version} Requires: ghc-compiler = %{ghc_version}
Requires: lua51-devel
Requires(post): ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): 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} %setup -q -n %{pkg_name}-%{version}
%build %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 %ghc_lib_build
%install %install
@ -83,6 +87,6 @@ This package provides the Haskell %{pkg_name} library development files.
%doc COPYRIGHT %doc COPYRIGHT
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%doc CHANGELOG.md README.md examples %doc CHANGELOG.md README.md
%changelog %changelog

View File

@ -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
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:15e9699297da1534824a537e05fd76c8b115f3c32e550eaec3277ce5902386d6
size 226260