# generated by cabal-rpm-2.0.6 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name network-bsd %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} Version: 2.8.0.0 Release: 1%{?dist} Summary: Network.BSD License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # End cabal-rpm sources # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-prof BuildRequires: ghc-network-prof # End cabal-rpm deps %description This package reexports the "Network.BSD" module split from the package. See newer versions of for more information. %package devel Summary: Haskell %{pkg_name} library development files %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} %endif %description devel This package provides the Haskell %{pkg_name} library development files. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} # End cabal-rpm setup %build # Begin cabal-rpm build: %ghc_lib_build_without_haddock # End cabal-rpm build %install # Begin cabal-rpm install %ghc_lib_install mv %{buildroot}%{_ghcdocdir}{,-devel} # End cabal-rpm install %files devel -f %{name}-devel.files %license LICENSE %changelog * Thu Jun 18 2020 Jens Petersen - 2.8.0.0-1 - spec file generated by cabal-rpm-2.0.6