parent
b051bcd7d8
commit
318b14acdd
@ -0,0 +1 @@
|
||||
/ansi-terminal-0.5.5.tar.gz
|
@ -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.
|
Loading…
Reference in new issue