Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
ghc-yaml
ghc-yaml.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ghc-yaml.spec of Package ghc-yaml
# # spec file for package ghc-yaml # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %global pkg_name yaml Name: ghc-yaml Version: 0.8.17.2 Release: 0 Summary: Support for parsing and rendering YAML documents License: BSD-3-Clause Group: System/Libraries Url: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz # End cabal-rpm deps BuildRequires: chrpath BuildRequires: ghc-Cabal-devel # Begin cabal-rpm deps: BuildRequires: ghc-aeson-devel BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-conduit-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-enclosed-exceptions-devel BuildRequires: ghc-raw-strings-qq-devel BuildRequires: ghc-resourcet-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-scientific-devel BuildRequires: ghc-semigroups-devel BuildRequires: ghc-text-devel BuildRequires: ghc-transformers-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-vector-devel BuildRequires: libyaml-devel BuildRequires: pkgconfig(pkg-config) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Provides support for parsing and emitting Yaml documents. 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. "Text.Libyaml" provides a lower-level, streaming interface. For most users, "Data.Yaml" is recommended. %package devel Summary: Haskell %{name} library development files Group: Development/Libraries/Other Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires: libyaml-devel %description devel This package provides the Haskell yaml library development files. %prep %setup -q -n %{pkg_name}-%{version} %build %define cabal_configure_options -f system-libyaml %ghc_lib_build %install %ghc_lib_install %ghc_fix_dynamic_rpath yaml2json %ghc_fix_dynamic_rpath json2yaml %post devel %ghc_pkg_recache %postun devel %ghc_pkg_recache %files -f %{name}.files %defattr(-,root,root,-) %doc LICENSE %{_bindir}/yaml2json %{_bindir}/json2yaml %files devel -f %{name}-devel.files %defattr(-,root,root,-) %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor