update to 1.0.0.1 and cabal-rpm-0.8.0
now part of Haskell Platform 2013.2
This commit is contained in:
parent
bde0b1a4a8
commit
48f47ad7fa
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
||||
/case-insensitive-0.4.0.1.tar.gz
|
||||
/case-insensitive-0.4.0.3.tar.gz
|
||||
/case-insensitive-1.0.tar.gz
|
||||
/case-insensitive-1.0.0.1.tar.gz
|
||||
|
@ -1,19 +1,12 @@
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
%global pkg_name case-insensitive
|
||||
|
||||
%global common_summary Case insensitive string comparison
|
||||
|
||||
%global common_description The module Data.CaseInsensitive provides the CI type constructor which\
|
||||
can be parameterised by a string-like type (String, ByteString,\
|
||||
Text, etc). Comparisons of values of the resulting type will be\
|
||||
insensitive to cases.
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.0
|
||||
# part of haskell-platform-2013.2+
|
||||
Version: 1.0.0.1
|
||||
Release: 1%{?dist}
|
||||
Summary: %{common_summary}
|
||||
Summary: Case insensitive string comparison
|
||||
|
||||
License: BSD
|
||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
@ -29,9 +22,22 @@ BuildRequires: ghc-text-devel
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
%{common_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}
|
||||
Requires(post): %{ghc_compiler}
|
||||
Requires(postun): %{ghc_compiler}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package provides the Haskell case-insensitive library development files.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
|
||||
@ -44,19 +50,27 @@ BuildRequires: ghc-text-devel
|
||||
%ghc_lib_install
|
||||
|
||||
|
||||
%ghc_devel_package
|
||||
|
||||
%ghc_devel_description
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
||||
%ghc_devel_post_postun
|
||||
%postun devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
||||
%ghc_files LICENSE
|
||||
%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
|
||||
|
||||
* Tue Mar 12 2013 Jens Petersen <petersen@redhat.com> - 1.0-1
|
||||
- update to 1.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user