[ghc-ansi-terminal] First release.

Shakthi Kannan shakthimaan at fedoraproject.org
Tue Jan 25 02:29:16 UTC 2011


commit 318b14acddba132f26cf2043711043f9455885bc
Author: Shakthi Kannan <shakthimaan at gmail.com>
Date:   Tue Jan 25 08:17:37 2011 +0530

    First release.

 .gitignore             |    1 +
 ghc-ansi-terminal.spec |   64 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..878b377 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ansi-terminal-0.5.5.tar.gz
diff --git a/ghc-ansi-terminal.spec b/ghc-ansi-terminal.spec
new file mode 100644
index 0000000..2ee6570
--- /dev/null
+++ b/ghc-ansi-terminal.spec
@@ -0,0 +1,64 @@
+%global pkg_name ansi-terminal
+
+%global common_summary Haskell %{pkg_name} library
+
+%global common_description %{common_summary}
+
+%bcond_without shared
+%bcond_without hscolour
+
+# debuginfo is not useful for ghc
+%global debug_package %{nil}
+
+Name:           ghc-%{pkg_name}
+Version:        0.5.5
+Release:        1%{?dist}
+Summary:        Haskell %{pkg_name}
+
+Group:          System Environment/Libraries
+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
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+# fedora ghc archs:
+ExclusiveArch:  %{ix86} x86_64 ppc alpha
+BuildRequires:  ghc, ghc-doc, ghc-prof
+BuildRequires:  ghc-rpm-macros >= 0.8.1
+%if %{with hscolour}
+BuildRequires:  hscolour
+%endif
+
+
+%description
+%{common_description}
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+rm -rf %{buildroot}
+%ghc_lib_install
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE
+
+
+%{?ghc_lib_package}
+
+
+%changelog
+* Tue Jan 18 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.5.5-1
+- Added license info.
+- Initial packaging for Fedora automatically generated by cabal2spec-0.22.2.
diff --git a/sources b/sources
index e69de29..0f1281d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5ad9e6561f0de1a2e98b6c72d119ea75  ansi-terminal-0.5.5.tar.gz


More information about the scm-commits mailing list