You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ghc-case-insensitive/ghc-case-insensitive.spec

127 lines
3.5 KiB

# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name case-insensitive
Name: ghc-%{pkg_name}
# part of haskell-platform-2013.2+
Version: 1.0.0.1
12 years ago
Release: 1%{?dist}
Summary: Case insensitive string comparison
License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
12 years ago
BuildRequires: ghc-Cabal-devel
12 years ago
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-bytestring-devel
12 years ago
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-hashable-devel
12 years ago
BuildRequires: ghc-text-devel
# End cabal-rpm deps
%description
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.
%package devel
Summary: Haskell %{pkg_name} library development files
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%doc LICENSE
%files devel -f %{name}-devel.files
%doc README.markdown
%changelog
* 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
12 years ago
* 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
12 years ago
* 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
* Mon Jul 16 2012 Jens Petersen <petersen@redhat.com> - 0.4.0.1-5
- change prof BRs to devel
13 years ago
* Fri Jun 15 2012 Jens Petersen <petersen@redhat.com> - 0.4.0.1-4
- rebuild
13 years ago
* Thu Mar 22 2012 Jens Petersen <petersen@redhat.com> - 0.4.0.1-3
- rebuild
13 years ago
* 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
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 0.3.0.1-1.1
- rebuild with new gmp
13 years ago
* Sat Oct 8 2011 Jens Petersen <petersen@redhat.com> - 0.3.0.1-1
- update to 0.3.0.1
- depends on hashable
14 years ago
* Tue Sep 13 2011 Jens Petersen <petersen@redhat.com> - 0.2.0.2-2
- rebuild against newer ghc-rpm-macros
* 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