[ghc-data-accessor] Initial import into Fedora

Ben Boeckel mathstuf at fedoraproject.org
Thu Jan 31 01:10:01 UTC 2013


commit 5853463dcafeaf8ad1945ae9e48dd785ae331763
Author: Ben Boeckel <mathstuf at gmail.com>
Date:   Wed Jan 30 20:09:58 2013 -0500

    Initial import into Fedora

 .gitignore             |    1 +
 ghc-data-accessor.spec |   81 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a1d9454 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/data-accessor-0.2.2.3.tar.gz
diff --git a/ghc-data-accessor.spec b/ghc-data-accessor.spec
new file mode 100644
index 0000000..e8b0255
--- /dev/null
+++ b/ghc-data-accessor.spec
@@ -0,0 +1,81 @@
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
+%global pkg_name data-accessor
+
+%global common_summary Utilities for accessing and manipulating fields of records
+
+%global common_description With this package you can define record field accessors which \
+allow setting, getting and modifying values easily. The \
+package clearly demonstrates the power of the functional \
+approach: You can combine accessors of a record and \
+sub-records, to make the access look like the fields of the \
+sub-record belong to the main record.
+
+Name:           ghc-%{pkg_name}
+Version:        0.2.2.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
+# Begin cabal-rpm deps:
+BuildRequires:  ghc-array-devel
+BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-transformers-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.2.2.3-2
+- Initial import into Fedora
+
+* Sat Dec 08 2012 Ben Boeckel <mathstuf at gmail.com> - 0.2.2.3-1
+- Update to 0.2.2.3
+- spec file generated by cabal-rpm-0.6.6
+
+* Mon Apr 23 2012 Ben Boeckel <mathstuf at gmail.com> - 0.2.2.2-1
+- Update to 0.2.2.2
+
+* Sat Mar 03 2012 Ben Boeckel <mathstuf at gmail.com> - 0.2.2.1-1
+- Update to 0.2.2.1
+- Update to cabal2spec-0.25.4
+
+* Tue Mar 08 2011 Ben Boeckel <mathstuf at gmail.com> - 0.2.1.7-1
+- Update to 0.2.1.7
+
+* Fri Dec 10 2010 Ben Boeckel <mathstuf at gmail.com> - 0.2.1.5-1
+- Initial package
+
+* Fri Dec 10 2010 Fedora Haskell SIG <haskell-devel at lists.fedoraproject.org> - 0.2.1.5-0
+- initial packaging for Fedora automatically generated by cabal2spec-0.22.2
diff --git a/sources b/sources
index e69de29..a4803a4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d4f895bdd6f2775a3dbc3ba73278b5d7  data-accessor-0.2.2.3.tar.gz


More information about the scm-commits mailing list