commit 932de9d2e1092d750989543639ced7f72271ce8b Author: Alexey Lyubimov Date: Fri Aug 25 15:18:49 2023 +0300 import ghc-conduit-extra-1.3.5-7.el9 diff --git a/.ghc-conduit-extra.metadata b/.ghc-conduit-extra.metadata new file mode 100644 index 0000000..b8025d2 --- /dev/null +++ b/.ghc-conduit-extra.metadata @@ -0,0 +1 @@ +5f5e3cf70c40fe712d83ce500ae11c4a080c9659 SOURCES/conduit-extra-1.3.5.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9a98056 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/conduit-extra-1.3.5.tar.gz diff --git a/SOURCES/conduit-extra-1.3.5.cabal b/SOURCES/conduit-extra-1.3.5.cabal new file mode 100644 index 0000000..8d0a052 --- /dev/null +++ b/SOURCES/conduit-extra-1.3.5.cabal @@ -0,0 +1,122 @@ +Name: conduit-extra +Version: 1.3.5 +x-revision: 1 +Synopsis: Batteries included conduit: adapters for common libraries. +Description: + The conduit package itself maintains relative small dependencies. The purpose of this package is to collect commonly used utility functions wrapping other library dependencies, without depending on heavier-weight dependencies. The basic idea is that this package should only depend on haskell-platform packages and conduit. +License: MIT +License-file: LICENSE +Author: Michael Snoyman +Maintainer: michael@snoyman.com +Category: Data, Conduit +Build-type: Simple +Cabal-version: >=1.8 +Homepage: http://github.com/snoyberg/conduit +extra-source-files: + test/random + test/filesystem/*.txt + test/filesystem/bin/*.txt + ChangeLog.md + README.md + +Library + build-depends: transformers <0.6 + + Exposed-modules: Data.Conduit.Attoparsec + Data.Conduit.Binary + Data.Conduit.ByteString.Builder + Data.Conduit.Filesystem + Data.Conduit.Foldl + Data.Conduit.Lazy + Data.Conduit.Network + Data.Conduit.Network.UDP + Data.Conduit.Process + Data.Conduit.Process.Typed + Data.Conduit.Text + Data.Conduit.Zlib + if !os(windows) + Exposed-modules: Data.Conduit.Network.Unix + + if arch(x86_64) || arch(i386) + -- These architectures are able to perform unaligned memory accesses + cpp-options: -DALLOW_UNALIGNED_ACCESS + + Build-depends: base >= 4.9 && < 5 + , conduit >= 1.3 && < 1.4 + + , bytestring >= 0.10.2 + , text + , transformers + + , async + , attoparsec >= 0.10 + , directory + , filepath + , network >= 2.3 + , primitive >= 0.5 + , process + , resourcet >= 1.1 + , stm + , streaming-commons >= 0.1.16 + , unliftio-core + , typed-process >= 0.2.6 + + ghc-options: -Wall + +test-suite test + hs-source-dirs: test + main-is: Spec.hs + type: exitcode-stdio-1.0 + ghc-options: -threaded + cpp-options: -DTEST + build-depends: conduit + , conduit-extra + , base + , hspec >= 1.3 + + , async + , attoparsec + , bytestring-builder + , bytestring + , exceptions + , process + , resourcet + , QuickCheck + , stm + , streaming-commons + , text + , transformers + , transformers-base + , directory + , filepath + ghc-options: -Wall + if os(windows) + cpp-options: -DWINDOWS + other-modules: Data.Conduit.AttoparsecSpec + Data.Conduit.BinarySpec + Data.Conduit.ByteString.BuilderSpec + Data.Conduit.ExtraSpec + Data.Conduit.FilesystemSpec + Data.Conduit.LazySpec + Data.Conduit.NetworkSpec + Data.Conduit.ProcessSpec + Data.Conduit.Process.TypedSpec + Data.Conduit.TextSpec + Data.Conduit.ZlibSpec + +benchmark blaze + type: exitcode-stdio-1.0 + hs-source-dirs: bench + build-depends: base + , conduit + , conduit-extra + , gauge + , bytestring + , bytestring-builder + , transformers + main-is: blaze.hs + ghc-options: -Wall -O2 -rtsopts + +source-repository head + type: git + location: git://github.com/snoyberg/conduit.git diff --git a/SPECS/ghc-conduit-extra.spec b/SPECS/ghc-conduit-extra.spec new file mode 100644 index 0000000..1d350bb --- /dev/null +++ b/SPECS/ghc-conduit-extra.spec @@ -0,0 +1,231 @@ +# generated by cabal-rpm-2.0.9 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ + +%global pkg_name conduit-extra +%global pkgver %{pkg_name}-%{version} + +# testsuite missing deps: bytestring-builder + +Name: ghc-%{pkg_name} +Version: 1.3.5 +Release: 7%{?dist} +Summary: Batteries included conduit: adapters for common libraries + +License: MIT +Url: https://hackage.haskell.org/package/%{pkg_name} +# Begin cabal-rpm sources: +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal +# End cabal-rpm sources + +# Begin cabal-rpm deps: +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-async-prof +BuildRequires: ghc-attoparsec-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-conduit-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-network-prof +BuildRequires: ghc-primitive-prof +BuildRequires: ghc-process-prof +BuildRequires: ghc-resourcet-prof +BuildRequires: ghc-stm-prof +BuildRequires: ghc-streaming-commons-prof +BuildRequires: ghc-text-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-typed-process-prof +BuildRequires: ghc-unliftio-core-prof +# End cabal-rpm deps +Obsoletes: ghc-attoparsec-conduit < 1.2 +Obsoletes: ghc-blaze-builder-conduit < 1.2 +Obsoletes: ghc-network-conduit < 1.2 +Obsoletes: ghc-zlib-conduit < 1.2 + +%description +The conduit package itself maintains relative small dependencies. The purpose +of this package is to collect commonly used utility functions wrapping other +library dependencies, without depending on heavier-weight dependencies. +The basic idea is that this package should only depend on haskell-platform +packages and conduit. + + +%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} +Obsoletes: ghc-attoparsec-conduit-devel < 1.2 +Obsoletes: ghc-blaze-builder-conduit-devel < 1.2 +Obsoletes: ghc-network-conduit-devel < 1.2 +Obsoletes: ghc-zlib-conduit-devel < 1.2 + +%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} +cp -bp %{SOURCE1} %{pkg_name}.cabal +# 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.md 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 +* Fri Aug 25 2023 Alexey Lyubimov - 1.3.5-7 +- Rebuilt for MSVSphere 9.2 + +* Thu Mar 10 2022 Jens Petersen - 1.3.5-7 +- rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 1.3.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Aug 06 2021 Jens Petersen - 1.3.5-5 +- rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 1.3.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 1.3.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 1.3.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun Jun 07 2020 Jens Petersen - 1.3.5-1 +- update to 1.3.5 + +* Fri Feb 14 2020 Jens Petersen - 1.3.4-1 +- update to 1.3.4 + +* Tue Jan 28 2020 Fedora Release Engineering - 1.3.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Jens Petersen - 1.3.3-1 +- update to 1.3.3 + +* Thu Jul 25 2019 Fedora Release Engineering - 1.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 17 2019 Jens Petersen - 1.3.0-3 +- refresh to cabal-rpm-0.13 + +* Thu Jan 31 2019 Fedora Release Engineering - 1.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Jul 22 2018 Jens Petersen - 1.3.0-1 +- update to 1.3.0 + +* Fri Jul 13 2018 Fedora Release Engineering - 1.2.3.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Mar 6 2018 Jens Petersen - 1.2.3.2-4 +- rebuild + +* Fri Feb 23 2018 Jens Petersen - 1.2.3.2-3 +- unbundle typed-process + +* Wed Feb 07 2018 Fedora Release Engineering - 1.2.3.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jan 24 2018 Jens Petersen - 1.2.3.2-1 +- update to 1.2.3.2 +- subpackage new typed-process dep + +* Wed Aug 02 2017 Fedora Release Engineering - 1.1.15-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.1.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Feb 22 2017 Jens Petersen - 1.1.15-1 +- update to 1.1.15 + +* Fri Feb 10 2017 Fedora Release Engineering - 1.1.13.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Jun 23 2016 Jens Petersen - 1.1.13.1-1 +- update to 1.1.13.1 + +* Wed Feb 03 2016 Fedora Release Engineering - 1.1.7.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.1.7.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Mar 4 2015 Jens Petersen - 1.1.7.0-2 +- obsolete attoparsec-conduit, blaze-builder-conduit, network-conduit, and + zlib-conduit + +* Wed Mar 4 2015 Jens Petersen - 1.1.7.0-1 +- update to 1.1.7.0 + +* Wed Jan 28 2015 Jens Petersen - 1.0.0.1-3 +- update urls + +* Fri Sep 12 2014 Jens Petersen - 1.0.0.1-2 +- disable haddock and no ghc-conduit-extra.files + +* Fri Sep 12 2014 Fedora Haskell SIG - 1.0.0.1-1 +- spec file generated by cabal-rpm-0.9.1