[packages/ghc-cmark-gfm] - pl, dependencies
qboosh
qboosh at pld-linux.org
Sun Jul 20 21:53:12 CEST 2025
commit 7eacd08899bdabcf66e1bfac70f2bf0e5e69929f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jul 20 21:54:55 2025 +0200
- pl, dependencies
ghc-cmark-gfm.spec | 32 ++++++++++++++++++++++++++++----
1 file changed, 28 insertions(+), 4 deletions(-)
---
diff --git a/ghc-cmark-gfm.spec b/ghc-cmark-gfm.spec
index 4040b09..3718b99 100644
--- a/ghc-cmark-gfm.spec
+++ b/ghc-cmark-gfm.spec
@@ -4,6 +4,7 @@
#
%define pkgname cmark-gfm
Summary: Fast, accurate GitHub Flavored Markdown parser and renderer
+Summary(pl.UTF-8): Szybki, dokładny parser i renderer formatu Markdown w wariancie Githuba
Name: ghc-%{pkgname}
Version: 0.2.1
Release: 2
@@ -13,13 +14,25 @@ Group: Development/Languages
Source0: http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{version}.tar.gz
# Source0-md5: 152d0e1bae76dc1c29ff9edf221dcf4f
URL: http://hackage.haskell.org/package/cmark-gfm
-BuildRequires: ghc >= 6.12.3
+# for ghc <7.6 also ghc-ghc-prim >= 0.2
+BuildRequires: ghc >= 7.6
+BuildRequires: ghc-base >= 4.5
+BuildRequires: ghc-base < 5
+BuildRequires: ghc-bytestring
+BuildRequires: ghc-text >= 1.0
+BuildRequires: ghc-text < 1.3
%if %{with prof}
-BuildRequires: ghc-prof
+BuildRequires: ghc-prof >= 7.6
+BuildRequires: ghc-base-prof >= 4.5
+BuildRequires: ghc-bytestring-prof
+BuildRequires: ghc-text-prof >= 1.0
%endif
BuildRequires: rpmbuild(macros) >= 1.608
%requires_eq ghc
Requires(post,postun): /usr/bin/ghc-pkg
+Requires: ghc-base >= 4.5
+Requires: ghc-bytestring
+Requires: ghc-text >= 1.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# debuginfo is not useful for ghc
@@ -29,16 +42,26 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _noautocompressdoc *.haddock
%description
-his package provides Haskell bindings for libcmark-gfm, the reference
+This package provides Haskell bindings for libcmark-gfm, the reference
parser for GitHub Flavored Markdown, a fully specified variant of
Markdown. It includes sources for libcmark-gfm (0.29.0.gfm.0) and does
not require prior installation of the C library.
+%description -l pl.UTF-8
+Ten pakiet zawiera wiązania Haskella do libcmark-gfm - referencyjnego
+parsera formatu Markdown w wariancie GitHuba (GitHub Flavored
+Markdown) - w pełni wyspecyfikowanym wariancie Markdown. Zawiera
+źródła libcmark-gfm (0.29.0.gfm.0) i nie wymaga wcześniejszej
+instalacji biblioteki C.
+
%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.5
+Requires: ghc-bytestring-prof
+Requires: ghc-text-prof >= 1.0
%description prof
Profiling %{pkgname} library for GHC. Should be installed when
@@ -60,6 +83,7 @@ runhaskell Setup.hs configure -v2 \
--docdir=%{_docdir}/%{name}-%{version}
runhaskell Setup.hs build
+
runhaskell Setup.hs haddock --executables
%install
@@ -90,7 +114,7 @@ rm -rf $RPM_BUILD_ROOT
%doc README.md changelog %{name}-%{version}-doc/*
%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
%dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}
-%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*.so
+%attr(755,root,root) %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*.so
%{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*.a
%exclude %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/*_p.a
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ghc-cmark-gfm.git/commitdiff/7eacd08899bdabcf66e1bfac70f2bf0e5e69929f
More information about the pld-cvs-commit
mailing list