ghc-temporary/ghc-temporary.spec

69 lines
1.7 KiB
RPMSpec
Raw Normal View History

2012-02-10 06:54:35 +00:00
# cabal2spec-0.25.4
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name temporary
%global common_summary Portable temporary file and directory support
%global common_description The functions for creating temporary files and directories in the base library\
are quite limited. The unixutils package contains some good ones,\
but they aren't portable to Windows. This library repackages the\
Cabal implementations of its own temporary file and folder functions\
so that you can use them without linking against Cabal or depending on\
it being installed.
Name: ghc-%{pkg_name}
Version: 1.1.2.3
2012-03-23 05:14:35 +00:00
Release: 2%{?dist}
2012-02-10 06:54:35 +00:00
Summary: %{common_summary}
Group: System Environment/Libraries
License: BSD
# BEGIN cabal2spec
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
ExclusiveArch: %{ghc_arches}
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
# END cabal2spec
BuildRequires: ghc-directory-devel
%description
%{common_description}
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
# devel subpackage
%ghc_devel_package
%ghc_devel_description
%ghc_devel_post_postun
2012-03-23 05:14:35 +00:00
%ghc_files LICENSE
2012-02-10 06:54:35 +00:00
%changelog
2012-03-23 05:14:35 +00:00
* Fri Mar 23 2012 Jens Petersen <petersen@redhat.com> - 1.1.2.3-2
- add license to ghc_files
2012-02-10 06:54:35 +00:00
* Tue Feb 7 2012 Jens Petersen <petersen@redhat.com> - 1.1.2.3-1
- BSD license
* Tue Feb 7 2012 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org>
- spec file template generated by cabal2spec-0.25.4