[ghc-date-cache] Initial import into Fedora

Ben Boeckel mathstuf at fedoraproject.org
Thu Jan 31 00:54:17 UTC 2013


commit aa4864dce8aea7eba4d8755d72c5a57a06673ed1
Author: Ben Boeckel <mathstuf at gmail.com>
Date:   Wed Jan 30 19:54:11 2013 -0500

    Initial import into Fedora

 .gitignore          |    1 +
 ghc-date-cache.spec |   58 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0bf0a3e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/date-cache-0.3.0.tar.gz
diff --git a/ghc-date-cache.spec b/ghc-date-cache.spec
new file mode 100644
index 0000000..dac73cd
--- /dev/null
+++ b/ghc-date-cache.spec
@@ -0,0 +1,58 @@
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
+%global pkg_name date-cache
+
+%global common_summary Date cacher
+
+%global common_description Formatting time is slow. This package provides\
+mechanisms to cache formatted date
+
+Name:           ghc-%{pkg_name}
+Version:        0.3.0
+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
+# 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 Jan 30 2013 Ben Boeckel <mathstuf at gmail.com> - 0.3.0-2
+- Initial import into Fedora
+
+* Sat Dec  8 2012 Fedora Haskell SIG <haskell at lists.fedoraproject.org>
+- spec file generated by cabal-rpm-0.6.6
diff --git a/sources b/sources
index e69de29..3d55c92 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9d0dbee1b36478550c841e84553b55dc  date-cache-0.3.0.tar.gz


More information about the scm-commits mailing list