From 03e7cef7c5caceecae24f7bcf13206e86592dbe3 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Wed, 20 Mar 2013 15:00:17 +0700 Subject: + language-javascript + utf8-light --- yesod/ghc-language-javascript.spec | 65 ++++++++++++++++++++++++++++++++++++++ yesod/ghc-utf8-light.spec | 54 +++++++++++++++++++++++++++++++ 2 files changed, 119 insertions(+) create mode 100644 yesod/ghc-language-javascript.spec create mode 100644 yesod/ghc-utf8-light.spec diff --git a/yesod/ghc-language-javascript.spec b/yesod/ghc-language-javascript.spec new file mode 100644 index 0000000..c211e8a --- /dev/null +++ b/yesod/ghc-language-javascript.spec @@ -0,0 +1,65 @@ +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + +%global pkg_name language-javascript + +%global common_summary Parser for JavaScript + +%global common_description Parses Javascript into an Abstract Syntax Tree (AST). Initially intended as frontend to hjsmin.\ +\ +Note: Version 0.5.0 breaks compatibility with prior versions, the AST has been reworked to allow\ +round trip processing of JavaScript. + +Name: ghc-%{pkg_name} +Version: 0.5.7 +Release: 1%{?dist} +Summary: %{common_summary} + +License: BSD +URL: http://hackage.haskell.org/package/%{pkg_name} +Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz + +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-array-devel +BuildRequires: ghc-blaze-builder-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-containers-devel +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-utf8-light-devel +BuildRequires: ghc-utf8-string-devel +BuildRequires: happy +# End cabal-rpm deps + +%description +%{common_description} + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%ghc_devel_package + +%ghc_devel_description + + +%ghc_devel_post_postun + + +%ghc_files LICENSE +%doc README + + +%changelog +* Wed Mar 20 2013 Fedora Haskell SIG +- spec file generated by cabal-rpm-0.7.0 diff --git a/yesod/ghc-utf8-light.spec b/yesod/ghc-utf8-light.spec new file mode 100644 index 0000000..53e43bc --- /dev/null +++ b/yesod/ghc-utf8-light.spec @@ -0,0 +1,54 @@ +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + +%global pkg_name utf8-light + +%global common_summary Unicode + +%global common_description Lightweight UTF8 handling. + +Name: ghc-%{pkg_name} +Version: 0.4.0.1 +Release: 1%{?dist} +Summary: %{common_summary} + +License: BSD +URL: http://hackage.haskell.org/package/%{pkg_name} +Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz + +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-bytestring-devel +# End cabal-rpm deps + +%description +%{common_description} + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%ghc_devel_package + +%ghc_devel_description + + +%ghc_devel_post_postun + + +%ghc_files LICENSE + + +%changelog +* Wed Mar 20 2013 Fedora Haskell SIG +- spec file generated by cabal-rpm-0.7.0 -- cgit