2020-06-04 11:29:27 +00:00
|
|
|
# generated by cabal-rpm-2.0.5 --subpackage
|
|
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
2014-04-14 04:20:12 +00:00
|
|
|
|
2014-05-16 14:55:02 +00:00
|
|
|
%global pkg_name shake
|
2017-02-23 04:39:25 +00:00
|
|
|
%global pkgver %{pkg_name}-%{version}
|
2014-05-16 14:55:02 +00:00
|
|
|
|
2017-02-23 04:39:25 +00:00
|
|
|
%global jsflot js-flot-0.8.3
|
2018-07-22 14:43:27 +00:00
|
|
|
%global jsjquery js-jquery-3.3.1
|
2019-07-27 04:48:50 +00:00
|
|
|
%global filepattern filepattern-0.1.1
|
|
|
|
%global heaps heaps-0.3.6.1
|
|
|
|
%global jsdgtable js-dgtable-0.5.2
|
|
|
|
%global subpkgs %{jsflot} %{jsjquery} %{filepattern} %{heaps} %{jsdgtable}
|
2014-04-14 04:20:12 +00:00
|
|
|
|
2020-02-06 16:35:18 +00:00
|
|
|
# failing to build
|
2018-01-10 04:32:29 +00:00
|
|
|
%bcond_with tests
|
2014-04-14 04:20:12 +00:00
|
|
|
|
|
|
|
Name: %{pkg_name}
|
2020-02-14 07:01:15 +00:00
|
|
|
Version: 0.18.5
|
2017-02-23 04:39:25 +00:00
|
|
|
# can only be reset when all subpkgs bumped
|
2020-02-21 10:36:59 +00:00
|
|
|
Release: 14%{?dist}
|
2018-07-22 14:43:27 +00:00
|
|
|
Summary: Build system library, like Make, but more accurate dependencies
|
2014-04-14 04:20:12 +00:00
|
|
|
|
|
|
|
License: BSD
|
2017-02-23 04:39:25 +00:00
|
|
|
Url: https://hackage.haskell.org/package/%{name}
|
2019-02-17 14:48:06 +00:00
|
|
|
# Begin cabal-rpm sources:
|
2017-02-23 04:39:25 +00:00
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
|
Source1: https://hackage.haskell.org/package/%{jsflot}/%{jsflot}.tar.gz
|
|
|
|
Source2: https://hackage.haskell.org/package/%{jsjquery}/%{jsjquery}.tar.gz
|
2019-07-27 04:48:50 +00:00
|
|
|
Source3: https://hackage.haskell.org/package/%{filepattern}/%{filepattern}.tar.gz
|
|
|
|
Source4: https://hackage.haskell.org/package/%{heaps}/%{heaps}.tar.gz
|
|
|
|
Source5: https://hackage.haskell.org/package/%{jsdgtable}/%{jsdgtable}.tar.gz
|
2019-02-17 14:48:06 +00:00
|
|
|
# End cabal-rpm sources
|
2014-04-14 04:20:12 +00:00
|
|
|
|
2019-02-17 14:48:06 +00:00
|
|
|
# Begin cabal-rpm deps:
|
2014-04-14 04:20:12 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
2017-02-23 04:39:25 +00:00
|
|
|
BuildRequires: ghc-rpm-macros-extra
|
2019-08-05 10:33:29 +00:00
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
BuildRequires: ghc-binary-prof
|
|
|
|
BuildRequires: ghc-bytestring-prof
|
|
|
|
BuildRequires: ghc-deepseq-prof
|
|
|
|
BuildRequires: ghc-directory-prof
|
|
|
|
BuildRequires: ghc-extra-prof
|
2020-02-14 07:01:15 +00:00
|
|
|
BuildRequires: ghc-file-embed-prof
|
2019-08-05 10:33:29 +00:00
|
|
|
BuildRequires: ghc-filepath-prof
|
|
|
|
#BuildRequires: ghc-filepattern-prof
|
|
|
|
BuildRequires: ghc-hashable-prof
|
|
|
|
#BuildRequires: ghc-heaps-prof
|
|
|
|
#BuildRequires: ghc-js-dgtable-prof
|
|
|
|
#BuildRequires: ghc-js-flot-prof
|
|
|
|
#BuildRequires: ghc-js-jquery-prof
|
|
|
|
BuildRequires: ghc-primitive-prof
|
|
|
|
BuildRequires: ghc-process-prof
|
|
|
|
BuildRequires: ghc-random-prof
|
2020-02-14 07:01:15 +00:00
|
|
|
BuildRequires: ghc-template-haskell-prof
|
2019-08-05 10:33:29 +00:00
|
|
|
BuildRequires: ghc-time-prof
|
|
|
|
BuildRequires: ghc-transformers-prof
|
|
|
|
BuildRequires: ghc-unix-prof
|
|
|
|
BuildRequires: ghc-unordered-containers-prof
|
|
|
|
BuildRequires: ghc-utf8-string-prof
|
2014-05-16 14:55:02 +00:00
|
|
|
%if %{with tests}
|
2014-04-14 04:20:12 +00:00
|
|
|
BuildRequires: ghc-QuickCheck-devel
|
|
|
|
%endif
|
2019-02-17 14:48:06 +00:00
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
2014-05-16 14:55:02 +00:00
|
|
|
# End cabal-rpm deps
|
2018-01-10 02:11:50 +00:00
|
|
|
# for js-flot
|
2019-08-05 10:33:29 +00:00
|
|
|
BuildRequires: ghc-HTTP-prof
|
2020-02-21 10:30:59 +00:00
|
|
|
# hack until they are packaged since now embedded
|
|
|
|
BuildRequires: ghc-js-jquery
|
|
|
|
BuildRequires: ghc-js-dgtable
|
|
|
|
BuildRequires: ghc-js-flot
|
2014-04-14 04:20:12 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Shake is a Haskell library for writing build systems - designed as a
|
2014-09-25 10:00:15 +00:00
|
|
|
replacement for 'make'. See "Development.Shake" for an introduction, including
|
2018-07-22 14:43:27 +00:00
|
|
|
an example. The homepage contains links to a user manual, an academic paper and
|
|
|
|
further information: <https://shakebuild.com>
|
2014-04-14 04:20:12 +00:00
|
|
|
|
2018-07-22 14:43:27 +00:00
|
|
|
To use Shake the user writes a Haskell program that imports
|
|
|
|
"Development.Shake", defines some build rules, and calls the
|
|
|
|
'Development.Shake.shakeArgs' function. Thanks to do notation and infix
|
|
|
|
operators, a simple Shake build system is not too dissimilar from a simple
|
|
|
|
Makefile. However, as build systems get more complex, Shake is able to take
|
|
|
|
advantage of the excellent abstraction facilities offered by Haskell and easily
|
|
|
|
support much larger projects. The Shake library provides all the standard
|
|
|
|
features available in other build systems, including automatic parallelism and
|
|
|
|
minimal rebuilds. Shake also provides more accurate dependency tracking,
|
|
|
|
including seamless support for generated files, and dependencies on system
|
|
|
|
information (e.g. compiler version).
|
2014-04-14 04:20:12 +00:00
|
|
|
|
|
|
|
|
2019-02-17 14:48:06 +00:00
|
|
|
%package common
|
|
|
|
Summary: %{name} common files
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description common
|
|
|
|
This package provides the %{name} common data files.
|
|
|
|
|
|
|
|
|
2014-04-14 04:20:12 +00:00
|
|
|
%package -n ghc-%{name}
|
|
|
|
Summary: Haskell %{name} library
|
2019-02-17 14:48:06 +00:00
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
2014-04-14 04:20:12 +00:00
|
|
|
|
|
|
|
%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:29 +00:00
|
|
|
Provides: ghc-%{name}-static%{?_isa} = %{version}-%{release}
|
2018-01-09 10:36:34 +00:00
|
|
|
%if %{defined ghc_version}
|
2014-04-14 04:20:12 +00:00
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
2018-01-09 10:36:34 +00:00
|
|
|
%endif
|
2014-04-14 04:20:12 +00:00
|
|
|
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:29 +00:00
|
|
|
%if %{with haddock}
|
|
|
|
%package -n ghc-%{name}-doc
|
|
|
|
Summary: Haskell %{name} library documentation
|
2020-02-06 16:35:18 +00:00
|
|
|
BuildArch: noarch
|
2019-07-25 04:27:29 +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-06 16:35:18 +00:00
|
|
|
Supplements: (ghc-%{name}-devel and ghc-prof)
|
2019-07-25 04:27:29 +00:00
|
|
|
|
|
|
|
%description -n ghc-%{name}-prof
|
|
|
|
This package provides the Haskell %{name} profiling library.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2017-02-23 04:39:25 +00:00
|
|
|
%global main_version %{version}
|
|
|
|
|
|
|
|
%if %{defined ghclibdir}
|
|
|
|
%ghc_lib_subpackage %{jsflot}
|
2020-02-21 10:25:50 +00:00
|
|
|
%ghc_lib_subpackage %{jsjquery}
|
2019-07-27 04:48:50 +00:00
|
|
|
%ghc_lib_subpackage %{filepattern}
|
|
|
|
%ghc_lib_subpackage %{heaps}
|
|
|
|
%ghc_lib_subpackage %{jsdgtable}
|
2017-02-23 04:39:25 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%global version %{main_version}
|
|
|
|
|
|
|
|
|
2014-04-14 04:20:12 +00:00
|
|
|
%prep
|
2019-02-17 14:48:06 +00:00
|
|
|
# Begin cabal-rpm setup:
|
2019-07-27 04:48:50 +00:00
|
|
|
%setup -q -a1 -a2 -a3 -a4 -a5
|
2019-02-17 14:48:06 +00:00
|
|
|
# End cabal-rpm setup
|
2014-04-14 04:20:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2019-02-17 14:48:06 +00:00
|
|
|
# Begin cabal-rpm build:
|
2017-02-23 04:39:25 +00:00
|
|
|
%ghc_libs_build %{subpkgs}
|
2014-04-14 04:20:12 +00:00
|
|
|
%ghc_lib_build
|
2019-02-17 14:48:06 +00:00
|
|
|
# End cabal-rpm build
|
2014-04-14 04:20:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2019-02-17 14:48:06 +00:00
|
|
|
# Begin cabal-rpm install
|
2017-02-23 04:39:25 +00:00
|
|
|
%ghc_libs_install %{subpkgs}
|
2014-04-14 04:20:12 +00:00
|
|
|
%ghc_lib_install
|
2019-02-17 14:48:06 +00:00
|
|
|
%ghc_fix_rpath %{pkgver}
|
|
|
|
mv %{buildroot}%{_ghcdocdir}{,-common}
|
|
|
|
# End cabal-rpm install
|
2014-04-14 04:20:12 +00:00
|
|
|
|
2017-02-23 04:39:25 +00:00
|
|
|
echo "%{_datadir}/%{jsflot}/" >> %{jsflot}/ghc-js-flot.files
|
2020-02-21 10:25:50 +00:00
|
|
|
echo "%{_datadir}/%{jsjquery}/" >> %{jsjquery}/ghc-js-jquery.files
|
2019-07-27 04:48:50 +00:00
|
|
|
echo "%{_datadir}/%{jsdgtable}/" >> %{jsdgtable}/ghc-js-dgtable.files
|
2017-02-23 04:39:25 +00:00
|
|
|
|
2017-11-15 05:51:57 +00:00
|
|
|
rm %{buildroot}%{_datadir}/%{pkgver}/docs/manual/*
|
2014-04-14 04:20:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
%check
|
2016-09-27 10:16:01 +00:00
|
|
|
%cabal_test
|
2014-04-14 04:20:12 +00:00
|
|
|
|
|
|
|
|
2020-02-06 16:35:18 +00:00
|
|
|
%if 0%{?fedora} < 31 || 0%{?rhel} < 8
|
|
|
|
%post -n ghc-%{name}-devel
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
%postun -n ghc-%{name}-devel
|
|
|
|
%ghc_pkg_recache
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2014-04-14 04:20:12 +00:00
|
|
|
%files
|
2019-02-17 14:48:06 +00:00
|
|
|
# Begin cabal-rpm files:
|
2014-04-14 04:20:12 +00:00
|
|
|
%{_bindir}/%{name}
|
2019-02-17 14:48:06 +00:00
|
|
|
# End cabal-rpm files
|
2014-04-14 04:20:12 +00:00
|
|
|
|
|
|
|
|
2019-02-17 14:48:06 +00:00
|
|
|
%files common
|
|
|
|
# Begin cabal-rpm files:
|
2016-09-28 09:32:27 +00:00
|
|
|
%license LICENSE
|
2019-02-17 14:48:06 +00:00
|
|
|
%doc CHANGES.txt README.md
|
2017-11-15 05:51:57 +00:00
|
|
|
%{_datadir}/%{pkgver}
|
2019-02-17 14:48:06 +00:00
|
|
|
# End cabal-rpm files
|
|
|
|
|
|
|
|
|
|
|
|
%files -n ghc-%{name} -f ghc-%{name}.files
|
|
|
|
|
2014-04-14 04:20:12 +00:00
|
|
|
|
|
|
|
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
|
|
|
|
|
|
|
|
|
2019-07-25 04:27:29 +00:00
|
|
|
%if %{with haddock}
|
|
|
|
%files -n ghc-%{name}-doc -f ghc-%{name}-doc.files
|
2020-02-06 16:35:18 +00:00
|
|
|
%license LICENSE
|
2019-07-25 04:27:29 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with ghc_prof}
|
|
|
|
%files -n ghc-%{name}-prof -f ghc-%{name}-prof.files
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2014-04-14 04:20:12 +00:00
|
|
|
%changelog
|
2020-02-21 10:36:59 +00:00
|
|
|
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 0.18.5-14
|
2020-02-14 07:01:15 +00:00
|
|
|
- update to 0.18.5
|
|
|
|
|
2020-01-30 23:21:00 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.9-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-27 04:48:50 +00:00
|
|
|
* Sat Jul 27 2019 Jens Petersen <petersen@redhat.com>
|
|
|
|
- update to 0.17.9
|
|
|
|
|
2019-07-26 23:11:17 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.4-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-17 14:48:06 +00:00
|
|
|
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.16.4-10
|
|
|
|
- refresh to cabal-rpm-0.13
|
|
|
|
|
2019-02-02 15:17:56 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.4-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-22 14:43:27 +00:00
|
|
|
* Sun Jul 22 2018 Jens Petersen <petersen@redhat.com> - 0.16.4-8
|
|
|
|
- update to 0.16.4
|
|
|
|
|
2018-07-14 06:02:39 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-09 16:36:22 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-26 11:09:26 +00:00
|
|
|
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.16-5
|
|
|
|
- rebuild
|
|
|
|
|
2018-01-09 10:36:34 +00:00
|
|
|
* Tue Jan 09 2018 Jens Petersen <petersen@redhat.com> - 0.16-4
|
|
|
|
- update to 0.16
|
|
|
|
|
2017-08-03 08:23:33 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.11-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 18:31:03 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.11-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-23 04:39:25 +00:00
|
|
|
* Thu Feb 23 2017 Jens Petersen <petersen@redhat.com> - 0.13.4-1
|
|
|
|
- update to 0.15.11
|
|
|
|
- subpackage js-flot and js-jquery
|
|
|
|
|
2017-02-11 13:22:14 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-07-11 08:29:10 +00:00
|
|
|
* Mon Jul 11 2016 Jens Petersen <petersen@redhat.com> - 0.13.4-4
|
|
|
|
- patch for ghc8 Prelude.(*>)
|
|
|
|
- disable tests due to -Wall -Werror
|
|
|
|
|
2016-02-04 23:55:27 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-19 00:44:21 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-09-25 10:00:15 +00:00
|
|
|
* Thu Sep 25 2014 Jens Petersen <petersen@redhat.com> - 0.13.4-1
|
|
|
|
- update to 0.13.4
|
2014-08-27 08:17:20 +00:00
|
|
|
|
2014-08-18 02:09:25 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.4-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-08 06:14:28 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-16 15:17:16 +00:00
|
|
|
* Sat May 17 2014 Jens Petersen <petersen@redhat.com> - 0.11.4-4
|
2014-05-16 14:55:02 +00:00
|
|
|
- adapt to new tests bcond in ghc-rpm-macros
|
|
|
|
|
2014-04-14 04:31:27 +00:00
|
|
|
* Mon Apr 14 2014 Jens Petersen <petersen@redhat.com> - 0.11.4-3
|
|
|
|
- use global to define cabal_configure_options (#1082515)
|
|
|
|
|
2014-04-14 04:20:12 +00:00
|
|
|
* Mon Mar 31 2014 Jens Petersen <petersen@redhat.com> - 0.11.4-2
|
|
|
|
- testsuite uses TemplateHaskell so only run it on Intel archs for now
|
|
|
|
|
|
|
|
* Mon Mar 31 2014 Jens Petersen <petersen@redhat.com> - 0.11.4-1
|
|
|
|
- update to 0.11.4
|
|
|
|
- bcond enable testsuite
|
|
|
|
|
|
|
|
* Sun Jan 5 2014 Jens Petersen <petersen@redhat.com> - 0.11-1
|
|
|
|
- update to 0.11
|
|
|
|
|
|
|
|
* Sat Jan 4 2014 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.10.10
|
|
|
|
- spec file generated by cabal-rpm-0.8.7
|