|
|
|
@ -3,22 +3,21 @@
|
|
|
|
|
%global pkg_name hslua
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
Version: 0.3.10
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: Lua language interpreter embedded in Haskell
|
|
|
|
|
Version: 0.3.13
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Lua language interpreter embedding in Haskell
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
|
Patch0: hslua-0.3.10-pkgconfig-lua-5.1.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
|
BuildRequires: ghc-mtl-devel
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
# current hslua needs 5.1 whereas F20+ has lua-5.2
|
|
|
|
|
BuildRequires: pkgconfig(lua-5.1)
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The Scripting.Lua module is a wrapper of the Lua language interpreter described
|
|
|
|
@ -33,8 +32,8 @@ Requires(post): ghc-compiler = %{ghc_version}
|
|
|
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
Requires: pkgconfig(lua-5.1)
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
@ -71,6 +70,9 @@ rm src/*.c src/*.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jan 19 2015 Jens Petersen <petersen@redhat.com> - 0.3.13-1
|
|
|
|
|
- update to 0.3.13
|
|
|
|
|
|
|
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.10-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|