commit efb4db3d56f0ca2f501a45dc7007a6d6e3195398 Author: CentOS Sources Date: Tue May 7 06:51:27 2019 -0400 import ghc-mtl-2.2.1-7.el8 diff --git a/.ghc-mtl.metadata b/.ghc-mtl.metadata new file mode 100644 index 0000000..8cf2574 --- /dev/null +++ b/.ghc-mtl.metadata @@ -0,0 +1 @@ +c244f8ec3a871404373ad1a0873c198b5610ef29 SOURCES/mtl-2.2.1.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..29244d0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/mtl-2.2.1.tar.gz diff --git a/SPECS/ghc-mtl.spec b/SPECS/ghc-mtl.spec new file mode 100644 index 0000000..4b9fb4a --- /dev/null +++ b/SPECS/ghc-mtl.spec @@ -0,0 +1,192 @@ +# generated by cabal-rpm-0.12.1 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name mtl +%global pkgver %{pkg_name}-%{version} + +Name: ghc-%{pkg_name} +# part of haskell-platform +Version: 2.2.1 +Release: 7%{?dist} +Summary: Monad classes using functional dependencies + +License: BSD +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz + +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-transformers-devel +# End cabal-rpm deps + +%description +Monad classes using functional dependencies, with instances for various monad +transformers, inspired by the paper "Functional Programming with Overloading +and Higher-Order Polymorphism", by Mark P Jones, in "Advanced School of +Functional Programming", 1995 +(). + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +%endif +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%prep +%setup -q -n %{pkgver} +cabal-tweak-dep-ver transformers '== 0.4.*' '>0.4' + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache + + +%files -f %{name}.files +%license LICENSE + + +%files devel -f %{name}-devel.files +%doc CHANGELOG.markdown + + +%changelog +* Wed Feb 07 2018 Fedora Release Engineering - 2.2.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jan 26 2018 Jens Petersen - 2.2.1-6 +- rebuild + +* Wed Aug 02 2017 Fedora Release Engineering - 2.2.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2.2.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 24 2017 Jens Petersen - 2.2.1-3 +- refresh to cabal-rpm-0.11.1 + +* Fri Feb 10 2017 Fedora Release Engineering - 2.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Jun 7 2016 Jens Petersen - 2.2.1-1 +- update to 2.2.1 + +* Wed Feb 03 2016 Fedora Release Engineering - 2.1.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 2.1.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Aug 8 2014 Jens Petersen - 2.1.3.1-1 +- update to 2.1.3.1 + +* Tue Jul 8 2014 Jens Petersen - 2.1.2-28 +- update to cblrpm-0.8.11 + +* Wed Dec 4 2013 Jens Petersen - 2.1.2-27 +- bump release + +* Wed Oct 16 2013 Jens Petersen - 2.1.2-26 +- add static provides to devel + +* Sun Sep 8 2013 Fedora Haskell SIG - 2.1.2-25 +- spec file generated by cabal-rpm-0.8.3 +- revive src package instead of subpackaging in haskell-platform + +* Wed Mar 21 2012 Jens Petersen - 2.0.1.0-11 +- rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 2.0.1.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Jan 2 2012 Jens Petersen - 2.0.1.0-9 +- update to cabal2spec-0.25.2 + +* Mon Oct 24 2011 Marcela Mašláňová - 2.0.1.0-8.3 +- rebuild with new gmp without compat lib + +* Fri Oct 21 2011 Marcela Mašláňová - 2.0.1.0-8.2 +- rebuild with new gmp without compat lib + +* Tue Oct 11 2011 Peter Schiffer - 2.0.1.0-8.1 +- rebuild with new gmp + +* Tue Jun 21 2011 Jens Petersen - 2.0.1.0-8 +- ghc_arches replaces ghc_excluded_archs + +* Sun Jun 19 2011 Jens Petersen - 2.0.1.0-7 +- BR ghc-Cabal-devel instead of ghc-prof +- use ghc_excluded_archs + +* Fri May 27 2011 Jens Petersen - 2.0.1.0-6 +- update to cabal2spec-0.23 + +* Thu May 05 2011 Jiri Skala - 2.0.1.0-5 +- Enable build on ppc64 + +* Thu Mar 10 2011 Fabio M. Di Nitto - 2.0.1.0-4 +- Enable build on sparcv9 + +* Tue Feb 08 2011 Fedora Release Engineering - 2.0.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jan 14 2011 Jens Petersen - 2.0.1.0-2 +- update to cabal2spec-0.22.4 + +* Thu Nov 25 2010 Jens Petersen - 2.0.1.0-1 +- update to mtl 2.0.1.0 for ghc7 +- depends on transformers + +* Wed Nov 24 2010 Jens Petersen - 1.1.0.2-9 +- drop the -o obsoletes + +* Sat Sep 4 2010 Jens Petersen - 1.1.0.2-8 +- update to latest macros, hscolour and drop doc pkg (cabal2spec-0.22.2) +- part of haskell-platform-2010.2.0.0 + +* Wed Jun 23 2010 Jens Petersen - 1.1.0.2-7 +- use ghc_strip_dynlinked (ghc-rpm-macros-0.6.0) + +* Sat Apr 24 2010 Jens Petersen - 1.1.0.2-6 +- part of haskell-platform-2010.1.0.0 +- rebuild against ghc-6.12.2 +- condition ghc_lib_package + +* Mon Jan 11 2010 Jens Petersen - 1.1.0.2-5 +- bump release above the temporary ghc mtl subpackages + +* Mon Jan 11 2010 Jens Petersen - 1.1.0.2-2 +- update to ghc-rpm-macros-0.5.1: use ghc_lib_package +- drop bcond for doc and prof +- add comment about haskell-platform + +* Thu Dec 24 2009 Jens Petersen - 1.1.0.2-1 +- update packaging for ghc-6.12.1 +- added shared library support +- use new ghc*_requires macros: needs ghc-rpm-macros 0.4.0 + +* Wed Dec 23 2009 Fedora Haskell SIG - 1.1.0.2-0 +- initial packaging for Fedora automatically generated by cabal2spec-0.19