ghc-case-insensitive/ghc-case-insensitive.spec

184 lines
5.4 KiB
RPMSpec
Raw Normal View History

2018-01-24 13:10:43 +00:00
# generated by cabal-rpm-0.12.1
# https://fedoraproject.org/wiki/Packaging:Haskell
2011-08-18 00:50:51 +00:00
%global pkg_name case-insensitive
2017-02-23 00:51:37 +00:00
%global pkgver %{pkg_name}-%{version}
2011-08-18 00:50:51 +00:00
2014-06-01 14:20:41 +00:00
%bcond_with tests
2011-08-18 00:50:51 +00:00
Name: ghc-%{pkg_name}
2014-06-01 14:20:41 +00:00
# part of haskell-platform
2018-01-24 14:23:24 +00:00
Version: 1.2.0.10
Release: 1%{?dist}
Summary: Case insensitive string comparison
2011-08-18 00:50:51 +00:00
License: BSD
2015-01-26 15:08:21 +00:00
Url: https://hackage.haskell.org/package/%{pkg_name}
2017-02-23 00:51:37 +00:00
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
2012-11-06 10:09:28 +00:00
2011-08-18 00:50:51 +00:00
BuildRequires: ghc-Cabal-devel
2012-11-06 10:09:28 +00:00
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-bytestring-devel
2013-03-12 06:31:09 +00:00
BuildRequires: ghc-deepseq-devel
2012-07-16 02:08:03 +00:00
BuildRequires: ghc-hashable-devel
2016-06-23 03:35:13 +00:00
BuildRequires: ghc-semigroups-devel
2012-11-06 10:09:28 +00:00
BuildRequires: ghc-text-devel
2014-06-01 14:20:41 +00:00
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-test-framework-devel
BuildRequires: ghc-test-framework-hunit-devel
%endif
2012-11-06 10:09:28 +00:00
# End cabal-rpm deps
2011-08-18 00:50:51 +00:00
%description
2014-06-01 14:20:41 +00:00
The module 'Data.CaseInsensitive' provides the 'CI' type constructor which can
be parameterised by a string-like type like: 'String', 'ByteString', 'Text',
etc.. Comparisons of values of the resulting type will be insensitive to cases.
2011-08-18 00:50:51 +00:00
%package devel
Summary: Haskell %{pkg_name} library development files
2014-06-01 14:20:41 +00:00
Provides: %{name}-static = %{version}-%{release}
2018-01-24 13:10:43 +00:00
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}
2018-01-24 13:10:43 +00:00
%endif
2014-06-01 14:20:41 +00:00
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
2014-06-01 14:20:41 +00:00
This package provides the Haskell %{pkg_name} library development
files.
2011-08-18 00:50:51 +00:00
%prep
2017-02-23 00:51:37 +00:00
%setup -q -n %{pkgver}
2011-08-18 00:50:51 +00:00
%build
%ghc_lib_build
%install
%ghc_lib_install
2014-06-01 14:20:41 +00:00
%check
%cabal_test
2014-06-01 14:20:41 +00:00
%post devel
%ghc_pkg_recache
2011-08-18 00:50:51 +00:00
%postun devel
%ghc_pkg_recache
2011-08-18 00:50:51 +00:00
%files -f %{name}.files
%license LICENSE
2011-08-18 00:50:51 +00:00
%files devel -f %{name}-devel.files
2017-02-23 00:51:37 +00:00
%doc CHANGELOG README.markdown
2011-08-18 00:50:51 +00:00
%changelog
2018-01-24 14:23:24 +00:00
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 1.2.0.10-1
- update to 1.2.0.10
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-02-23 00:51:37 +00:00
* Thu Feb 23 2017 Jens Petersen <petersen@redhat.com> - 1.2.0.8-1
- update to 1.2.0.8
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2016-06-23 03:35:13 +00:00
* Thu Jun 23 2016 Jens Petersen <petersen@redhat.com> - 1.2.0.6-1
- update to 1.2.0.6
2016-06-13 09:28:18 +00:00
* Mon Jun 13 2016 Jens Petersen <petersen@redhat.com> - 1.2.0.5-1
- update to 1.2.0.5
* Tue Jun 7 2016 Jens Petersen <petersen@redhat.com> - 1.2.0.4-1
- update to 1.2.0.4
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2014-08-08 14:38:04 +00:00
* Fri Aug 8 2014 Jens Petersen <petersen@redhat.com> - 1.1.0.3-1
- update to 1.1.0.3
* Thu Jun 19 2014 Jens Petersen <petersen@redhat.com> - 1.0.0.1-3
- update packaging to cblrpm-0.8.11
2014-06-01 14:20:41 +00:00
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Sat May 04 2013 Jens Petersen <petersen@redhat.com> - 1.0.0.1-1
- update to 1.0.0.1 (now part of Haskell Platform 2013.2)
- update spec file to cabal-rpm-0.8.0
2013-03-12 06:31:09 +00:00
* Tue Mar 12 2013 Jens Petersen <petersen@redhat.com> - 1.0-1
- update to 1.0
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-11-06 10:09:28 +00:00
* Tue Nov 06 2012 Jens Petersen <petersen@redhat.com> - 0.4.0.3-1
- update to 0.4.0.3
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-07-16 02:08:03 +00:00
* Mon Jul 16 2012 Jens Petersen <petersen@redhat.com> - 0.4.0.1-5
- change prof BRs to devel
2012-06-15 08:46:43 +00:00
* Fri Jun 15 2012 Jens Petersen <petersen@redhat.com> - 0.4.0.1-4
- rebuild
2012-03-22 09:22:56 +00:00
* Thu Mar 22 2012 Jens Petersen <petersen@redhat.com> - 0.4.0.1-3
- rebuild
2012-03-07 08:19:43 +00:00
* Wed Mar 7 2012 Jens Petersen <petersen@redhat.com> - 0.4.0.1-2
- rebuild
* Thu Jan 5 2012 Jens Petersen <petersen@redhat.com> - 0.4.0.1-1
- update to 0.4.0.1 and cabal2spec-0.25.2
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.3.0.1-1.3
- rebuild with new gmp without compat lib
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.3.0.1-1.2
- rebuild with new gmp without compat lib
2011-10-11 09:22:36 +00:00
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 0.3.0.1-1.1
- rebuild with new gmp
2011-10-08 14:09:59 +00:00
* Sat Oct 8 2011 Jens Petersen <petersen@redhat.com> - 0.3.0.1-1
- update to 0.3.0.1
- depends on hashable
2011-09-13 07:40:37 +00:00
* Tue Sep 13 2011 Jens Petersen <petersen@redhat.com> - 0.2.0.2-2
- rebuild against newer ghc-rpm-macros
2011-08-18 00:50:51 +00:00
* Thu Aug 11 2011 Jens Petersen <petersen@redhat.com> - 0.2.0.2-1
- update to 0.2.0.2
* Thu Jun 30 2011 Jens Petersen <petersen@redhat.com> - 0.2.0.1-1
- BSD
- depends on text
* Thu Jun 30 2011 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.2.0.1-0
- initial packaging for Fedora automatically generated by cabal2spec-0.24