[packages/ghc-skylighting-core] - pl, updated dependencies

qboosh qboosh at pld-linux.org
Thu Mar 26 19:54:48 CET 2026


commit aa354ffd7bb6322ee381a74d0b3baed4a0915778
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Mar 26 19:55:05 2026 +0100

    - pl, updated dependencies

 ghc-skylighting-core.spec | 40 ++++++++++++++++++++++++++++++++++------
 1 file changed, 34 insertions(+), 6 deletions(-)
---
diff --git a/ghc-skylighting-core.spec b/ghc-skylighting-core.spec
index 8fb0fa9..2038772 100644
--- a/ghc-skylighting-core.spec
+++ b/ghc-skylighting-core.spec
@@ -4,6 +4,7 @@
 #
 %define		pkgname	skylighting-core
 Summary:	Syntax highlighting library
+Summary(pl.UTF-8):	Biblioteka podświetlania składni
 Name:		ghc-%{pkgname}
 Version:	0.8.4
 Release:	2
@@ -13,31 +14,49 @@ Group:		Development/Languages
 Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{version}.tar.gz
 # Source0-md5:	2db93ad3dda9e34b3b917835c56a0920
 URL:		http://hackage.haskell.org/package/skylighting-core
-BuildRequires:	ghc >= 6.12.3
+BuildRequires:	ghc >= 7.10.1
 BuildRequires:	ghc-aeson >= 1.0
 BuildRequires:	ghc-ansi-terminal >= 0.7
 BuildRequires:	ghc-attoparsec
+BuildRequires:	ghc-base >= 4.8
+BuildRequires:	ghc-base < 5
 BuildRequires:	ghc-base64-bytestring
+BuildRequires:	ghc-binary
 BuildRequires:	ghc-blaze-html >= 0.5
+BuildRequires:	ghc-bytestring
 BuildRequires:	ghc-case-insensitive
 BuildRequires:	ghc-colour >= 2.0
+BuildRequires:	ghc-containers
+BuildRequires:	ghc-directory >= 1.2.5
+BuildRequires:	ghc-filepath
 BuildRequires:	ghc-hxt
+BuildRequires:	ghc-mtl
 BuildRequires:	ghc-regex-pcre
 BuildRequires:	ghc-safe
+BuildRequires:	ghc-text
 BuildRequires:	ghc-transformers
 BuildRequires:	ghc-utf8-string
 %if %{with prof}
-BuildRequires:	ghc-prof
+BuildRequires:	ghc-prof >= 7.10.1
 BuildRequires:	ghc-aeson-prof >= 1.0
 BuildRequires:	ghc-ansi-terminal-prof >= 0.7
 BuildRequires:	ghc-attoparsec-prof
+BuildRequires:	ghc-base-prof >= 4.8
+BuildRequires:	ghc-base-prof < 5
 BuildRequires:	ghc-base64-bytestring-prof
+BuildRequires:	ghc-binary-prof
 BuildRequires:	ghc-blaze-html-prof >= 0.5
+BuildRequires:	ghc-bytestring-prof
 BuildRequires:	ghc-case-insensitive-prof
 BuildRequires:	ghc-colour-prof >= 2.0
+BuildRequires:	ghc-containers-prof
+BuildRequires:	ghc-directory-prof >= 1.2.5
+BuildRequires:	ghc-filepath-prof
 BuildRequires:	ghc-hxt-prof
+BuildRequires:	ghc-mtl-prof
 BuildRequires:	ghc-regex-pcre-prof
 BuildRequires:	ghc-safe-prof
+BuildRequires:	ghc-text-prof
 BuildRequires:	ghc-transformers-prof
 BuildRequires:	ghc-utf8-string-prof
 %endif
@@ -47,10 +66,12 @@ Requires(post,postun):	/usr/bin/ghc-pkg
 Requires:	ghc-aeson >= 1.0
 Requires:	ghc-ansi-terminal >= 0.7
 Requires:	ghc-attoparsec
+Requires:	ghc-base >= 4.8
 Requires:	ghc-base64-bytestring
 Requires:	ghc-blaze-html >= 0.5
 Requires:	ghc-case-insensitive
 Requires:	ghc-colour >= 2.0
+Requires:	ghc-directory >= 1.2.5
 Requires:	ghc-hxt
 Requires:	ghc-regex-pcre
 Requires:	ghc-safe
@@ -69,6 +90,11 @@ This package provides the core functionality of the Skylighting
 project, a Haskell syntax highlighting library with support for KDE
 XML syntax highlighting descriptions.
 
+%description -l pl.UTF-8
+Ten pakiet dostarcza podstawową funkcjonalność projektu Skylighting -
+biblioteki podświetlania składni dla Haskella z obsługą opisów
+podświetlania składni KDE XML.
+
 %package prof
 Summary:	Profiling %{pkgname} library for GHC
 Summary(pl.UTF-8):	Biblioteka profilująca %{pkgname} dla GHC
@@ -77,10 +103,12 @@ Requires:	%{name} = %{version}-%{release}
 Requires:	ghc-aeson-prof >= 1.0
 Requires:	ghc-ansi-terminal-prof >= 0.7
 Requires:	ghc-attoparsec-prof
+Requires:	ghc-base-prof >= 4.8
 Requires:	ghc-base64-bytestring-prof
 Requires:	ghc-blaze-html-prof >= 0.5
 Requires:	ghc-case-insensitive-prof
 Requires:	ghc-colour-prof >= 2.0
+Requires:	ghc-directory-prof >= 1.2.5
 Requires:	ghc-hxt-prof
 Requires:	ghc-regex-pcre-prof
 Requires:	ghc-safe-prof
@@ -88,8 +116,8 @@ Requires:	ghc-transformers-prof
 Requires:	ghc-utf8-string-prof
 
 %description prof
-Profiling %{pkgname} library for GHC.  Should be installed when
-GHC's profiling subsystem is needed.
+Profiling %{pkgname} library for GHC. Should be installed when GHC's
+profiling subsystem is needed.
 
 %description prof -l pl.UTF-8
 Biblioteka profilująca %{pkgname} dla GHC. Powinna być zainstalowana
@@ -108,6 +136,7 @@ runhaskell Setup.hs configure -v2 \
 	--docdir=%{_docdir}/%{name}-%{version}
 
 runhaskell Setup.hs build
+
 runhaskell Setup.hs haddock --executables
 
 %install
@@ -118,8 +147,7 @@ runhaskell Setup.hs copy --destdir=$RPM_BUILD_ROOT
 
 # work around automatic haddock docs installation
 %{__rm} -rf %{name}-%{version}-doc
-cp -a $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
 
 runhaskell Setup.hs register \
 	--gen-pkg-config=$RPM_BUILD_ROOT%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-skylighting-core.git/commitdiff/aa354ffd7bb6322ee381a74d0b3baed4a0915778



More information about the pld-cvs-commit mailing list