[ghc-libxml-sax] initial version (generated by cabal-rpm)
Dan Callaghan
dcallagh at fedoraproject.org
Mon Jul 22 10:46:32 UTC 2013
commit 5eb44d5f5c0554c045017ef1ac517bc583e631fe
Author: Dan Callaghan <dcallagh at redhat.com>
Date: Mon May 13 10:31:17 2013 +1000
initial version (generated by cabal-rpm)
.gitignore | 1 +
ghc-libxml-sax.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..38889dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libxml-sax-0.7.4.tar.gz
diff --git a/ghc-libxml-sax.spec b/ghc-libxml-sax.spec
new file mode 100644
index 0000000..37e8f58
--- /dev/null
+++ b/ghc-libxml-sax.spec
@@ -0,0 +1,46 @@
+%global pkg_name libxml-sax
+
+%global common_summary Haskell bindings for the libxml2 SAX interface
+
+%global common_description Haskell bindings for the libxml2 SAX interface.
+
+Name: ghc-%{pkg_name}
+Version: 0.7.4
+Release: 1%{?dist}
+Summary: %{common_summary}
+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
+
+BuildRequires: ghc-bytestring-devel
+BuildRequires: ghc-text-devel
+BuildRequires: ghc-xml-types-devel
+BuildRequires: pkgconfig(libxml-2.0)
+
+%description
+%{common_description}
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+%build
+%ghc_lib_build
+
+%install
+%ghc_lib_install
+
+%ghc_devel_package
+Requires: pkgconfig(libxml-2.0)
+
+%ghc_devel_description
+
+%ghc_devel_post_postun
+
+%ghc_files license.txt
+
+%changelog
+* Mon May 13 2013 Dan Callaghan <dcallagh at redhat.com> - 0.7.4-1
+- initial version
diff --git a/sources b/sources
index e69de29..261d6c0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cc3f4a6217f7e3a6bfd026c1a9c42eec libxml-sax-0.7.4.tar.gz
More information about the scm-commits
mailing list