diff --git a/.gitignore b/.gitignore index e69de29..2b8fcb4 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/dotgen-0.4.1.tar.gz diff --git a/ghc-dotgen.spec b/ghc-dotgen.spec new file mode 100644 index 0000000..874fbd0 --- /dev/null +++ b/ghc-dotgen.spec @@ -0,0 +1,56 @@ +# cabal2spec-0.25.2 +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + +%global pkg_name dotgen + +%global common_summary Simple interface to build .dot graph files + +%global common_description %{pkg_name} provides interface to build .dot graph files for graphviz tools + +Name: ghc-%{pkg_name} +Version: 0.4.1 +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.4.1-1 +- Updated license, description and summary. +- Spec file template generated by cabal2spec-0.25.2. diff --git a/sources b/sources index e69de29..841b27b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +bb99f1ddc40476491ac69aacc8105ec5 dotgen-0.4.1.tar.gz