diff --git a/.gitignore b/.gitignore index e69de29..ca2cca5 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Diff-0.1.3.tar.gz diff --git a/ghc-Diff.spec b/ghc-Diff.spec new file mode 100644 index 0000000..0533552 --- /dev/null +++ b/ghc-Diff.spec @@ -0,0 +1,65 @@ +# cabal2spec-0.25 +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + +%global pkg_name Diff + +%global common_summary A O(ND) diff algorithm in Haskell + +%global common_description This package provides basic implementation of the standard diff algorithm. + +Name: ghc-%{pkg_name} +Version: 0.1.3 +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 + + +# devel subpackage +%ghc_devel_package + +%ghc_devel_description + + +%ghc_devel_post_postun + + +%ghc_files LICENSE + + +%changelog +* Thu May 31 2012 Lakshmi Narasimhan T V - 0.1.3-1 +- spec file template generated by cabal2spec-0.25.5 + +* Sun Apr 3 2011 Lakshmi Narasimhan T V - 0.1.2-2 +- Update to cabal2spec 0.22.5 + +* Sat Dec 18 2010 Lakshmi Narasimhan T V - 0.1.2-1 +- Modified summary, description. License is BSD 3 clause variant. + +* Sat Dec 18 2010 Fedora Haskell SIG - 0.1.2-0 +- initial packaging for Fedora automatically generated by cabal2spec-0.22.3 diff --git a/sources b/sources index e69de29..67b2db6 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6a8a47315001717780b3dd025f59da85 Diff-0.1.3.tar.gz