|
|
|
@ -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,8 +22,20 @@ 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
|
|
|
|
|
%post devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_description
|
|
|
|
|
%postun devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_post_postun
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_files 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
|
|
|
|
|
|
|
|
|
|