forked from pool/ghc-skylighting
osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-skylighting revision:13, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-skylighting?expand=0&rev=54
This commit is contained in:
parent
17e7859765
commit
7a25adfba7
@ -24,12 +24,18 @@ Summary: Syntax highlighting library
|
|||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
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: chrpath
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-binary-devel
|
BuildRequires: ghc-binary-devel
|
||||||
|
BuildRequires: ghc-blaze-html-devel
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-containers-devel
|
BuildRequires: ghc-containers-devel
|
||||||
|
BuildRequires: ghc-directory-devel
|
||||||
|
BuildRequires: ghc-filepath-devel
|
||||||
|
BuildRequires: ghc-pretty-show-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc-skylighting-core-devel
|
BuildRequires: ghc-skylighting-core-devel
|
||||||
|
BuildRequires: ghc-text-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Skylighting is a syntax highlighting library with support for over one hundred
|
Skylighting is a syntax highlighting library with support for over one hundred
|
||||||
@ -54,10 +60,12 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%define cabal_configure_options -fexecutable
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
%ghc_fix_rpath %{pkg_name}-%{version}
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
@ -67,6 +75,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
%{_bindir}/%{pkg_name}
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%doc README.md changelog.md
|
%doc README.md changelog.md
|
||||||
|
Loading…
Reference in New Issue
Block a user