ghc-yaml/ghc-yaml.spec

302 lines
9.4 KiB
RPMSpec
Raw Normal View History

2021-07-07 16:30:14 +00:00
# generated by cabal-rpm-2.0.9 --subpackage
2020-06-04 11:29:14 +00:00
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
2013-11-19 09:31:05 +00:00
%global pkg_name yaml
2017-02-22 03:19:35 +00:00
%global pkgver %{pkg_name}-%{version}
2013-11-19 09:31:05 +00:00
2019-07-25 17:05:07 +00:00
%global libyaml libyaml-0.1.1.0
%global subpkgs %{libyaml}
2020-06-19 08:57:52 +00:00
# testsuite missing deps: raw-strings-qq
2013-11-19 09:31:05 +00:00
Name: ghc-%{pkg_name}
2022-06-07 07:26:14 +00:00
Version: 0.11.8.0
2019-07-25 17:05:07 +00:00
# can only be reset when all subpkgs bumped
Release: 14%{?dist}
2013-11-19 09:31:05 +00:00
Summary: Support for parsing and rendering YAML documents
License: BSD
2015-01-28 06:09:44 +00:00
Url: https://hackage.haskell.org/package/%{pkg_name}
2019-02-17 14:48:01 +00:00
# Begin cabal-rpm sources:
2017-02-22 03:19:35 +00:00
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
2019-07-25 17:05:07 +00:00
Source1: https://hackage.haskell.org/package/%{libyaml}/%{libyaml}.tar.gz
2019-02-17 14:48:01 +00:00
# End cabal-rpm sources
2019-08-08 20:25:37 +00:00
Patch1: system-libyaml.patch
2013-11-19 09:31:05 +00:00
2019-02-17 14:48:01 +00:00
# Begin cabal-rpm deps:
2013-11-19 09:31:05 +00:00
BuildRequires: ghc-Cabal-devel
2019-07-25 17:05:07 +00:00
BuildRequires: ghc-rpm-macros-extra
BuildRequires: ghc-aeson-prof
BuildRequires: ghc-attoparsec-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-conduit-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-directory-prof
BuildRequires: ghc-filepath-prof
#BuildRequires: ghc-libyaml-prof
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-resourcet-prof
BuildRequires: ghc-scientific-prof
BuildRequires: ghc-template-haskell-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-unordered-containers-prof
BuildRequires: ghc-vector-prof
2013-11-19 09:31:05 +00:00
# End cabal-rpm deps
2019-07-25 17:05:07 +00:00
BuildRequires: libyaml-devel
2013-11-19 09:31:05 +00:00
%description
Provides support for parsing and emitting Yaml documents.
The package is broken down into two modules. "Data.Yaml" provides a high-level
2015-01-28 06:09:44 +00:00
interface based around the JSON datatypes provided by the 'aeson' package.
2013-11-19 09:31:05 +00:00
"Text.Libyaml" provides a lower-level, streaming interface. For most users,
"Data.Yaml" is recommended.
%package devel
Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
Provides: %{name}-static%{?_isa} = %{version}-%{release}
2018-01-24 13:12:25 +00:00
%if %{defined ghc_version}
2013-11-19 09:31:05 +00:00
Requires: ghc-compiler = %{ghc_version}
2018-01-24 13:12:25 +00:00
%endif
2013-11-19 09:31:05 +00:00
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%if %{with haddock}
%package doc
Summary: Haskell %{pkg_name} library documentation
2020-02-06 16:19:54 +00:00
BuildArch: noarch
2021-07-07 16:30:14 +00:00
Requires: ghc-filesystem
%description doc
This package provides the Haskell %{pkg_name} library documentation.
%endif
%if %{with ghc_prof}
%package prof
Summary: Haskell %{pkg_name} profiling library
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
2020-02-06 16:19:54 +00:00
Supplements: (%{name}-devel and ghc-prof)
%description prof
This package provides the Haskell %{pkg_name} profiling library.
%endif
2019-07-25 17:05:07 +00:00
%global main_version %{version}
%if %{defined ghclibdir}
2019-08-08 20:25:37 +00:00
%ghc_lib_subpackage -c libyaml-devel%{?_isa} %{libyaml}
2019-07-25 17:05:07 +00:00
%endif
%global version %{main_version}
2016-09-01 06:11:55 +00:00
%prep
2019-02-17 14:48:01 +00:00
# Begin cabal-rpm setup:
2019-07-25 17:05:07 +00:00
%setup -q -n %{pkgver} -a1
2019-02-17 14:48:01 +00:00
# End cabal-rpm setup
2019-08-08 20:25:37 +00:00
%patch1 -p1 -b .orig
2019-07-25 17:05:07 +00:00
(
cd %{libyaml}
# remove the bundled lib
rm -r libyaml_src
)
2013-11-19 09:31:05 +00:00
%build
2019-02-17 14:48:01 +00:00
# Begin cabal-rpm build:
2019-07-25 17:05:07 +00:00
%ghc_libs_build %{subpkgs}
2017-01-06 02:57:48 +00:00
%ghc_lib_build
2019-02-17 14:48:01 +00:00
# End cabal-rpm build
2013-11-19 09:31:05 +00:00
%install
2019-02-17 14:48:01 +00:00
# Begin cabal-rpm install
2019-07-25 17:05:07 +00:00
%ghc_libs_install %{subpkgs}
2017-01-06 02:57:48 +00:00
%ghc_lib_install
2019-07-25 17:05:07 +00:00
%ghc_fix_rpath %{pkgver}
2019-02-17 14:48:01 +00:00
# End cabal-rpm install
2013-11-19 09:31:05 +00:00
2015-01-28 06:09:44 +00:00
2013-11-19 09:31:05 +00:00
%files -f %{name}.files
2019-02-17 14:48:01 +00:00
# Begin cabal-rpm files:
2017-01-19 12:10:38 +00:00
%license LICENSE
2019-02-17 14:48:01 +00:00
# End cabal-rpm files
2013-11-19 09:31:05 +00:00
%files devel -f %{name}-devel.files
2017-01-06 02:57:48 +00:00
%doc ChangeLog.md README.md examples
2013-11-19 09:31:05 +00:00
%if %{with haddock}
%files doc -f %{name}-doc.files
2020-02-06 16:19:54 +00:00
%license LICENSE
%endif
%if %{with ghc_prof}
%files prof -f %{name}-prof.files
%endif
2013-11-19 09:31:05 +00:00
%changelog
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.8.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2022-06-07 07:26:14 +00:00
* Tue Jun 07 2022 Jens Petersen <petersen@redhat.com> - 0.11.8.0-13
- https://hackage.haskell.org/package/yaml-0.11.8.0/changelog
2022-03-10 06:57:25 +00:00
* Thu Mar 10 2022 Jens Petersen <petersen@redhat.com> - 0.11.5.0-12
- rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.5.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2021-08-07 22:03:30 +00:00
* Sun Aug 8 2021 Jens Petersen <petersen@redhat.com> - 0.11.5.0-10
2021-08-05 05:00:41 +00:00
- update to 0.11.5.0
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.4.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.4.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.4.0-7
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.4.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-06-10 04:04:06 +00:00
* Wed Jun 10 2020 Jens Petersen <petersen@redhat.com> - 0.11.4.0-5
- update to 0.11.4.0
2020-02-14 04:37:49 +00:00
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 0.11.2.0-4
- update to 0.11.2.0
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2019-08-08 20:25:37 +00:00
* Thu Aug 8 2019 Jens Petersen <petersen@redhat.com> - 0.11.1.0-2
- patch .cabal for system libyaml
2019-07-25 17:05:07 +00:00
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 0.11.1.0-1
- update to 0.11.1.0
- subpackage libyaml
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.32-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-02-17 14:48:01 +00:00
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.8.32-5
- refresh to cabal-rpm-0.13
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.32-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Aug 7 2018 Jens Petersen <petersen@redhat.com> - 0.8.32-3
- try using the bundled libyaml to see if it fixes missing symbols
2018-08-07 04:40:48 +00:00
* Tue Aug 7 2018 Jens Petersen <petersen@redhat.com> - 0.8.32-2
- rebuild
* Wed Aug 1 2018 Jens Petersen <petersen@redhat.com> - 0.8.32-2
2018-08-07 04:40:48 +00:00
2018-07-28 09:50:53 +00:00
* Thu Jul 26 2018 Jens Petersen <petersen@redhat.com> - 0.8.32-1
- update to 0.8.32
* Tue Jul 24 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.25.1-5
- Enable annotated build again
2018-07-23 11:41:56 +00:00
* Mon Jul 23 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.25.1-4
- Rebuilt for #1607054
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.25.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.25.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2018-01-24 15:02:32 +00:00
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 0.8.25.1-1
- update to 0.8.25.1
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.21.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.21.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-02-22 03:19:35 +00:00
* Wed Feb 22 2017 Jens Petersen <petersen@redhat.com> - 0.8.21.2-1
- update to 0.8.21.2
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.18.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2017-01-06 02:57:48 +00:00
* Fri Jan 6 2017 Jens Petersen <petersen@redhat.com> - 0.8.18.7-3
- unsubpackage enclosed-exceptions
2016-09-27 10:36:46 +00:00
* Tue Sep 27 2016 Jens Petersen <petersen@redhat.com> - 0.8.18.7-2
- bump
* Tue Sep 27 2016 Jens Petersen <petersen@redhat.com> - 0.8.18.7-1
- update to 0.8.18.7
2016-08-31 05:22:46 +00:00
* Wed Aug 31 2016 Jens Petersen <petersen@redhat.com> - 0.8.18.1-1
- update to 0.8.18.1
2016-09-01 06:11:55 +00:00
- subpackage enclosed-exceptions dep
2016-08-31 05:22:46 +00:00
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2015-08-31 21:31:16 +00:00
* Mon Aug 31 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.8.10-3
- Rebuild (aarch64 vector hashes)
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-03-03 16:02:03 +00:00
* Wed Mar 4 2015 Jens Petersen <petersen@fedoraproject.org> - 0.8.10-1
- update to 0.8.10
2015-01-28 06:09:44 +00:00
* Wed Jan 28 2015 Jens Petersen <petersen@redhat.com> - 0.8.8.2-5
- cblrpm refresh
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-05-26 18:46:17 +00:00
* Mon May 26 2014 Adam Williamson <awilliam@redhat.com> - 0.8.8.2-2
- rebuild for new ghc-scientific
* Fri May 02 2014 Jens Petersen <petersen@redhat.com> - 0.8.8.2-1
- update to 0.8.8.2
- no longer exclude arm
2014-01-22 10:08:25 +00:00
* Wed Jan 22 2014 Jens Petersen <petersen@redhat.com> - 0.8.5.3-1
- update to 0.8.5.3
2013-12-05 08:26:50 +00:00
* Thu Dec 5 2013 Ricky Elrod <codeblock@fedoraproject.org> - 0.8.5.2-1
- Latest upstream version.
2013-11-19 09:38:22 +00:00
* Tue Nov 19 2013 Jens Petersen <petersen@redhat.com> - 0.8.5-3
- run chrpath on yaml2json (#1008787)
2013-11-19 09:31:05 +00:00
* Wed Oct 16 2013 Jens Petersen <petersen@redhat.com> - 0.8.5-2
- add static provides and pkgconfig requires to devel
* Tue Sep 17 2013 Jens Petersen <petersen@redhat.com> - 0.8.5-1
- build with system libyaml
- package yaml2json in devel subpackage
- exclude armv7hl because of conduit
* Tue Sep 17 2013 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.8.5-0
- spec file generated by cabal-rpm-0.8.3