Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Jens Petersen | 49673b725e | |
Jens Petersen | 4d8456ff1f |
|
@ -8,34 +8,23 @@
|
||||||
Base64Url, Base85, Python string escaping, Quoted-Printable, URL encoding,\
|
Base64Url, Base85, Python string escaping, Quoted-Printable, URL encoding,\
|
||||||
uuencode, xxencode, and yEncoding.
|
uuencode, xxencode, and yEncoding.
|
||||||
|
|
||||||
%bcond_without shared
|
|
||||||
|
|
||||||
# debuginfo is not useful for ghc
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.13.0.2
|
Version: 0.13.0.2
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: %{common_summary}
|
Summary: %{common_summary}
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name}
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
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:
|
# fedora ghc archs:
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
||||||
BuildRequires: ghc, ghc-doc, ghc-prof
|
BuildRequires: ghc, ghc-doc, ghc-prof
|
||||||
BuildRequires: ghc-rpm-macros >= 0.7.0
|
BuildRequires: ghc-rpm-macros >= 0.7.3
|
||||||
|
BuildRequires: hscolour
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
%{common_description}
|
||||||
%if %{with shared}
|
|
||||||
This package provides the shared library.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%{?ghc_lib_package}
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
@ -47,15 +36,16 @@ This package provides the shared library.
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%ghc_lib_package
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 6 2011 Jens Petersen <petersen@redhat.com> - 0.13.0.2-4
|
||||||
|
- update to contemporary cabal2spec template
|
||||||
|
|
||||||
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 0.13.0.2-3
|
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 0.13.0.2-3
|
||||||
- sync cabal2spec-0.22
|
- sync cabal2spec-0.22
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue