[packages/ghc-emojis] - pl, dependencies
qboosh
qboosh at pld-linux.org
Mon Jul 21 19:02:42 CEST 2025
commit 006d6d90f730afc4f30e4077ea46435c38595e62
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Jul 21 19:04:25 2025 +0200
- pl, dependencies
ghc-emojis.spec | 29 ++++++++++++++++++++++++-----
1 file changed, 24 insertions(+), 5 deletions(-)
---
diff --git a/ghc-emojis.spec b/ghc-emojis.spec
index 57df0f6..b653fd4 100644
--- a/ghc-emojis.spec
+++ b/ghc-emojis.spec
@@ -4,6 +4,7 @@
#
%define pkgname emojis
Summary: Conversion between emoji characters and their names
+Summary(pl.UTF-8): Konwersja między znakami emoji a ich nazwami
Name: ghc-%{pkgname}
Version: 0.1
Release: 2
@@ -13,13 +14,23 @@ Group: Development/Languages
Source0: http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{version}.tar.gz
# Source0-md5: 43c54fbbb961c419fafef87584cb91d2
URL: http://hackage.haskell.org/package/emojis
-BuildRequires: ghc >= 6.12.3
+BuildRequires: ghc >= 8.0.1
+BuildRequires: ghc-base >= 4.9
+BuildRequires: ghc-base < 5
+BuildRequires: ghc-containers
+BuildRequires: ghc-text
%if %{with prof}
-BuildRequires: ghc-prof
+BuildRequires: ghc-prof >= 8.0.1
+BuildRequires: ghc-base-prof >= 4.9
+BuildRequires: ghc-containers-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.9
+Requires: ghc-containers
+Requires: ghc-text
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# debuginfo is not useful for ghc
@@ -32,15 +43,22 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
This package provides functions for converting emoji names to emoji
characters and vice versa.
+%description -l pl.UTF-8
+Ten pakiet udostępnia funkcje do konwersji nazw emoji na znaki emoji i
+z powrotem.
+
%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.9
+Requires: ghc-containers-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
@@ -64,6 +82,7 @@ runhaskell Setup.lhs configure -v2 \
--docdir=%{_docdir}/%{name}-%{version}
runhaskell Setup.lhs build
+
runhaskell Setup.lhs haddock --executables
%install
@@ -94,7 +113,7 @@ rm -rf $RPM_BUILD_ROOT
%doc README.md changelog.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-emojis.git/commitdiff/006d6d90f730afc4f30e4077ea46435c38595e62
More information about the pld-cvs-commit
mailing list