[ghc-hledger-lib] Update to cabal2spec-0.24

Ben Boeckel mathstuf at fedoraproject.org
Tue Jul 26 01:54:38 UTC 2011


commit ee15e7f3f2f53bdaaa3f6f2a9e1bf0b008e986d0
Author: Ben Boeckel <MathStuf at gmail.com>
Date:   Sat Jul 9 01:23:34 2011 -0400

    Update to cabal2spec-0.24

 ghc-hledger-lib.spec |  112 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 112 insertions(+), 0 deletions(-)
---
diff --git a/ghc-hledger-lib.spec b/ghc-hledger-lib.spec
new file mode 100644
index 0000000..c90e9c3
--- /dev/null
+++ b/ghc-hledger-lib.spec
@@ -0,0 +1,112 @@
+# For Haskell Packaging Guidelines see:
+# - https://fedoraproject.org/wiki/Packaging:Haskell
+# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
+%global pkg_name hledger-lib
+
+%global common_summary Core types and utilities for working with hledger data
+
+%global common_description This is the reusable core of the hledger financial app; use \
+it to build hledger and c++-ledger compatible finance tools.
+
+Name:           ghc-%{pkg_name}
+Version:        0.14
+Release:        1%{?dist}
+Summary:        %{common_summary}
+
+Group:          System Environment/Libraries
+License:        GPLv3
+# BEGIN: cabal2spec-0.24
+URL:            http://hackage.haskell.org/package/%{pkg_name}
+Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
+ExclusiveArch:  %{ghc_arches}
+BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-rpm-macros
+BuildRequires:  hscolour
+# END: cabal2spec-0.24
+
+BuildRequires:  ghc-bytestring-devel
+BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-directory-devel
+BuildRequires:  ghc-filepath-devel
+BuildRequires:  ghc-HUnit-devel
+BuildRequires:  ghc-mtl-devel
+BuildRequires:  ghc-old-locale-devel
+BuildRequires:  ghc-parsec-devel
+BuildRequires:  ghc-regexpr-devel
+BuildRequires:  ghc-safe-devel
+BuildRequires:  ghc-split-devel
+BuildRequires:  ghc-time-devel
+BuildRequires:  ghc-utf8-string-devel
+
+%description
+%{common_description}
+
+
+%package -n ghc-%{pkg_name}-devel
+Summary:        Development files for %{common_summary}
+Group:          Development/Libraries
+# BEGIN: cabal2spec-0.24
+%{?ghc_devel_requires}
+Obsoletes:      ghc-%{pkg_name}-prof < %{version}-%{release}
+Provides:       ghc-%{pkg_name}-prof = %{version}-%{release}
+# END: cabal2spec-0.24
+
+%description -n ghc-%{pkg_name}-devel
+%{common_description}
+
+This package contains the development files.
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+
+%post -n ghc-%{pkg_name}-devel
+%ghc_pkg_recache
+
+%postun -n ghc-%{pkg_name}-devel
+%ghc_pkg_recache
+
+
+%if %{undefined ghc_without_shared}
+%files -n ghc-%{pkg_name} -f ghc-%{pkg_name}.files
+%defattr(-,root,root,-)
+%endif
+
+%files -n ghc-%{pkg_name}-devel -f ghc-%{pkg_name}-devel.files
+%defattr(-,root,root,-)
+
+
+%changelog
+* Sat Jul 09 2011 Ben Boeckel <mathstuf at gmail.com> - 0.14-1
+- Update to cabal2spec-0.24
+
+* Mon Jun 20 2011 Ben Boeckel <mathstuf at gmail.com> - 0.14-1
+- Update to 0.14
+
+* Fri Dec 10 2010 Ben Boeckel <mathstuf at gmail.com> - 0.13-1
+- Update to 0.13
+
+* Fri Dec 03 2010 Ben Boeckel <mathstuf at gmail.com> - 0.12.98-1
+- Update to snapshot (0.12.98)
+
+* Sat Oct 30 2010 Ben Boeckel <mathstuf at gmail.com> - 0.12.1-1
+- Update to 0.12.1
+
+* Sun Sep 05 2010 Ben Boeckel <mathstuf at gmail.com> - 0.12-1
+- Update to 0.12
+
+* Fri Sep 03 2010 Ben Boeckel <mathstuf at gmail.com> - 0.11.1-1
+- Initial package
+
+* Fri Sep  3 2010 Fedora Haskell SIG <haskell-devel at lists.fedoraproject.org> - 0.11.1-0
+- initial packaging for Fedora automatically generated by cabal2spec-0.22.2


More information about the scm-commits mailing list