diff --git a/.gitignore b/.gitignore index e69de29..8b4efbc 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/data-reify-0.6.tar.gz diff --git a/ghc-data-reify.spec b/ghc-data-reify.spec new file mode 100644 index 0000000..4d61cfe --- /dev/null +++ b/ghc-data-reify.spec @@ -0,0 +1,56 @@ +# cabal2spec-0.25.2 +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + +%global pkg_name data-reify + +%global common_summary %{pkg_name} turns recursive data structures into graphs + +%global common_description %{pkg_name} converts recursive data structures into graphs. + +Name: ghc-%{pkg_name} +Version: 0.6 +Release: 1%{?dist} +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 + +%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 + + +%changelog +* Tue Feb 7 2012 Shakthi Kannan - 0.6-1 +- Updated license, summary and description. +- Spec file template generated by cabal2spec-0.25.2. diff --git a/sources b/sources index e69de29..d177df3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +25f0c927f53bc068da8a261d78b771fd data-reify-0.6.tar.gz