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

qboosh qboosh at pld-linux.org
Thu Mar 26 20:27:55 CET 2026


commit 51aa5d80560133dc4de7988277428a17d1fb3231
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Mar 26 20:28:09 2026 +0100

    - pl, updated dependencies

 ghc-skylighting.spec | 44 ++++++++++++++++++++++++++++++++++----------
 1 file changed, 34 insertions(+), 10 deletions(-)
---
diff --git a/ghc-skylighting.spec b/ghc-skylighting.spec
index 6c08435..b964907 100644
--- a/ghc-skylighting.spec
+++ b/ghc-skylighting.spec
@@ -4,6 +4,7 @@
 #
 %define		pkgname	skylighting
 Summary:	Syntax highlighting library
+Summary(pl.UTF-8):	Biblioteka do podświetlania składni
 Name:		ghc-%{pkgname}
 Version:	0.8.4
 Release:	2
@@ -13,22 +14,33 @@ Group:		Development/Languages
 Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{version}.tar.gz
 # Source0-md5:	1894daff506baf4f91c63b3953bdd2da
 URL:		http://hackage.haskell.org/package/skylighting
-BuildRequires:	ghc >= 6.12.3
+BuildRequires:	ghc >= 7.10.1
+BuildRequires:	ghc-base >= 4.8
+BuildRequires:	ghc-base < 5
+BuildRequires:	ghc-binary
 BuildRequires:	ghc-blaze-html
+BuildRequires:	ghc-bytestring
+BuildRequires:	ghc-containers
 BuildRequires:	ghc-pretty-show
-BuildRequires:	ghc-skylighting-core
+BuildRequires:	ghc-skylighting-core = 0.8.4
 %if %{with prof}
-BuildRequires:	ghc-prof
+BuildRequires:	ghc-prof >= 7.10.1
+BuildRequires:	ghc-base-prof >= 4.8
+BuildRequires:	ghc-base-prof < 5
+BuildRequires:	ghc-binary-prof
 BuildRequires:	ghc-blaze-html-prof
+BuildRequires:	ghc-bytestring-prof
+BuildRequires:	ghc-containers-prof
 BuildRequires:	ghc-pretty-show-prof
-BuildRequires:	ghc-skylighting-core-prof
+BuildRequires:	ghc-skylighting-core-prof = 0.8.4
 %endif
 BuildRequires:	rpmbuild(macros) >= 1.608
 %requires_eq	ghc
 Requires(post,postun):	/usr/bin/ghc-pkg
+Requires:	ghc-base >= 4.8
 Requires:	ghc-blaze-html
 Requires:	ghc-pretty-show
-Requires:	ghc-skylighting-core
+Requires:	ghc-skylighting-core = 0.8.4
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # debuginfo is not useful for ghc
@@ -47,18 +59,30 @@ highlighting-kate. This package provides generated syntax modules
 based on the KDE XML definitions provided by the skylighting-core
 package. As a result this package is licensed under the GPL.
 
+%description -l pl.UTF-8
+Skylighting to biblioteka podświetlania składni z obsługą ponad stu
+języków. Wywodzi tokenizatory z definicji składni XML, używanych
+przez szkielet KSyntaxHighlighting z KDE, więc można dodać każdą
+składnię obsługiwaną przez ten szkielet. Dostarczany jest też
+opcjonalny program działający z linii poleceń. Skylighting jest
+pomyślany jako następca highlighting-kate. Ten pakiet dostarcza
+moduły składni wygenerowane w oparciu o definicje KDE XML, dostarczane
+przez pakiet skylighting-core. W wyniku ten pakiet jest na licencji
+GPL.
+
 %package prof
 Summary:	Profiling %{pkgname} library for GHC
 Summary(pl.UTF-8):	Biblioteka profilująca %{pkgname} dla GHC
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	ghc-base-prof >= 4.8
 Requires:	ghc-blaze-html-prof
 Requires:	ghc-pretty-show-prof
-Requires:	ghc-skylighting-core-prof
+Requires:	ghc-skylighting-core-prof = 0.8.4
 
 %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
@@ -76,6 +100,7 @@ runhaskell Setup.hs configure -v2 \
 	--docdir=%{_docdir}/%{name}-%{version}
 
 runhaskell Setup.hs build
+
 runhaskell Setup.hs haddock
 
 %install
@@ -86,8 +111,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.git/commitdiff/51aa5d80560133dc4de7988277428a17d1fb3231



More information about the pld-cvs-commit mailing list