[packages/ghc-uuid-types] - pl, dependencies
qboosh
qboosh at pld-linux.org
Sat Jul 19 22:22:07 CEST 2025
commit e381df4809224dc56ccfbadafc97ae24d2f24a9b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jul 19 22:23:49 2025 +0200
- pl, dependencies
ghc-uuid-types.spec | 38 ++++++++++++++++++++++++++++++++------
1 file changed, 32 insertions(+), 6 deletions(-)
---
diff --git a/ghc-uuid-types.spec b/ghc-uuid-types.spec
index a6f17ea..49f987a 100644
--- a/ghc-uuid-types.spec
+++ b/ghc-uuid-types.spec
@@ -4,6 +4,7 @@
#
%define pkgname uuid-types
Summary: Type definitions for Universally Unique Identifiers
+Summary(pl.UTF-8): Definicje typów dla UUID-ów (globalnie unitowych identyfikatorów)
Name: ghc-%{pkgname}
Version: 1.0.3
Release: 2
@@ -15,18 +16,34 @@ Source0: http://hackage.haskell.org/package/%{pkgname}-%{version}/%{pkgname}-%{v
Patch0: hashable-1.3.patch
URL: http://hackage.haskell.org/package/uuid-types
BuildRequires: ghc >= 6.12.3
+BuildRequires: ghc-base >= 3
+BuildRequires: ghc-base < 5
+BuildRequires: ghc-bytestring >= 0.9
+BuildRequires: ghc-bytestring < 0.11
+BuildRequires: ghc-deepseq >= 1.3
+BuildRequires: ghc-deepseq < 1.5
BuildRequires: ghc-hashable
-BuildRequires: ghc-random
+BuildRequires: ghc-random >= 1.0.1
+BuildRequires: ghc-random < 1.2
+BuildRequires: ghc-text >= 1
+BuildRequires: ghc-text < 1.3
%if %{with prof}
BuildRequires: ghc-prof
+BuildRequires: ghc-bytestring-prof >= 0.9
+BuildRequires: ghc-deepseq-prof >= 1.3
BuildRequires: ghc-hashable-prof
-BuildRequires: ghc-random-prof
+BuildRequires: ghc-random-prof >= 1.0.1
+BuildRequires: ghc-text-prof >= 1
%endif
BuildRequires: rpmbuild(macros) >= 1.608
%requires_eq ghc
Requires(post,postun): /usr/bin/ghc-pkg
+Requires: ghc-base >= 3
+Requires: ghc-bytestring >= 0.9
+Requires: ghc-deepseq >= 1.3
Requires: ghc-hashable
-Requires: ghc-random
+Requires: ghc-random >= 1.0.1
+Requires: ghc-text >= 1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# debuginfo is not useful for ghc
@@ -38,15 +55,23 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
This library contains type definitions for Universally Unique
Identifiers and basic conversion functions.
-See http://en.wikipedia.org/wiki/UUID for the general idea.
+
+%description -l pl.UTF-8
+Ta biblioteka zawiera definicje typów dla UUID-ów (Universally
+Unique Identifiers - globalnie unikatowych identyfikatorów) oraz
+podstawowe funkcje konwersji.
%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-bytestring-prof >= 0.9
+Requires: ghc-deepseq-prof >= 1.3
Requires: ghc-hashable-prof
-Requires: ghc-random-prof
+Requires: ghc-random-prof >= 1.0.1
+Requires: ghc-text-prof >= 1
%description prof
Profiling %{pkgname} library for GHC. Should be installed when
@@ -69,6 +94,7 @@ runhaskell Setup.hs configure -v2 \
--docdir=%{_docdir}/%{name}-%{version}
runhaskell Setup.hs build
+
runhaskell Setup.hs haddock --executables
%install
@@ -99,7 +125,7 @@ rm -rf $RPM_BUILD_ROOT
%doc CHANGES %{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-uuid-types.git/commitdiff/e381df4809224dc56ccfbadafc97ae24d2f24a9b
More information about the pld-cvs-commit
mailing list