ghc/cabal-bin-template.spec.in
Jens Petersen b17255a641 - add support for bin and binlib packages to cabal2spec script and only
grep .cabal files for exposed-module/executable
- output bin and/or lib status too
2008-11-25 09:15:17 +00:00

49 lines
871 B
RPMSpec

# 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
%cabal_build
%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