[ghc-haskell-lexer] Initial import
Ben Boeckel
mathstuf at fedoraproject.org
Wed Aug 28 03:56:22 UTC 2013
commit b5e19ce51e71c505477c8bd3c234d846425484e9
Author: Ben Boeckel <mathstuf at gmail.com>
Date: Tue Aug 27 23:56:09 2013 -0400
Initial import
.gitignore | 1 +
ghc-haskell-lexer.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6b79093 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/haskell-lexer-1.0.tar.gz
diff --git a/ghc-haskell-lexer.spec b/ghc-haskell-lexer.spec
new file mode 100644
index 0000000..00935c6
--- /dev/null
+++ b/ghc-haskell-lexer.spec
@@ -0,0 +1,65 @@
+# https://fedoraproject.org/wiki/Packaging:Haskell
+
+%global pkg_name haskell-lexer
+
+Name: ghc-%{pkg_name}
+Version: 1.0
+Release: 2%{?dist}
+Summary: A fully compliant Haskell 98 lexer
+
+License: MIT
+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
+
+%description
+A fully compliant Haskell 98 lexer.
+
+
+%package devel
+Summary: Haskell %{pkg_name} library development files
+Requires: ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package provides the development files for
+the Haskell %{pkg_name} library.
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+
+%post devel
+%ghc_pkg_recache
+
+
+%postun devel
+%ghc_pkg_recache
+
+
+%files -f %{name}.files
+%doc LICENSE
+
+
+%files devel -f %{name}-devel.files
+
+
+%changelog
+* Mon Aug 26 2013 Ben Boeckel <mathstuf at gmail.com> - 1.0-2
+- The license is actually MIT (incorrect cabal metadata)
+
+* Sat Jun 15 2013 Fedora Haskell SIG <haskell at lists.fedoraproject.org> - 1.0-1
+- spec file generated by cabal-rpm-0.8.1
diff --git a/sources b/sources
index e69de29..e467cbb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+81c2dbfcdd0b522aa71ff7bb7a4b6190 haskell-lexer-1.0.tar.gz
More information about the scm-commits
mailing list