Package ghc-c2hs: Specfile
%define hsc_name ghc %define hsc_version %ghc_version %define hsc_namever %hsc_name %define h_pkg_name c2hs %define f_pkg_name c2hs %define pkg_libdir %_libdir/%hsc_name-%hsc_version/lib/%h_pkg_name-%version Name: %hsc_namever-%f_pkg_name Version: 0.16.3 Release: alt1 License: GPL-2 Packager: Denis Smirnov <mithraen@altlinux.ru> Group: Development/Haskell URL: http://www.cse.unsw.edu.au/~chak/haskell/c2hs/ Source: %name-%version.tar Summary: C->Haskell FFI tool that gives some cross-language type safety # Automatically added by buildreq on Wed Aug 03 2011 # optimized out: ghc ghc-syb libgmp-devel pkg-config BuildRequires: ghc-alex ghc-happy ghc-hscolour ghc-language-c BuildRequires: ghc BuildRequires(pre): rpm-build-haskell %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 hsch2s), this ensures that C functions are imported with the correct Haskell types. %prep %setup %build %hs_configure2 %hs_build %install %hs_install %hs_gen_filelist cd %buildroot%_datadir/doc/%name-%version rm -rf doc LICENSE examples %files -f %name-files.nonprof %_bindir/c2hs %_datadir/doc/%name-%version %changelog * Wed Aug 03 2011 Denis Smirnov <mithraen@altlinux.ru> 0.16.3-alt1 - first build for Sisyphus |