78 lines
2.0 KiB
RPMSpec
78 lines
2.0 KiB
RPMSpec
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
%global pkg_name HSH
|
|
|
|
%global common_summary Library to mix shell scripting with Haskell programs
|
|
|
|
%global common_description HSH is designed to let you mix and match shell expressions with\
|
|
Haskell programs. With HSH, it is possible to easily run shell commands,\
|
|
capture their output or provide their input, and pipe them to and from\
|
|
other shell commands and arbitrary Haskell functions at will.
|
|
|
|
Name: ghc-%{pkg_name}
|
|
Version: 2.0.4
|
|
Release: 4%{?dist}
|
|
Summary: %{common_summary}
|
|
|
|
License: LGPLv2+
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
BuildRequires: ghc-rpm-macros
|
|
# Begin cabal-rpm deps:
|
|
BuildRequires: ghc-MissingH-devel
|
|
BuildRequires: ghc-bytestring-devel
|
|
BuildRequires: ghc-directory-devel
|
|
BuildRequires: ghc-filepath-devel
|
|
BuildRequires: ghc-hslogger-devel
|
|
BuildRequires: ghc-mtl-devel
|
|
BuildRequires: ghc-process-devel
|
|
BuildRequires: ghc-regex-base-devel
|
|
BuildRequires: ghc-regex-compat-devel
|
|
BuildRequires: ghc-regex-posix-devel
|
|
BuildRequires: ghc-unix-devel
|
|
# End cabal-rpm deps
|
|
|
|
%description
|
|
%{common_description}
|
|
|
|
|
|
%prep
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
%build
|
|
%ghc_lib_build
|
|
|
|
|
|
%install
|
|
%ghc_lib_install
|
|
|
|
|
|
%ghc_devel_package
|
|
|
|
%ghc_devel_description
|
|
|
|
|
|
%ghc_devel_post_postun
|
|
|
|
|
|
%ghc_files COPYING COPYRIGHT
|
|
|
|
|
|
%changelog
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.4-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Sun Nov 18 2012 Jens Petersen <petersen@redhat.com> - 2.0.4-3
|
|
- update with cabal-rpm
|
|
- correct license tag to LGPLv2+
|
|
|
|
* Fri Sep 07 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 2.0.4-2
|
|
- Updated summary
|
|
|
|
* Tue Aug 21 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 2.0.4-1
|
|
- spec file template generated by cabal2spec-0.25.5
|