[ghc-byteorder] Initial import into Fedora

Ben Boeckel mathstuf at fedoraproject.org
Thu Feb 7 20:38:12 UTC 2013


commit 8858699cb217833fd5fd86eac6813f468b6e21fb
Author: Ben Boeckel <mathstuf at gmail.com>
Date:   Thu Feb 7 15:38:05 2013 -0500

    Initial import into Fedora

 .gitignore         |    1 +
 ghc-byteorder.spec |   55 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1425877 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/byteorder-1.0.3.tar.gz
diff --git a/ghc-byteorder.spec b/ghc-byteorder.spec
new file mode 100644
index 0000000..9b9834e
--- /dev/null
+++ b/ghc-byteorder.spec
@@ -0,0 +1,55 @@
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
+%global pkg_name byteorder
+
+%global common_summary Exposes the native endianness or byte ordering of the system
+
+%global common_description This package is for working with the native byte-ordering of\
+the system.
+
+Name:           ghc-%{pkg_name}
+Version:        1.0.3
+Release:        2%{?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
+
+%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
+* Thu Feb 07 2013 Ben Boeckel <mathstuf at gmail.com> - 1.0.3-2
+- Initial import into Fedora
+
+* Sat Jan 12 2013 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 1.0.3-1
+- spec file generated by cabal-rpm-0.6.6
diff --git a/sources b/sources
index e69de29..695ec7d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+70f8e69c2fdf384bf9a44ee3478f6a1c  byteorder-1.0.3.tar.gz


More information about the scm-commits mailing list