[packages/ghc-text-conversions] - pl, dependencies

qboosh qboosh at pld-linux.org
Mon Jul 21 19:01:01 CEST 2025


commit e1a2fa862e560baf25e9a8888d4b18bfa93c0ac5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jul 21 19:02:44 2025 +0200

    - pl, dependencies

 ghc-text-conversions.spec | 29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)
---
diff --git a/ghc-text-conversions.spec b/ghc-text-conversions.spec
index 69d50e6..5e81d75 100644
--- a/ghc-text-conversions.spec
+++ b/ghc-text-conversions.spec
@@ -4,6 +4,7 @@
 #
 %define		pkgname	text-conversions
 Summary:	Safe conversions between textual types
+Summary(pl.UTF-8):	Bezpieczne konwersje między typami tekstowymi
 Name:		ghc-%{pkgname}
 Version:	0.3.0
 Release:	2
@@ -13,22 +14,32 @@ Group:		Development/Languages
 Source0:	http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{version}.tar.gz
 # Source0-md5:	688bc606dac77ef155782582a7bffe9f
 URL:		http://hackage.haskell.org/package/text-conversions
-BuildRequires:	ghc >= 6.12.3
+BuildRequires:	ghc >= 7.8.1
+BuildRequires:	ghc-base >= 4.7
+BuildRequires:	ghc-base < 5
 BuildRequires:	ghc-base16-bytestring
 BuildRequires:	ghc-base64-bytestring
+BuildRequires:	ghc-bytestring
 BuildRequires:	ghc-errors
+BuildRequires:	ghc-text
 %if %{with prof}
-BuildRequires:	ghc-prof
+BuildRequires:	ghc-prof >= 7.8.1
+BuildRequires:	ghc-base-prof >= 4.7
 BuildRequires:	ghc-base16-bytestring-prof
 BuildRequires:	ghc-base64-bytestring-prof
+BuildRequires:	ghc-bytestring-prof
 BuildRequires:	ghc-errors-prof
+BuildRequires:	ghc-text-prof
 %endif
 BuildRequires:	rpmbuild(macros) >= 1.608
 %requires_eq	ghc
 Requires(post,postun):	/usr/bin/ghc-pkg
+Requires:	ghc-base >= 4.7
 Requires:	ghc-base16-bytestring
 Requires:	ghc-base64-bytestring
+Requires:	ghc-bytestring
 Requires:	ghc-errors
+Requires:	ghc-text
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # debuginfo is not useful for ghc
@@ -41,18 +52,25 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 This is a small library to ease the pain when converting between
 the many different string types in Haskell.
 
+%description -l pl.UTF-8
+Mała biblioteka ograniczająca ból przy konwersji między różnymi
+wieloma różnymi typami tekstowymi w Haskellu.
+
 %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.7
 Requires:	ghc-base16-bytestring-prof
 Requires:	ghc-base64-bytestring-prof
+Requires:	ghc-bytestring-prof
 Requires:	ghc-errors-prof
+Requires:	ghc-text-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
@@ -70,6 +88,7 @@ runhaskell Setup.hs configure -v2 \
 	--docdir=%{_docdir}/%{name}-%{version}
 
 runhaskell Setup.hs build
+
 runhaskell Setup.hs haddock --executables
 
 %install
@@ -100,7 +119,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc CHANGELOG.md README.md %{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-text-conversions.git/commitdiff/e1a2fa862e560baf25e9a8888d4b18bfa93c0ac5



More information about the pld-cvs-commit mailing list