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:
12
texmath.spec
12
texmath.spec
@@ -26,22 +26,25 @@ License: GPL-2.0-or-later
|
|||||||
Group: Development/Libraries/Haskell
|
Group: Development/Libraries/Haskell
|
||||||
URL: https://hackage.haskell.org/package/%{name}
|
URL: https://hackage.haskell.org/package/%{name}
|
||||||
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: chrpath
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
|
BuildRequires: ghc-aeson-devel
|
||||||
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-containers-devel
|
BuildRequires: ghc-containers-devel
|
||||||
BuildRequires: ghc-mtl-devel
|
BuildRequires: ghc-mtl-devel
|
||||||
|
BuildRequires: ghc-network-uri-devel
|
||||||
BuildRequires: ghc-pandoc-types-devel
|
BuildRequires: ghc-pandoc-types-devel
|
||||||
BuildRequires: ghc-parsec-devel
|
BuildRequires: ghc-parsec-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
|
BuildRequires: ghc-split-devel
|
||||||
BuildRequires: ghc-syb-devel
|
BuildRequires: ghc-syb-devel
|
||||||
|
BuildRequires: ghc-text-devel
|
||||||
BuildRequires: ghc-xml-devel
|
BuildRequires: ghc-xml-devel
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ghc-bytestring-devel
|
|
||||||
BuildRequires: ghc-directory-devel
|
BuildRequires: ghc-directory-devel
|
||||||
BuildRequires: ghc-filepath-devel
|
BuildRequires: ghc-filepath-devel
|
||||||
BuildRequires: ghc-process-devel
|
BuildRequires: ghc-process-devel
|
||||||
BuildRequires: ghc-split-devel
|
|
||||||
BuildRequires: ghc-temporary-devel
|
BuildRequires: ghc-temporary-devel
|
||||||
BuildRequires: ghc-text-devel
|
|
||||||
BuildRequires: ghc-utf8-string-devel
|
BuildRequires: ghc-utf8-string-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@@ -91,10 +94,12 @@ This package provides the Haskell %{name} library development files.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%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}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%cabal_test
|
%cabal_test
|
||||||
@@ -108,6 +113,7 @@ This package provides the Haskell %{name} library development files.
|
|||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.markdown changelog
|
%doc README.markdown changelog
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
|
||||||
%files -n ghc-%{name} -f ghc-%{name}.files
|
%files -n ghc-%{name} -f ghc-%{name}.files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|||||||
Reference in New Issue
Block a user