[highlighting-kate] update to cabal2spec-0.25.2
Jens Petersen
petersen at fedoraproject.org
Thu Jan 5 08:54:33 UTC 2012
commit bbb9063c037654f0dde4b51168edd42954b1b2de
Author: Jens Petersen <petersen at redhat.com>
Date: Thu Jan 5 17:54:27 2012 +0900
update to cabal2spec-0.25.2
highlighting-kate.spec | 44 ++++++++++++++++++++++++++++++++------------
1 files changed, 32 insertions(+), 12 deletions(-)
---
diff --git a/highlighting-kate.spec b/highlighting-kate.spec
index 87fc517..5d28cd7 100644
--- a/highlighting-kate.spec
+++ b/highlighting-kate.spec
@@ -1,13 +1,11 @@
-# For Haskell Packaging Guidelines see:
-# - https://fedoraproject.org/wiki/Packaging:Haskell
-# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+# cabal2spec-0.25.2
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name highlighting-kate
-# common part of summary for all the subpackages
%global common_summary Sourcecode syntax highlighting library
-# main description used for all the subpackages
%global common_description Highlighting-kate is a syntax highlighting library with support for\
over one hundred languages. The syntax parsers are automatically\
generated from Kate syntax descriptions (http://kate-editor.org/), so\
@@ -15,18 +13,23 @@ any syntax supported by Kate can be added.
Name: %{pkg_name}
Version: 0.2.10
-Release: 1%{?dist}.2
+Release: 2%{?dist}
Summary: Sourcecode syntax highlighting library
Group: Applications/Publishing
License: GPLv2+
+# BEGIN cabal2spec
URL: http://hackage.haskell.org/package/%{name}
Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
ExclusiveArch: %{ghc_arches}
BuildRequires: ghc-Cabal-devel
-BuildRequires: ghc-rpm-macros
-BuildRequires: hscolour
-BuildRequires: ghc-containers-prof, ghc-filepath-prof, ghc-parsec-prof, ghc-pcre-light-prof, ghc-xhtml-prof
+BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
+BuildRequires: ghc-containers-prof
+BuildRequires: ghc-filepath-prof
+BuildRequires: ghc-parsec-prof
+BuildRequires: ghc-pcre-light-prof
+BuildRequires: ghc-xhtml-prof
%description
%{common_description}
@@ -47,9 +50,19 @@ The package provides the Highlighting commandline program.
%ghc_lib_install
-# define the shared, devel and prof subpkgs, devel scripts,
-# and filelists ghc-highlighting-kate{,-devel,-prof}.files
-%ghc_binlib_package
+%ghc_package
+
+%ghc_description
+
+
+
+
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
%files
@@ -57,7 +70,14 @@ The package provides the Highlighting commandline program.
%attr(755,root,root) %{_bindir}/Highlight
+%ghc_files
+%doc README changelog
+
+
%changelog
+* Thu Jan 5 2012 Jens Petersen <petersen at redhat.com> - 0.2.10-2
+- update to cabal2spec-0.25.2
+
* Fri Oct 21 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.2.10-1.2
- rebuild with new gmp without compat lib
More information about the scm-commits
mailing list