[ghc-ConfigFile] initial import (#634052)

Jens Petersen petersen at fedoraproject.org
Wed Mar 16 06:38:57 UTC 2011


commit cf9fb76cc5e2f4de8324f87ec852dc9e3fbff8e0
Author: Jens Petersen <petersen at redhat.com>
Date:   Wed Mar 16 15:38:56 2011 +0900

    initial import (#634052)

 .gitignore          |    1 +
 ghc-ConfigFile.spec |   73 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 75 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5cf99ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ConfigFile-1.0.6.tar.gz
diff --git a/ghc-ConfigFile.spec b/ghc-ConfigFile.spec
new file mode 100644
index 0000000..f2964f0
--- /dev/null
+++ b/ghc-ConfigFile.spec
@@ -0,0 +1,73 @@
+%global pkg_name ConfigFile
+
+%global common_summary Configuration file reading and writing
+
+%global common_description Parser and writer for handling sectioned config files in \
+Haskell. \
+ \
+The ConfigFile module works with configuration files in a \
+standard format that is easy for the user to edit, easy for \
+the programmer to work with, yet remains powerful and \
+flexible. It is inspired by, and compatible with, Python's \
+ConfigParser module. It uses files that resemble Windows \
+.INI-style files, but with numerous improvements. \
+ \
+ConfigFile provides simple calls to both read and write \
+config files. It's possible to make a config file parsable by \
+this module, the Unix shell, and make.
+
+%global ghc_pkg_deps ghc-MissingH-devel, ghc-mtl-devel, ghc-parsec-devel
+
+# debuginfo is not useful for ghc
+%global debug_package %{nil}
+
+Name:           ghc-%{pkg_name}
+Version:        1.0.6
+Release:        3%{?dist}
+Summary:        %{common_summary}
+
+Group:          System Environment/Libraries
+License:        LGPLv2+
+URL:            http://hackage.haskell.org/package/%{pkg_name}
+Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
+# fedora ghc archs:
+ExclusiveArch:  %{ix86} x86_64 ppc alpha
+BuildRequires:  ghc, ghc-doc, ghc-prof
+BuildRequires:  ghc-rpm-macros >= 0.7.3
+BuildRequires:  hscolour
+%{?ghc_pkg_deps:BuildRequires:  %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
+
+%description
+%{common_description}
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}/
+install -m 644 -p COPY* %{buildroot}%{_docdir}/%{name}-%{version}/
+install -m 644 -p README %{buildroot}%{_docdir}/%{name}-%{version}/README
+
+
+%{?ghc_lib_package}
+
+
+%changelog
+* Sat Jan 29 2011 Jens Petersen <petersen at redhat.com> - 1.0.6-3
+- update to cabal2spec-0.22.4
+
+* Wed Sep 15 2010 Jens Petersen <petersen at redhat.com> - 1.0.6-2
+- include the COPYRIGHT file too
+
+* Sun Sep 05 2010 Ben Boeckel <mathstuf at gmail.com> - 1.0.6-1
+- Initial package
+
+* Sun Sep  5 2010 Fedora Haskell SIG <haskell-devel at lists.fedoraproject.org> - 1.0.6-0
+- initial packaging for Fedora automatically generated by cabal2spec-0.22.2
diff --git a/sources b/sources
index e69de29..250ab59 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fbdef31a2989723cc25ba92622ff0e42  ConfigFile-1.0.6.tar.gz


More information about the scm-commits mailing list