Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
c2hs
c2hs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File c2hs.spec of Package c2hs
# # spec file for package c2hs # # Copyright (c) 2017 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/ # %bcond_with tests Name: c2hs Version: 0.28.2 Release: 0 Summary: C->Haskell FFI tool that gives some cross-language type safety License: GPL-2.0+ Group: Development/Libraries/Haskell URL: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-array-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-dlist-devel BuildRequires: ghc-filepath-devel BuildRequires: ghc-language-c-devel BuildRequires: ghc-pretty-devel BuildRequires: ghc-process-devel BuildRequires: ghc-rpm-macros %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-shelly-devel BuildRequires: ghc-test-framework-devel BuildRequires: ghc-test-framework-hunit-devel BuildRequires: ghc-text-devel BuildRequires: ghc-transformers-devel %endif %description C->Haskell assists in the development of Haskell bindings to C libraries. It extracts interface information from C header files and generates Haskell code with foreign imports and marshaling. Unlike writing foreign imports by hand (or using hsc2hs), this ensures that C functions are imported with the correct Haskell types. %prep %setup -q %build %ghc_bin_build %install %ghc_bin_install %check %cabal_test %files %doc COPYING %doc AUTHORS ChangeLog ChangeLog.old README doc %{_bindir}/%{name} %dir %{_datadir}/%{name}-%{version} %{_datadir}/%{name}-%{version}/C2HS.hs %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