[highlighting-kate] initial import (#709949)

Jens Petersen petersen at fedoraproject.org
Tue Jul 12 10:21:00 UTC 2011


commit f30a83aea0214419bcb264aa9dbd2942624ec929
Author: Jens Petersen <petersen at redhat.com>
Date:   Tue Jul 12 19:20:13 2011 +0900

    initial import (#709949)

 .gitignore             |    1 +
 highlighting-kate.spec |   69 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 71 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1dd2538 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/highlighting-kate-0.2.9.tar.gz
diff --git a/highlighting-kate.spec b/highlighting-kate.spec
new file mode 100644
index 0000000..5a9aeec
--- /dev/null
+++ b/highlighting-kate.spec
@@ -0,0 +1,69 @@
+# For Haskell Packaging Guidelines see:
+# - 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\
+any syntax supported by Kate can be added.
+
+Name:           %{pkg_name}
+Version:        0.2.9
+Release:        2%{?dist}
+Summary:        Sourcecode syntax highlighting library
+
+Group:          Applications/Publishing
+License:        GPLv2+
+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
+
+%description
+%{common_description}
+
+The package provides the Highlighting commandline program.
+
+
+%prep
+%setup -q
+
+
+%build
+%define cabal_configure_options -f executable
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+
+# define the shared, devel and prof subpkgs, devel scripts,
+# and filelists ghc-highlighting-kate{,-devel,-prof}.files
+%ghc_binlib_package
+
+
+%files
+%doc LICENSE
+%attr(755,root,root) %{_bindir}/Highlight
+
+
+%changelog
+* Tue Jul 12 2011 Jens Petersen <petersen at redhat.com> - 0.2.9-2
+- update to cabal2spec-0.23.2
+
+* Thu Jun  2 2011 Jens Petersen <petersen at redhat.com> - 0.2.9-1
+- GPLv2+
+- add all dependencies
+
+* Thu Jun  2 2011 Fedora Haskell SIG <haskell-devel at lists.fedoraproject.org> - 0.2.9-0
+- initial packaging for Fedora automatically generated by cabal2spec-0.23
diff --git a/sources b/sources
index e69de29..289af4c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3a4fd1706020c8aa840c310b15528bca  highlighting-kate-0.2.9.tar.gz


More information about the scm-commits mailing list