summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2013-03-20 15:00:17 +0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2013-03-20 15:00:17 +0700
commit03e7cef7c5caceecae24f7bcf13206e86592dbe3 (patch)
tree215620ceb86dc2265cfaf657f44f7a20c2352444
parent73f65f5363a74b5036677dc5f76cd6d31806a26d (diff)
downloadspecs-03e7cef7c5caceecae24f7bcf13206e86592dbe3.tar.gz
specs-03e7cef7c5caceecae24f7bcf13206e86592dbe3.tar.xz
specs-03e7cef7c5caceecae24f7bcf13206e86592dbe3.zip
+ language-javascript
+ utf8-light
-rw-r--r--yesod/ghc-language-javascript.spec65
-rw-r--r--yesod/ghc-utf8-light.spec54
2 files changed, 119 insertions, 0 deletions
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 <haskell@lists.fedoraproject.org>
+- 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 <haskell@lists.fedoraproject.org>
+- spec file generated by cabal-rpm-0.7.0