import (#920022)
parent
61b0ea4b65
commit
7b5484b56b
@ -0,0 +1 @@
|
||||
/xml-types-0.3.3.tar.gz
|
@ -0,0 +1,57 @@
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
%global pkg_name xml-types
|
||||
|
||||
%global common_summary Basic types for representing XML
|
||||
|
||||
%global common_description %{common_summary}.
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.3.3
|
||||
Release: 2%{?dist}
|
||||
Summary: %{common_summary}
|
||||
|
||||
License: MIT
|
||||
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-text-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 license.txt
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Mar 11 2013 Jens Petersen <petersen@redhat.com> - 0.3.3-2
|
||||
- update to cabal-rpm-0.7
|
||||
|
||||
* Fri Nov 2 2012 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.3.3-1
|
||||
- spec file generated by cabal-rpm-0.6.4
|
Loading…
Reference in new issue