update to 0.10.4.0 and cabal-rpm-0.8.0

This commit is contained in:
Jens Petersen 2013-05-04 21:38:00 +09:00
parent 332e667538
commit 3a447978ce
3 changed files with 31 additions and 16 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
/attoparsec-0.10.1.0.tar.gz
/attoparsec-0.10.1.1.tar.gz
/attoparsec-0.10.2.0.tar.gz
/attoparsec-0.10.4.0.tar.gz

View File

@ -1,17 +1,11 @@
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name attoparsec
%global common_summary Fast combinator parsing for bytestrings
%global common_description A fast parser combinator library aimed particularly at dealing efficiently\
with network protocols and complicated text/binary file formats.
Name: ghc-%{pkg_name}
Version: 0.10.2.0
Release: 5%{?dist}
Summary: %{common_summary}
Version: 0.10.4.0
Release: 1%{?dist}
Summary: Fast combinator parsing for bytestrings and text
License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name}
@ -28,9 +22,21 @@ BuildRequires: ghc-text-devel
# End cabal-rpm deps
%description
%{common_description}
A fast parser combinator library, aimed particularly at dealing
efficiently with network protocols and complicated text/binary
file formats.
%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 attoparsec library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
@ -43,19 +49,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 examples README.markdown
%changelog
* Sat May 04 2013 Jens Petersen <petersen@redhat.com> - 0.10.4.0-1
- update to 0.10.4.0
- update spec file to cabal-rpm-0.8.0
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.2.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

View File

@ -1 +1 @@
2829428e242ae4ddde54cbb08f8a7ab6 attoparsec-0.10.2.0.tar.gz
2b9ec5768797e8c649bf36efa9ef97e2 attoparsec-0.10.4.0.tar.gz