2023-01-24 15:54:58 +00:00
|
|
|
# generated by cabal-rpm-2.1.0
|
2020-06-04 11:27:43 +00:00
|
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
2012-01-06 09:47:47 +00:00
|
|
|
|
2011-07-12 09:46:06 +00:00
|
|
|
%global pkg_name pcre-light
|
2017-02-24 08:48:20 +00:00
|
|
|
%global pkgver %{pkg_name}-%{version}
|
2011-07-12 09:46:06 +00:00
|
|
|
|
2020-02-14 03:50:50 +00:00
|
|
|
%bcond_without tests
|
|
|
|
|
2011-07-12 09:46:06 +00:00
|
|
|
Name: ghc-%{pkg_name}
|
2020-02-14 03:50:50 +00:00
|
|
|
Version: 0.4.1.0
|
2023-01-24 15:54:58 +00:00
|
|
|
Release: 11%{?dist}
|
2016-06-26 05:14:20 +00:00
|
|
|
Summary: Portable regex library for Perl 5 compatible regular expressions
|
2011-07-12 09:46:06 +00:00
|
|
|
|
2023-01-24 15:54:58 +00:00
|
|
|
License: BSD-3-Clause
|
2016-06-26 05:14:20 +00:00
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
2019-02-17 14:46:38 +00:00
|
|
|
# Begin cabal-rpm sources:
|
2017-02-24 08:48:20 +00:00
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
2019-02-17 14:46:38 +00:00
|
|
|
# End cabal-rpm sources
|
2012-11-17 16:00:59 +00:00
|
|
|
|
2019-02-17 14:46:38 +00:00
|
|
|
# Begin cabal-rpm deps:
|
2011-07-12 09:46:06 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
2012-11-17 16:00:59 +00:00
|
|
|
BuildRequires: ghc-rpm-macros
|
2023-01-24 15:54:58 +00:00
|
|
|
BuildRequires: ghc-base-devel
|
|
|
|
BuildRequires: ghc-bytestring-devel
|
|
|
|
%if %{with ghc_prof}
|
2019-08-05 10:31:04 +00:00
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
BuildRequires: ghc-bytestring-prof
|
2023-01-24 15:54:58 +00:00
|
|
|
%endif
|
2020-02-14 03:50:50 +00:00
|
|
|
BuildRequires: pcre-devel
|
|
|
|
%if %{with tests}
|
|
|
|
BuildRequires: ghc-HUnit-devel
|
|
|
|
BuildRequires: ghc-containers-devel
|
|
|
|
BuildRequires: ghc-mtl-devel
|
|
|
|
%endif
|
2013-06-05 07:28:31 +00:00
|
|
|
# End cabal-rpm deps
|
2011-07-12 09:46:06 +00:00
|
|
|
|
|
|
|
%description
|
2020-02-14 03:50:50 +00:00
|
|
|
A small, efficient and portable regex library for Perl 5 compatible regular
|
|
|
|
expressions.
|
2013-06-05 07:28:31 +00:00
|
|
|
|
|
|
|
The PCRE library is a set of functions that implement regular expression
|
|
|
|
pattern matching using the same syntax and semantics as Perl 5.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
2014-05-30 16:05:31 +00:00
|
|
|
Provides: %{name}-static = %{version}-%{release}
|
2019-08-05 10:31:04 +00:00
|
|
|
Provides: %{name}-static%{?_isa} = %{version}-%{release}
|
2018-01-24 13:11:44 +00:00
|
|
|
%if %{defined ghc_version}
|
2013-06-05 07:28:31 +00:00
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
2018-01-24 13:11:44 +00:00
|
|
|
%endif
|
2014-05-30 16:05:31 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2013-06-05 07:28:31 +00:00
|
|
|
# Begin cabal-rpm deps:
|
2020-02-14 03:50:50 +00:00
|
|
|
Requires: pcre-devel%{?_isa}
|
2013-06-05 07:28:31 +00:00
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package provides the Haskell %{pkg_name} library development files.
|
2011-07-12 09:46:06 +00:00
|
|
|
|
|
|
|
|
2019-07-25 04:25:08 +00:00
|
|
|
%if %{with haddock}
|
|
|
|
%package doc
|
|
|
|
Summary: Haskell %{pkg_name} library documentation
|
2020-02-08 14:51:28 +00:00
|
|
|
BuildArch: noarch
|
2021-07-07 16:30:12 +00:00
|
|
|
Requires: ghc-filesystem
|
2019-07-25 04:25:08 +00:00
|
|
|
|
|
|
|
%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-08 14:51:28 +00:00
|
|
|
Supplements: (%{name}-devel and ghc-prof)
|
2019-07-25 04:25:08 +00:00
|
|
|
|
|
|
|
%description prof
|
|
|
|
This package provides the Haskell %{pkg_name} profiling library.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2011-07-12 09:46:06 +00:00
|
|
|
%prep
|
2019-02-17 14:46:38 +00:00
|
|
|
# Begin cabal-rpm setup:
|
2017-02-24 08:48:20 +00:00
|
|
|
%setup -q -n %{pkgver}
|
2019-02-17 14:46:38 +00:00
|
|
|
# End cabal-rpm setup
|
2011-07-12 09:46:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2019-02-17 14:46:38 +00:00
|
|
|
# Begin cabal-rpm build:
|
2011-07-12 09:46:06 +00:00
|
|
|
%ghc_lib_build
|
2019-02-17 14:46:38 +00:00
|
|
|
# End cabal-rpm build
|
2011-07-12 09:46:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2019-02-17 14:46:38 +00:00
|
|
|
# Begin cabal-rpm install
|
2011-07-12 09:46:06 +00:00
|
|
|
%ghc_lib_install
|
2019-02-17 14:46:38 +00:00
|
|
|
# End cabal-rpm install
|
2011-07-12 09:46:06 +00:00
|
|
|
|
|
|
|
|
2020-02-14 03:50:50 +00:00
|
|
|
%check
|
2021-07-07 16:30:12 +00:00
|
|
|
%if %{with tests}
|
2020-02-14 03:50:50 +00:00
|
|
|
%cabal_test
|
2021-07-07 16:30:12 +00:00
|
|
|
%endif
|
2020-02-14 03:50:50 +00:00
|
|
|
|
|
|
|
|
2013-06-05 07:28:31 +00:00
|
|
|
%files -f %{name}.files
|
2019-02-17 14:46:38 +00:00
|
|
|
# Begin cabal-rpm files:
|
2016-06-26 05:14:20 +00:00
|
|
|
%license LICENSE
|
2019-02-17 14:46:38 +00:00
|
|
|
# End cabal-rpm files
|
2012-01-06 09:47:47 +00:00
|
|
|
|
|
|
|
|
2013-06-05 07:28:31 +00:00
|
|
|
%files devel -f %{name}-devel.files
|
2014-08-27 05:28:56 +00:00
|
|
|
%doc README.md
|
2011-07-12 09:46:06 +00:00
|
|
|
|
|
|
|
|
2019-07-25 04:25:08 +00:00
|
|
|
%if %{with haddock}
|
|
|
|
%files doc -f %{name}-doc.files
|
2020-02-08 14:51:28 +00:00
|
|
|
%license LICENSE
|
2019-07-25 04:25:08 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with ghc_prof}
|
|
|
|
%files prof -f %{name}-prof.files
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2011-07-12 09:46:06 +00:00
|
|
|
%changelog
|
2023-01-24 15:54:58 +00:00
|
|
|
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.4.1.0-11
|
|
|
|
- refresh to cabal-rpm-2.1.0 with SPDX migration
|
|
|
|
|
2022-07-21 05:35:55 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-17 17:10:59 +00:00
|
|
|
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 0.4.1.0-9
|
|
|
|
- rebuild
|
|
|
|
|
2022-01-20 05:21:07 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-08-06 04:18:38 +00:00
|
|
|
* Fri Aug 06 2021 Jens Petersen <petersen@redhat.com> - 0.4.1.0-7
|
|
|
|
- rebuild
|
|
|
|
|
2021-07-22 01:04:32 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 07:34:51 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-08-01 01:19:38 +00:00
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1.0-4
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-27 19:30:26 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-17 10:29:36 +00:00
|
|
|
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.4.1.0-2
|
|
|
|
- refresh to cabal-rpm-2.0.6
|
|
|
|
|
2020-02-14 03:50:50 +00:00
|
|
|
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 0.4.1.0-1
|
|
|
|
- update to 0.4.1.0
|
|
|
|
|
2020-01-28 21:11:12 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0.4-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-25 04:25:08 +00:00
|
|
|
* Fri Aug 02 2019 Jens Petersen <petersen@redhat.com> - 0.4.0.4-12
|
|
|
|
- add doc and prof subpackages (cabal-rpm-1.0.0)
|
|
|
|
|
2019-07-25 02:50:37 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0.4-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-17 14:46:38 +00:00
|
|
|
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.4.0.4-10
|
|
|
|
- refresh to cabal-rpm-0.13
|
|
|
|
|
2019-01-31 21:51:52 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0.4-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 02:01:59 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0.4-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 11:59:12 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0.4-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-26 10:49:59 +00:00
|
|
|
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.4.0.4-6
|
|
|
|
- rebuild
|
|
|
|
|
2017-08-02 21:28:22 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 09:52:11 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-24 08:48:20 +00:00
|
|
|
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 0.4.0.4-3
|
|
|
|
- refresh to cabal-rpm-0.11.1
|
|
|
|
|
2017-02-10 10:46:08 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-06-26 05:14:20 +00:00
|
|
|
* Sun Jun 26 2016 Jens Petersen <petersen@redhat.com> - 0.4.0.4-1
|
|
|
|
- update to 0.4.0.4
|
|
|
|
|
2016-02-03 21:40:28 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 07:53:59 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-27 05:28:56 +00:00
|
|
|
* Wed Aug 27 2014 Jens Petersen <petersen@redhat.com> - 0.4.0.3-1
|
|
|
|
- update to 0.4.0.3
|
|
|
|
|
2014-08-16 15:35:38 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-08 10:17:02 +00:00
|
|
|
* Tue Jul 8 2014 Jens Petersen <petersen@redhat.com> - 0.4-14
|
2014-08-27 05:28:56 +00:00
|
|
|
- cblrpm-0.8.11
|
2014-05-30 16:05:31 +00:00
|
|
|
|
2013-08-03 13:55:37 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-05 07:28:31 +00:00
|
|
|
* Wed Jun 05 2013 Jens Petersen <petersen@redhat.com> - 0.4-12
|
|
|
|
- update to new simplified Haskell Packaging Guidelines
|
|
|
|
|
2013-02-13 23:15:29 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-17 16:00:59 +00:00
|
|
|
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.4-10
|
|
|
|
- update with cabal-rpm
|
|
|
|
- set small_base flag
|
|
|
|
|
2012-07-19 05:54:15 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-16 02:14:00 +00:00
|
|
|
* Mon Jul 16 2012 Jens Petersen <petersen@redhat.com> - 0.4-8
|
|
|
|
- change prof BRs to devel
|
|
|
|
|
2012-03-22 15:08:10 +00:00
|
|
|
* Thu Mar 22 2012 Jens Petersen <petersen@redhat.com> - 0.4-7
|
|
|
|
- add license to ghc_files
|
|
|
|
|
2012-02-10 14:25:38 +00:00
|
|
|
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 0.4-6
|
|
|
|
- Rebuild against PCRE 8.30
|
|
|
|
|
2012-01-06 09:47:47 +00:00
|
|
|
* Fri Jan 6 2012 Jens Petersen <petersen@redhat.com> - 0.4-5
|
|
|
|
- update to cabal2spec-0.25.2
|
|
|
|
|
2011-10-24 08:03:43 +00:00
|
|
|
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.4-4.3
|
|
|
|
- rebuild with new gmp without compat lib
|
|
|
|
|
2011-10-21 01:13:47 +00:00
|
|
|
* Fri Oct 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.4-4.2
|
|
|
|
- rebuild with new gmp without compat lib
|
|
|
|
|
2011-10-11 16:17:56 +00:00
|
|
|
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 0.4-4.1
|
|
|
|
- rebuild with new gmp
|
|
|
|
|
2012-01-06 09:47:47 +00:00
|
|
|
* Tue Jul 12 2011 Jens Petersen <petersen@redhat.com> - 0.4-4
|
2011-07-12 09:50:00 +00:00
|
|
|
- use ghc_arches (cabal2spec-0.23.2)
|
|
|
|
|
2011-07-12 09:46:06 +00:00
|
|
|
* Wed Jun 15 2011 Jens Petersen <petersen@redhat.com> - 0.4-3
|
|
|
|
- update to cabal2spec-0.23
|
|
|
|
|
|
|
|
* Wed Jun 1 2011 Jens Petersen <petersen@redhat.com> - 0.4-2
|
|
|
|
- experiment without ghc_lib_package (#662258)
|
|
|
|
|
|
|
|
* Fri Dec 10 2010 Ben Boeckel <mathstuf@gmail.com> - 0.4-1
|
|
|
|
- Initial package
|
|
|
|
|
|
|
|
* Wed Dec 8 2010 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.4-0
|
|
|
|
- initial packaging for Fedora automatically generated by cabal2spec-0.22.2
|