[packages/ghc-x509] - pl, base dependencies
qboosh
qboosh at pld-linux.org
Sat Mar 21 12:10:37 CET 2026
commit 7b9e80464a86aa3071396ba60556e2724186a379
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 21 12:10:50 2026 +0100
- pl, base dependencies
ghc-x509.spec | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/ghc-x509.spec b/ghc-x509.spec
index 7b4f9f8..a567eeb 100644
--- a/ghc-x509.spec
+++ b/ghc-x509.spec
@@ -3,7 +3,8 @@
%bcond_without prof # profiling library
#
%define pkgname x509
-Summary: X509 reader and writer
+Summary: X.509 reader and writer
+Summary(pl.UTF-8): Biblioteka do odczytu i zapisu X.509
Name: ghc-%{pkgname}
Version: 1.7.5
Release: 2
@@ -50,7 +51,10 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _noautocompressdoc *.haddock
%description
-X509 reader and writer.
+X.509 reader and writer.
+
+%description -l pl.UTF-8
+Biblioteka do odczytu i zapisu X.509.
%package prof
Summary: Profiling %{pkgname} library for GHC
@@ -66,8 +70,8 @@ Requires: ghc-memory-prof
Requires: ghc-pem-prof >= 0.1
%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
@@ -85,6 +89,7 @@ runhaskell Setup.hs configure -v2 \
--docdir=%{_docdir}/%{name}-%{version}
runhaskell Setup.hs build
+
runhaskell Setup.hs haddock --executables
%install
@@ -95,8 +100,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-x509.git/commitdiff/7b9e80464a86aa3071396ba60556e2724186a379
More information about the pld-cvs-commit
mailing list