# generated by cabal-rpm-2.0.9 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name haskell-src-exts %global pkgver %{pkg_name}-%{version} # testsuite missing deps: tasty-golden tasty-smallcheck Name: ghc-%{pkg_name} Version: 1.23.1 Release: 9%{?dist} Summary: Library for manipulating Haskell source License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # End cabal-rpm sources # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-array-prof BuildRequires: ghc-base-prof BuildRequires: ghc-pretty-prof BuildRequires: happy # End cabal-rpm deps %description Haskell-Source with Extensions is an extension of the standard haskell-src package, and handles most registered syntactic extensions to Haskell, including: * Multi-parameter type classes with functional dependencies * Indexed type families (including associated types) * Empty data declarations * GADTs * Implicit parameters * Template Haskell and a few more. All extensions implemented in GHC are supported. Apart from these standard extensions, it also handles regular patterns as per the HaRP extension as well as HSX-style embedded XML syntax. %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} Provides: %{name}-static%{?_isa} = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} %endif 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 BuildArch: noarch 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} Supplements: (%{name}-devel and ghc-prof) %description prof This package provides the Haskell %{pkg_name} profiling library. %endif %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} # End cabal-rpm setup %build # Begin cabal-rpm build: %ghc_lib_build # End cabal-rpm build %install # Begin cabal-rpm install %ghc_lib_install # End cabal-rpm install %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE # End cabal-rpm files %files devel -f %{name}-devel.files %doc CHANGELOG README.md %if %{with haddock} %files doc -f %{name}-doc.files %license LICENSE %endif %if %{with ghc_prof} %files prof -f %{name}-prof.files %endif %changelog * Thu Jul 21 2022 Fedora Release Engineering - 1.23.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Jens Petersen - 1.23.1-8 - rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.23.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Aug 06 2021 Jens Petersen - 1.23.1-6 - rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.23.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.23.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 1.23.1-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.23.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 19 2020 Jens Petersen - 1.23.1-1 - update to 1.23.1 * Sun Jun 07 2020 Jens Petersen - 1.22.0-1 - update to 1.22.0 * Fri Feb 14 2020 Jens Petersen - 1.21.1-1 - update to 1.21.1 * Tue Jan 28 2020 Fedora Release Engineering - 1.20.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Aug 02 2019 Jens Petersen - 1.20.3-3 - add doc and prof subpackages (cabal-rpm-1.0.0) * Thu Jul 25 2019 Fedora Release Engineering - 1.20.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Feb 21 2019 Jens Petersen - 1.20.3-1 - update to 1.20.3 * Sun Feb 17 2019 Jens Petersen - 1.20.2-3 - refresh to cabal-rpm-0.13 * Thu Jan 31 2019 Fedora Release Engineering - 1.20.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Jul 22 2018 Jens Petersen - 1.20.2-1 - update to 1.20.2 * Fri Jul 13 2018 Fedora Release Engineering - 1.19.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.19.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 24 2018 Jens Petersen - 1.19.1-1 - update to 1.19.1 * Wed Aug 02 2017 Fedora Release Engineering - 1.18.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.18.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Feb 22 2017 Jens Petersen - 1.18.2-1 - update to 1.18.2 * Fri Feb 10 2017 Fedora Release Engineering - 1.16.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 1.16.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.16.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Apr 03 2015 Jens Petersen - 1.16.0.1-1 - update to 1.16.0.1 * Wed Aug 27 2014 Jens Petersen - 1.14.0.1-1 - update to 1.14.0.1 - refresh with cblrpm-0.8.11 - exclude s390 since build exhausts VM (#1121620) * Sat Aug 16 2014 Fedora Release Engineering - 1.13.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.13.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.13.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Jun 07 2013 Jens Petersen - 1.13.5-4 - update to new simplified Haskell Packaging Guidelines * Sat Mar 23 2013 Jens Petersen - 1.13.5-3 - rebuild * Wed Feb 13 2013 Fedora Release Engineering - 1.13.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Nov 07 2012 Jens Petersen - 1.13.5-1 - update to 1.13.5 * Thu Jul 19 2012 Fedora Release Engineering - 1.13.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jul 16 2012 Jens Petersen - 1.13.3-2 - change prof BRs to devel * Sat Jun 9 2012 Jens Petersen - 1.13.3-1 - update to 1.13.3 * Thu Mar 22 2012 Jens Petersen - 1.11.1-6 - add license to ghc_files * Tue Feb 7 2012 Jens Petersen - 1.11.1-5 - update to cabal2spec-0.25 * Fri Jan 13 2012 Fedora Release Engineering - 1.11.1-4.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Oct 24 2011 Marcela Mašláňová - 1.11.1-3.2 - rebuild with new gmp without compat lib * Fri Oct 21 2011 Marcela Mašláňová - 1.11.1-3.1 - rebuild with new gmp without compat lib * Sat Oct 15 2011 Jens Petersen - 1.11.1-3 - rebuild for newer cpphs * Tue Oct 11 2011 Peter Schiffer - 1.11.1-2.1 - rebuild with new gmp * Fri Jul 22 2011 Jens Petersen - 1.11.1-2 - rebuild for cpphs-1.12 * Wed Jun 22 2011 Jens Petersen - 1.11.1-1 - update to 1.11.1 - BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2) * Fri Mar 11 2011 Jens Petersen - 1.10.2-1 - update to 1.10.2 * Thu Mar 10 2011 Fabio M. Di Nitto - 1.9.6-4 - Enable build on sparcv9 * Tue Feb 08 2011 Fedora Release Engineering - 1.9.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Jan 18 2011 Jens Petersen - 1.9.6-2 - update to cabal2spec-0.22.4 * Mon Nov 29 2010 Jens Petersen - 1.9.6-1 - update to 1.9.6 - update url * Sat Sep 4 2010 Jens Petersen - 1.9.0-2 - add hscolour and doc obsolete (cabal2spec-0.22.2) * Sat Jun 26 2010 Jens Petersen - 1.9.0-1 - 1.9.0 release - sync cabal2spec-0.22 * Mon Feb 15 2010 Conrad Meyer - 1.8.2-2 - Bump to rebuild against cpphs 1.11 * Mon Feb 15 2010 Conrad Meyer - 1.8.2-1 - Bump to 1.8.2 * Fri Jan 22 2010 Jens Petersen - 1.6.1-1 - update to 1.6.1 * Mon Jan 11 2010 Jens Petersen - 1.5.3-1 - update to 1.5.3 - update to ghc-rpm-macros-0.5.1 and cabal2spec-0.21.1: - drop doc and prof bcond - use ghc_lib_package and ghc_pkg_deps - drop redundant buildroot and its install cleaning * Mon Nov 16 2009 Jens Petersen - 1.3.0-2 - use %%ghc_pkg_ver for requires * Sun Nov 15 2009 Jens Petersen - 1.3.0-1 - update to 1.3.0 - requires ghc-cpphs-devel * Fri Sep 18 2009 Jens Petersen - 1.1.4-1 - update to 1.1.4 * Tue Aug 4 2009 Yaakov M. Nemoy - 1.0.1-3 - rebuild against new ghc * Fri Jul 24 2009 Fedora Release Engineering - 1.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Jul 1 2009 Conrad Meyer - 1.0.1-1 - Version bump. * Tue Jun 2 2009 Jens Petersen - 0.4.8-7 - drop superfluous cpphs and happy requires * Sun May 24 2009 Jens Petersen - 0.4.8-6 - buildrequires ghc-rpm-macros (cabal2spec-0.16) * Fri Apr 24 2009 Jens Petersen - 0.4.8-5 - sync with cabal2spec-0.15 - buildrequires >= 6.10.2-3 for latest macros * Thu Mar 19 2009 Conrad Meyer - 0.4.8-4 - Update to new cabal2spec template. * Mon Feb 16 2009 Conrad Meyer - 0.4.8-3 - Update to new cabal2spec template. - Replace %%defines by %%globals. * Wed Jan 21 2009 Conrad Meyer - 0.4.8-2 - update to new haskell packaging template * Mon Jan 12 2009 Conrad Meyer - 0.4.8-1 - initial packaging for Fedora created by cabal2spec