diff --git a/ghcid-0.8.7.cabal b/ghcid-0.8.7.cabal new file mode 100644 index 0000000..9d60b88 --- /dev/null +++ b/ghcid-0.8.7.cabal @@ -0,0 +1,118 @@ +cabal-version: >= 1.18 +build-type: Simple +name: ghcid +version: 0.8.7 +x-revision: 1 +license: BSD3 +license-file: LICENSE +category: Development +author: Neil Mitchell , jpmoresmau +maintainer: Neil Mitchell +copyright: Neil Mitchell 2014-2020 +synopsis: GHCi based bare bones IDE +description: + Either \"GHCi as a daemon\" or \"GHC + a bit of an IDE\". A very simple Haskell development tool which shows you the errors in your project and updates them whenever you save. Run @ghcid --topmost --command=ghci@, where @--topmost@ makes the window on top of all others (Windows only) and @--command@ is the command to start GHCi on your project (defaults to @ghci@ if you have a @.ghci@ file, or else to @cabal repl@). +homepage: https://github.com/ndmitchell/ghcid#readme +bug-reports: https://github.com/ndmitchell/ghcid/issues +tested-with: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2 +extra-doc-files: + CHANGES.txt + README.md + +source-repository head + type: git + location: https://github.com/ndmitchell/ghcid.git + +library + hs-source-dirs: src + default-language: Haskell2010 + build-depends: + base >= 4.7 && < 5, + filepath, + time >= 1.5, + directory >= 1.2, + extra >= 1.6.20, + process >= 1.1, + ansi-terminal, + cmdargs >= 0.10 + + exposed-modules: + Language.Haskell.Ghcid + other-modules: + Paths_ghcid + Language.Haskell.Ghcid.Escape + Language.Haskell.Ghcid.Parser + Language.Haskell.Ghcid.Types + Language.Haskell.Ghcid.Util + +executable ghcid + hs-source-dirs: src + default-language: Haskell2010 + ghc-options: -main-is Ghcid.main -threaded -rtsopts + main-is: Ghcid.hs + build-depends: + base >= 4.7 && < 5, + filepath, + time >= 1.5, + directory >= 1.2, + containers, + fsnotify >= 0.3 && < 0.4, + extra >= 1.6.20, + process >= 1.1, + cmdargs >= 0.10, + ansi-terminal, + terminal-size >= 0.3 + if os(windows) + build-depends: Win32 + else + build-depends: unix + other-modules: + Language.Haskell.Ghcid.Escape + Language.Haskell.Ghcid.Parser + Language.Haskell.Ghcid.Terminal + Language.Haskell.Ghcid.Types + Language.Haskell.Ghcid.Util + Language.Haskell.Ghcid + Paths_ghcid + Session + Wait + +test-suite ghcid_test + type: exitcode-stdio-1.0 + hs-source-dirs: src + main-is: Test.hs + ghc-options: -rtsopts -main-is Test.main -threaded -with-rtsopts=-K1K + default-language: Haskell2010 + build-depends: + base >= 4.7 && < 5, + filepath, + time >= 1.5, + directory >= 1.2, + process, + containers, + fsnotify, + extra >= 1.6.6, + ansi-terminal, + terminal-size >= 0.3, + cmdargs, + tasty, + tasty-hunit + if os(windows) + build-depends: Win32 + else + build-depends: unix + other-modules: + Ghcid + Language.Haskell.Ghcid + Language.Haskell.Ghcid.Escape + Language.Haskell.Ghcid.Parser + Language.Haskell.Ghcid.Terminal + Language.Haskell.Ghcid.Types + Language.Haskell.Ghcid.Util + Paths_ghcid + Session + Test.API + Test.Ghcid + Test.Parser + Test.Util + Wait diff --git a/ghcid.spec b/ghcid.spec index 9d70370..9b2f398 100644 --- a/ghcid.spec +++ b/ghcid.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.9 +# generated by cabal-rpm-2.1.0 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name ghcid @@ -8,10 +8,10 @@ Name: %{pkg_name} Version: 0.8.7 -Release: 10%{?dist} +Release: 11%{?dist} Summary: GHCi based bare bones IDE -License: BSD +License: BSD-3-Clause Url: https://hackage.haskell.org/package/%{name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz @@ -20,6 +20,19 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros +BuildRequires: ghc-ansi-terminal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-cmdargs-devel +BuildRequires: ghc-containers-devel +BuildRequires: ghc-directory-devel +BuildRequires: ghc-extra-devel +BuildRequires: ghc-filepath-devel +BuildRequires: ghc-fsnotify-devel +BuildRequires: ghc-process-devel +BuildRequires: ghc-terminal-size-devel +BuildRequires: ghc-time-devel +BuildRequires: ghc-unix-devel +%if %{with ghc_prof} BuildRequires: ghc-ansi-terminal-prof BuildRequires: ghc-base-prof BuildRequires: ghc-cmdargs-prof @@ -32,6 +45,7 @@ BuildRequires: ghc-process-prof BuildRequires: ghc-terminal-size-prof BuildRequires: ghc-time-prof BuildRequires: ghc-unix-prof +%endif %if %{with tests} BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-hunit-devel @@ -144,6 +158,9 @@ This package provides the Haskell %{name} profiling library. %changelog +* Thu Feb 16 2023 Jens Petersen - 0.8.7-11 +- refresh to cabal-rpm-2.1.0 with SPDX migration + * Thu Jul 21 2022 Fedora Release Engineering - 0.8.7-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild