[packages/perl-Signal-Mask] - new

baggins baggins at pld-linux.org
Mon May 18 13:41:28 CEST 2020


commit 20383f91f57103f04d0280c3061754f3904513a8
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon May 18 13:41:04 2020 +0200

    - new

 perl-Signal-Mask.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)
---
diff --git a/perl-Signal-Mask.spec b/perl-Signal-Mask.spec
new file mode 100644
index 0000000..64ced6c
--- /dev/null
+++ b/perl-Signal-Mask.spec
@@ -0,0 +1,56 @@
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	Signal
+%define		pnam	Mask
+Summary:	Signal::Mask - Signal masks made easy
+Name:		perl-Signal-Mask
+Version:	0.008
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Signal/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	1cd1832d50e76931b69db3452e728c64
+URL:		https://metacpan.org/release/Signal-Mask
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
+%if %{with tests}
+BuildRequires:	perl-IPC-Signal
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Signal::Mask is an abstraction around your process or thread signal
+mask. It is used to fetch and/or change the signal mask of the calling
+process or thread. The signal mask is the set of signals whose
+delivery is currently blocked for the caller. It is available as the
+global hash %Signal::Mask.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes INSTALL README
+%{perl_vendorlib}/Signal/*.pm
+%{_mandir}/man3/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Signal-Mask.git/commitdiff/20383f91f57103f04d0280c3061754f3904513a8



More information about the pld-cvs-commit mailing list