From 36039cc3da86d19a1afd161f71537ce84573cfe7 Mon Sep 17 00:00:00 2001 From: Shakthi Kannan Date: Fri, 7 Dec 2012 17:20:23 +0530 Subject: [PATCH] Updated to upstream 0.1.3 --- .gitignore | 1 + sources | 2 +- unlambda.spec | 36 ++++++++++++++++++++---------------- 3 files changed, 22 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 2389cb1..00db855 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /unlambda-0.1.tar.gz /unlambda-0.1.2.tar.gz +/unlambda-0.1.3.tar.gz diff --git a/sources b/sources index f8ba51f..95855cf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a73b6a70306d028004d257565027fc15 unlambda-0.1.2.tar.gz +314f0c610d0b71635b453e649d47d73f unlambda-0.1.3.tar.gz diff --git a/unlambda.spec b/unlambda.spec index deeb962..9235192 100644 --- a/unlambda.spec +++ b/unlambda.spec @@ -1,37 +1,35 @@ -# cabal2spec-0.25 # https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name unlambda -%global common_summary An interpreter of the Unlambda language +%global common_summary Unlambda interpreter -%global common_description An interpreter of the Unlambda language,\ - written in the pure, lazy, functional language Haskell. +%global common_description This is an interpreter of the Unlambda language,\ +written in the pure, lazy, functional language Haskell. Name: %{pkg_name} -Version: 0.1.2 +Version: 0.1.3 Release: 1%{?dist} -Summary: Haskell interpreter of the Unlambda language +Summary: %{common_summary} -Group: Development/Tools -License: GPLv2 -# BEGIN cabal2spec +License: GPL+ URL: http://hackage.haskell.org/package/%{name} Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz Patch0: unlambda-0.1.2-FSF-license-fix.patch -ExclusiveArch: %{ghc_arches} -BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} -# END cabal2spec +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: BuildRequires: ghc-array-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-unix-devel +# End cabal-rpm deps %description %{common_description} + %prep %setup -q %patch0 -p1 @@ -43,25 +41,31 @@ iconv -f iso8859-1 -t utf-8 Language/Unlambda.hs > Language/Unlambda.conv && mv %install %ghc_lib_install -# library subpackage %ghc_package %ghc_description -# devel subpackage + %ghc_devel_package %ghc_devel_description + %ghc_devel_post_postun + %files %doc LICENSE -%attr(755,root,root) %{_bindir}/%{name} +%{_bindir}/%{name} + %ghc_files LICENSE + %changelog +* Fri Dec 7 2012 Shakthi Kannan - 0.1.3-1 +- spec file generated by cabal-rpm-0.6.5 + * Fri Oct 26 2012 Shakthi Kannan - 0.1.2-1 - Updated to new upstream release 0.1.2