[packages/ghc-asn1-types] - pl, versioned base dependency
qboosh
qboosh at pld-linux.org
Wed Jul 23 21:39:25 CEST 2025
commit df2511a35a24aef06a709dbbb3c3265303d55083
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Jul 23 21:41:07 2025 +0200
- pl, versioned base dependency
ghc-asn1-types.spec | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/ghc-asn1-types.spec b/ghc-asn1-types.spec
index 389a843..28cab36 100644
--- a/ghc-asn1-types.spec
+++ b/ghc-asn1-types.spec
@@ -4,6 +4,7 @@
#
%define pkgname asn1-types
Summary: ASN.1 types
+Summary(pl.UTF-8): Typy ASN.1
Name: ghc-%{pkgname}
Version: 0.3.4
Release: 2
@@ -14,16 +15,20 @@ Source0: http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
# Source0-md5: 63e4ab5c36533809ba4f9cfa4f49928e
URL: http://hackage.haskell.org/package/asn1-types
BuildRequires: ghc >= 6.12.3
+BuildRequires: ghc-base >= 3
+BuildRequires: ghc-base < 5
BuildRequires: ghc-hourglass
BuildRequires: ghc-memory
%if %{with prof}
BuildRequires: ghc-prof
+BuildRequires: ghc-base-prof >= 3
BuildRequires: ghc-hourglass-prof
BuildRequires: ghc-memory-prof
%endif
BuildRequires: rpmbuild(macros) >= 1.608
%requires_eq ghc
Requires(post,postun): /usr/bin/ghc-pkg
+Requires: ghc-base >= 3
Requires: ghc-hourglass
Requires: ghc-memory
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -37,17 +42,21 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
ASN.1 standard types.
+%description -l pl.UTF-8
+Standardowe typy ASN.1
+
%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 >= 3
Requires: ghc-hourglass-prof
Requires: ghc-memory-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
@@ -65,6 +74,7 @@ runhaskell Setup.hs configure -v2 \
--docdir=%{_docdir}/%{name}-%{version}
runhaskell Setup.hs build
+
runhaskell Setup.hs haddock --executables
%install
@@ -95,7 +105,7 @@ rm -rf $RPM_BUILD_ROOT
%doc %{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-asn1-types.git/commitdiff/df2511a35a24aef06a709dbbb3c3265303d55083
More information about the pld-cvs-commit
mailing list