SHA256
4
0
forked from pool/texmath

osc copypac from project:devel:languages:haskell:ghc-8.4.x package:texmath revision:4, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/texmath?expand=0&rev=73
This commit is contained in:
2018-05-15 18:42:31 +00:00
committed by Git OBS Bridge
parent d245bb92ec
commit abcbc4de48

View File

@@ -26,22 +26,25 @@ License: GPL-2.0-or-later
Group: Development/Libraries/Haskell
URL: https://hackage.haskell.org/package/%{name}
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
BuildRequires: chrpath
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-network-uri-devel
BuildRequires: ghc-pandoc-types-devel
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-split-devel
BuildRequires: ghc-syb-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-xml-devel
%if %{with tests}
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-process-devel
BuildRequires: ghc-split-devel
BuildRequires: ghc-temporary-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-utf8-string-devel
%endif
@@ -91,10 +94,12 @@ This package provides the Haskell %{name} library development files.
%setup -q
%build
%define cabal_configure_options -fexecutable
%ghc_lib_build
%install
%ghc_lib_install
%ghc_fix_rpath %{pkg_name}-%{version}
%check
%cabal_test
@@ -108,6 +113,7 @@ This package provides the Haskell %{name} library development files.
%files
%license LICENSE
%doc README.markdown changelog
%{_bindir}/%{name}
%files -n ghc-%{name} -f ghc-%{name}.files
%license LICENSE