diff --git a/.gitignore b/.gitignore index e69de29..dce7526 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/xml-types-0.3.3.tar.gz diff --git a/ghc-xml-types.spec b/ghc-xml-types.spec new file mode 100644 index 0000000..02d0f30 --- /dev/null +++ b/ghc-xml-types.spec @@ -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 - 0.3.3-2 +- update to cabal-rpm-0.7 + +* Fri Nov 2 2012 Lakshmi Narasimhan T V - 0.3.3-1 +- spec file generated by cabal-rpm-0.6.4 diff --git a/sources b/sources index e69de29..8e0fcba 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +adc340bd3f4a762f5d91b66139c95507 xml-types-0.3.3.tar.gz