cblrpm refresh

epel9
Jens Petersen 10 years ago
parent 44144aefdf
commit 2aceaad981

@ -2,14 +2,16 @@
%global pkg_name yaml %global pkg_name yaml
%bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.8.8.2 Version: 0.8.8.2
Release: 4%{?dist} Release: 5%{?dist}
Summary: Support for parsing and rendering YAML documents Summary: Support for parsing and rendering YAML documents
License: BSD License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name} Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
@ -27,13 +29,18 @@ BuildRequires: ghc-transformers-devel
BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-vector-devel BuildRequires: ghc-vector-devel
BuildRequires: pkgconfig(yaml-0.1) BuildRequires: pkgconfig(yaml-0.1)
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-hspec-devel
%endif
# End cabal-rpm deps # End cabal-rpm deps
%description %description
Provides support for parsing and emitting Yaml documents. Provides support for parsing and emitting Yaml documents.
The package is broken down into two modules. "Data.Yaml" provides a high-level The package is broken down into two modules. "Data.Yaml" provides a high-level
interface based around the JSON datatypes provided by the aeson package. interface based around the JSON datatypes provided by the 'aeson' package.
"Text.Libyaml" provides a lower-level, streaming interface. For most users, "Text.Libyaml" provides a lower-level, streaming interface. For most users,
"Data.Yaml" is recommended. "Data.Yaml" is recommended.
@ -68,7 +75,13 @@ rm -r libyaml
%install %install
%ghc_lib_install %ghc_lib_install
%ghc_fix_dynamic_rpath yaml2json %ghc_fix_dynamic_rpath json2yaml yaml2json
%check
%if %{with tests}
%cabal test
%endif
%post devel %post devel
@ -84,11 +97,14 @@ rm -r libyaml
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%{_bindir}/yaml2json
%{_bindir}/json2yaml %{_bindir}/json2yaml
%{_bindir}/yaml2json
%changelog %changelog
* Wed Jan 28 2015 Jens Petersen <petersen@redhat.com> - 0.8.8.2-5
- cblrpm refresh
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8.2-4 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

Loading…
Cancel
Save