b17255a641
grep .cabal files for exposed-module/executable - output bin and/or lib status too
49 lines
871 B
RPMSpec
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
|