2008-11-25 09:15:17 +00:00
|
|
|
# ghc does not emit debug information
|
|
|
|
%define debug_package %{nil}
|
|
|
|
|
|
|
|
Name: @PACKAGE@
|
|
|
|
Version: @VERSION@
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: *FIXME*
|
|
|
|
|
|
|
|
Group: *FIXME*
|
|
|
|
License: BSD?
|
|
|
|
URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{name}
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
ExclusiveArch: i386 x86_64 ppc
|
|
|
|
|
|
|
|
BuildRequires: ghc
|
|
|
|
|
|
|
|
%description
|
|
|
|
*FIXME*
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cabal_configure
|
2008-12-01 05:46:36 +00:00
|
|
|
%cabal build
|
2008-11-25 09:15:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%cabal_install
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc LICENSE
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* @DATE@ @PACKAGER@ <@EMAIL@> - @VERSION@-1
|
|
|
|
- initial packaging for Fedora created by cabal2spec
|