2021-07-07 16:30:14 +00:00
|
|
|
# generated by cabal-rpm-2.0.9
|
2020-06-04 11:29:19 +00:00
|
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
2018-10-21 10:48:34 +00:00
|
|
|
|
|
|
|
%global pkg_name ghcid
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
2020-02-14 04:39:41 +00:00
|
|
|
%bcond_without tests
|
2018-10-21 10:48:34 +00:00
|
|
|
|
|
|
|
Name: %{pkg_name}
|
2020-06-10 04:05:13 +00:00
|
|
|
Version: 0.8.7
|
2022-07-21 06:09:28 +00:00
|
|
|
Release: 10%{?dist}
|
2018-10-21 10:48:34 +00:00
|
|
|
Summary: GHCi based bare bones IDE
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
Url: https://hackage.haskell.org/package/%{name}
|
2019-02-17 14:48:05 +00:00
|
|
|
# Begin cabal-rpm sources:
|
2018-10-21 10:48:34 +00:00
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
2019-02-17 14:48:05 +00:00
|
|
|
# End cabal-rpm sources
|
2018-10-21 10:48:34 +00:00
|
|
|
|
2019-02-17 14:48:05 +00:00
|
|
|
# Begin cabal-rpm deps:
|
2018-10-21 10:48:34 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-rpm-macros
|
2019-08-05 10:33:19 +00:00
|
|
|
BuildRequires: ghc-ansi-terminal-prof
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
BuildRequires: ghc-cmdargs-prof
|
|
|
|
BuildRequires: ghc-containers-prof
|
|
|
|
BuildRequires: ghc-directory-prof
|
|
|
|
BuildRequires: ghc-extra-prof
|
|
|
|
BuildRequires: ghc-filepath-prof
|
|
|
|
BuildRequires: ghc-fsnotify-prof
|
|
|
|
BuildRequires: ghc-process-prof
|
|
|
|
BuildRequires: ghc-terminal-size-prof
|
|
|
|
BuildRequires: ghc-time-prof
|
|
|
|
BuildRequires: ghc-unix-prof
|
2018-10-21 10:48:34 +00:00
|
|
|
%if %{with tests}
|
|
|
|
BuildRequires: ghc-tasty-devel
|
|
|
|
BuildRequires: ghc-tasty-hunit-devel
|
|
|
|
%endif
|
|
|
|
# End cabal-rpm deps
|
2019-03-19 15:42:04 +00:00
|
|
|
Requires: cabal-install
|
|
|
|
Requires: ghc-compiler
|
2018-10-21 10:48:34 +00:00
|
|
|
|
|
|
|
%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 --command=ghci', where '--command' is the
|
|
|
|
command to start GHCi on your project (defaults to 'ghci' if you have a '.ghci'
|
|
|
|
file, or else to 'cabal repl').
|
|
|
|
|
|
|
|
|
|
|
|
%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}
|
2019-08-05 10:33:19 +00:00
|
|
|
Provides: ghc-%{name}-static%{?_isa} = %{version}-%{release}
|
2018-10-21 10:48:34 +00:00
|
|
|
%if %{defined ghc_version}
|
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
%endif
|
|
|
|
Requires: ghc-%{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n ghc-%{name}-devel
|
|
|
|
This package provides the Haskell %{name} library development files.
|
|
|
|
|
|
|
|
|
2019-07-25 04:27:19 +00:00
|
|
|
%if %{with haddock}
|
|
|
|
%package -n ghc-%{name}-doc
|
|
|
|
Summary: Haskell %{name} library documentation
|
2020-02-07 10:04:14 +00:00
|
|
|
BuildArch: noarch
|
2021-07-07 16:30:14 +00:00
|
|
|
Requires: ghc-filesystem
|
2019-07-25 04:27:19 +00:00
|
|
|
|
|
|
|
%description -n ghc-%{name}-doc
|
|
|
|
This package provides the Haskell %{name} library documentation.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with ghc_prof}
|
|
|
|
%package -n ghc-%{name}-prof
|
|
|
|
Summary: Haskell %{name} profiling library
|
|
|
|
Requires: ghc-%{name}-devel%{?_isa} = %{version}-%{release}
|
2020-02-07 10:04:14 +00:00
|
|
|
Supplements: (ghc-%{name}-devel and ghc-prof)
|
2019-07-25 04:27:19 +00:00
|
|
|
|
|
|
|
%description -n ghc-%{name}-prof
|
|
|
|
This package provides the Haskell %{name} profiling library.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2018-10-21 10:48:34 +00:00
|
|
|
%prep
|
2019-02-17 14:48:05 +00:00
|
|
|
# Begin cabal-rpm setup:
|
2018-10-21 10:48:34 +00:00
|
|
|
%setup -q
|
2019-02-17 14:48:05 +00:00
|
|
|
# End cabal-rpm setup
|
2018-10-21 10:48:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2019-02-17 14:48:05 +00:00
|
|
|
# Begin cabal-rpm build:
|
2018-10-21 10:48:34 +00:00
|
|
|
%ghc_lib_build
|
2019-02-17 14:48:05 +00:00
|
|
|
# End cabal-rpm build
|
2018-10-21 10:48:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2019-02-17 14:48:05 +00:00
|
|
|
# Begin cabal-rpm install
|
2018-10-21 10:48:34 +00:00
|
|
|
%ghc_lib_install
|
2019-02-17 14:48:05 +00:00
|
|
|
# End cabal-rpm install
|
2018-10-21 10:48:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
%check
|
2021-07-07 16:30:14 +00:00
|
|
|
%if %{with tests}
|
2018-10-21 10:48:34 +00:00
|
|
|
%cabal_test
|
2021-07-07 16:30:14 +00:00
|
|
|
%endif
|
2018-10-21 10:48:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
2019-02-17 14:48:05 +00:00
|
|
|
# Begin cabal-rpm files:
|
2018-10-21 10:48:34 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc CHANGES.txt README.md
|
|
|
|
%{_bindir}/%{name}
|
2019-02-17 14:48:05 +00:00
|
|
|
# End cabal-rpm files
|
2018-10-21 10:48:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files -n ghc-%{name} -f ghc-%{name}.files
|
2019-02-17 14:48:05 +00:00
|
|
|
# Begin cabal-rpm files:
|
2018-10-21 10:48:34 +00:00
|
|
|
%license LICENSE
|
2019-02-17 14:48:05 +00:00
|
|
|
# End cabal-rpm files
|
2018-10-21 10:48:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
|
|
|
|
%doc CHANGES.txt README.md
|
|
|
|
|
|
|
|
|
2019-07-25 04:27:19 +00:00
|
|
|
%if %{with haddock}
|
|
|
|
%files -n ghc-%{name}-doc -f ghc-%{name}-doc.files
|
2020-02-07 10:04:14 +00:00
|
|
|
%license LICENSE
|
2019-07-25 04:27:19 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with ghc_prof}
|
|
|
|
%files -n ghc-%{name}-prof -f ghc-%{name}-prof.files
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2018-10-21 10:48:34 +00:00
|
|
|
%changelog
|
2022-07-21 06:09:28 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.7-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-17 17:33:45 +00:00
|
|
|
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 0.8.7-9
|
|
|
|
- rebuild
|
|
|
|
|
2022-01-20 05:54:22 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.7-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2022-01-08 10:11:33 +00:00
|
|
|
* Sat Jan 08 2022 Miro Hrončok <mhroncok@redhat.com> - 0.8.7-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
|
|
|
|
|
2021-08-06 05:26:22 +00:00
|
|
|
* Fri Aug 06 2021 Jens Petersen <petersen@redhat.com> - 0.8.7-6
|
|
|
|
- rebuild
|
|
|
|
|
2021-07-22 01:33:22 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.7-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 08:01:09 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.7-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-08-01 01:12:12 +00:00
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.7-3
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-27 19:57:00 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-10 04:05:13 +00:00
|
|
|
* Wed Jun 10 2020 Jens Petersen <petersen@redhat.com> - 0.8.7-1
|
|
|
|
- update to 0.8.7
|
|
|
|
|
2020-02-14 04:39:41 +00:00
|
|
|
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 0.7.7-1
|
|
|
|
- update to 0.7.7
|
|
|
|
|
2020-01-28 21:47:54 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-25 17:08:05 +00:00
|
|
|
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 0.7.4-1
|
|
|
|
- update to 0.7.4
|
|
|
|
|
2019-07-25 03:18:27 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-03-19 15:42:04 +00:00
|
|
|
* Tue Mar 19 2019 Jens Petersen <petersen@redhat.com> - 0.7.1-4
|
|
|
|
- requires ghc-compiler and cabal-install
|
|
|
|
|
2019-02-17 14:48:05 +00:00
|
|
|
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.7.1-3
|
|
|
|
- refresh to cabal-rpm-0.13
|
|
|
|
|
2019-01-31 22:18:13 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-10-21 10:48:34 +00:00
|
|
|
* Mon Oct 15 2018 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.7.1-1
|
|
|
|
- spec file generated by cabal-rpm-0.12.5
|