From d60cff6b343454b8deba662df028cfb5772576d6 Mon Sep 17 00:00:00 2001 From: Alexey Lyubimov Date: Sat, 19 Aug 2023 11:30:14 +0300 Subject: [PATCH] import ghc-Glob-0.10.2-1.el9 --- .ghc-Glob.metadata | 1 + .gitignore | 1 + SOURCES/Glob-0.10.2.cabal | 98 ++++++++++++++++++++++ SPECS/ghc-Glob.spec | 172 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 272 insertions(+) create mode 100644 .ghc-Glob.metadata create mode 100644 .gitignore create mode 100644 SOURCES/Glob-0.10.2.cabal create mode 100644 SPECS/ghc-Glob.spec diff --git a/.ghc-Glob.metadata b/.ghc-Glob.metadata new file mode 100644 index 0000000..25ad8e2 --- /dev/null +++ b/.ghc-Glob.metadata @@ -0,0 +1 @@ +5d4c9b6ac9615b833331d4c2d7dbfee93bfda25a SOURCES/Glob-0.10.2.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..02af836 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Glob-0.10.2.tar.gz diff --git a/SOURCES/Glob-0.10.2.cabal b/SOURCES/Glob-0.10.2.cabal new file mode 100644 index 0000000..5b25736 --- /dev/null +++ b/SOURCES/Glob-0.10.2.cabal @@ -0,0 +1,98 @@ +Cabal-Version: >= 1.10 + +Name: Glob +Version: 0.10.2 +x-revision: 3 +Homepage: http://iki.fi/matti.niemenmaa/glob/ +Synopsis: Globbing library +Category: System +Stability: provisional +Description: + A library for globbing: matching patterns against file paths. + +Author: Matti Niemenmaa +Maintainer: Matti Niemenmaa +License: BSD3 +License-File: LICENSE.txt + +Build-Type: Simple + +Extra-Source-Files: CHANGELOG.txt + CREDITS.txt + README.txt + +Source-Repository head + Type: git + Location: https://github.com/Deewiant/glob + +Library + Build-Depends: base >= 4 && < 5 + , containers + , directory + , dlist >= 0.4 + , filepath >= 1.1 + , transformers >= 0.2 + , transformers-compat >= 0.3 + + if impl(ghc < 8.0) + Build-Depends: semigroups >= 0.18 + + if os(windows) + Build-Depends: Win32 >= 2.5 + + Default-Language: Haskell98 + + Exposed-Modules: System.FilePath.Glob + System.FilePath.Glob.Primitive + Other-Modules: System.FilePath.Glob.Base + System.FilePath.Glob.Directory + System.FilePath.Glob.Match + System.FilePath.Glob.Simplify + System.FilePath.Glob.Utils + + GHC-Options: -Wall + +Test-Suite glob-tests + type: exitcode-stdio-1.0 + + hs-source-dirs: ., tests + main-is: Main.hs + + Build-Depends: base >= 4 && < 5 + , containers + , directory + , dlist >= 0.4 + , filepath >= 1.1 + , transformers >= 0.2 + , transformers-compat >= 0.3 + , HUnit >= 1.2 + , QuickCheck >= 2 + , test-framework >= 0.2 + , test-framework-hunit >= 0.2 + , test-framework-quickcheck2 >= 0.3 + + if impl(ghc < 8.0) + Build-Depends: semigroups >= 0.18 + + if os(windows) + Build-Depends: Win32 >= 2 + + Default-Language: Haskell98 + + Other-Modules: System.FilePath.Glob.Base + System.FilePath.Glob.Directory + System.FilePath.Glob.Match + System.FilePath.Glob.Primitive + System.FilePath.Glob.Simplify + System.FilePath.Glob.Utils + Tests.Base + Tests.Compiler + Tests.Directory + Tests.Instances + Tests.Matcher + Tests.Optimizer + Tests.Regression + Tests.Simplifier + Tests.Utils + + GHC-Options: -Wall \ No newline at end of file diff --git a/SPECS/ghc-Glob.spec b/SPECS/ghc-Glob.spec new file mode 100644 index 0000000..f7e6375 --- /dev/null +++ b/SPECS/ghc-Glob.spec @@ -0,0 +1,172 @@ +# generated by cabal-rpm-2.0.10 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ + +%global pkg_name Glob +%global pkgver %{pkg_name}-%{version} + +# testsuite missing deps: test-framework test-framework-hunit test-framework-quickcheck2 + +Name: ghc-%{pkg_name} +Version: 0.10.2 +Release: 1%{?dist} +Summary: Globbing library + +License: BSD +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: dos2unix +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-base-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-dlist-prof +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-transformers-compat-prof +# End cabal-rpm deps + +%description +A library for globbing: matching patterns against file paths. + + +%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} +dos2unix -k -n %{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.txt +# End cabal-rpm files + + +%files devel -f %{name}-devel.files +%doc CHANGELOG.txt README.txt + + +%if %{with haddock} +%files doc -f %{name}-doc.files +%license LICENSE.txt +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + +%changelog +* Sat Aug 19 2023 Alexey Lyubimov - 0.10.2-1 +- Rebuilt for MSVSphere 9.2 + +* Tue Jun 07 2022 Jens Petersen - 0.10.2-1 +- https://hackage.haskell.org/package/Glob-0.10.2/changelog + +* Thu Jan 20 2022 Fedora Release Engineering - 0.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Aug 5 2021 Jens Petersen - 0.10.1-1 +- update to 0.10.1 + +* Thu Jul 22 2021 Fedora Release Engineering - 0.10.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 0.10.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 0.10.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 17 2020 Jens Petersen - 0.10.0-2 +- refresh to cabal-rpm-2.0.6 + +* Sun Feb 09 2020 Jens Petersen - 0.10.0-1 +- update to 0.10.0 + +* Tue Jan 28 2020 Fedora Release Engineering - 0.9.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Aug 01 2019 Jens Petersen - 0.9.3-3 +- add doc and prof subpackages (cabal-rpm-1.0.0) + +* Thu Jul 25 2019 Fedora Release Engineering - 0.9.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Feb 21 2019 Jens Petersen - 0.9.3-1 +- update to 0.9.3 + +* Sun Feb 17 2019 Jens Petersen - 0.9.2-3 +- refresh to cabal-rpm-0.13 + +* Thu Jan 31 2019 Fedora Release Engineering - 0.9.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Jul 22 2018 Jens Petersen - 0.9.2-1 +- update to 0.9.2 + +* Fri Jul 13 2018 Fedora Release Engineering - 0.9.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 0.9.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jan 26 2018 Jens Petersen - 0.9.1-2 +- rebuild + +* Sat Nov 18 2017 Fedora Haskell SIG - 0.9.1-1 +- spec file generated by cabal-rpm-0.11.2