# generated by cabal-rpm-0.11.2 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name hlint %global pkgver %{pkg_name}-%{version} Name: %{pkg_name} Version: 2.0.10 Release: 1%{?dist} Summary: Source code suggestions License: BSD Url: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: chrpath BuildRequires: ghc-aeson-devel >= 1.1.2.0 BuildRequires: ghc-ansi-terminal-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-cmdargs-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-cpphs-devel BuildRequires: ghc-data-default-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-extra-devel BuildRequires: ghc-filepath-devel BuildRequires: ghc-haskell-src-exts-devel BuildRequires: ghc-haskell-src-exts-util-devel BuildRequires: ghc-hscolour-devel BuildRequires: ghc-process-devel BuildRequires: ghc-refact-devel BuildRequires: ghc-text-devel BuildRequires: ghc-transformers-devel BuildRequires: ghc-uniplate-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-vector-devel BuildRequires: ghc-yaml-devel # End cabal-rpm deps %description HLint gives suggestions on how to improve your source code. %package -n ghc-%{name} Summary: Haskell %{name} library %description -n ghc-%{name} This package provides the Haskell %{name} shared library. %package -n ghc-%{name}-devel Summary: Haskell %{name} library development files Provides: ghc-%{name}-static = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} Requires: ghc-%{name}%{?_isa} = %{version}-%{release} %description -n ghc-%{name}-devel This package provides the Haskell %{name} library development files. %prep %setup -q %build %ghc_lib_build %install %ghc_lib_install %ghc_fix_rpath %{pkgver} %post -n ghc-%{name}-devel %ghc_pkg_recache %postun -n ghc-%{name}-devel %ghc_pkg_recache %files %license LICENSE %doc CHANGES.txt README.md %{_bindir}/%{name} %files -n ghc-%{name} -f ghc-%{name}.files %license LICENSE %{_datadir}/%{pkgver} %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files %doc CHANGES.txt README.md %changelog * Mon Dec 4 2017 Fedora Haskell SIG - 2.0.10-1 - spec file generated by cabal-rpm-0.11.2