[packages/perl-Test-More-UTF8] - new

qboosh qboosh at pld-linux.org
Sat Nov 5 22:00:34 CET 2022


commit 3b8de7247c1d783c405393477bd9f4cd1882102a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Nov 5 22:00:27 2022 +0100

    - new

 perl-Test-More-UTF8.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
---
diff --git a/perl-Test-More-UTF8.spec b/perl-Test-More-UTF8.spec
new file mode 100644
index 0000000..3280f55
--- /dev/null
+++ b/perl-Test-More-UTF8.spec
@@ -0,0 +1,57 @@
+#
+# Conditional build:
+%bcond_without	tests	# unit tests
+#
+%define		pdir	Test
+%define		pnam	More-UTF8
+Summary:	Test::More::UTF8 - Enhancing Test::More for UTF8-based projects
+Summary(pl.UTF-8):	Test::More::UTF8 - rozszerzenie Test::More dla projektów opartych na UTF-8
+Name:		perl-Test-More-UTF8
+Version:	0.05
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	7f306c38691e861425559035d0807312
+URL:		https://metacpan.org/release/Test-More-UTF8
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
+%if %{with tests}
+BuildRequires:	perl-Test-Simple
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Enhancing Test::More for UTF8-based projects.
+
+%description -l pl.UTF-8
+Rozszerzenie Test::More dla projektów opartych na UTF-8
+
+%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
+%{perl_vendorlib}/Test/More/UTF8.pm
+%{perl_vendorlib}/Test/More/UTF8
+%{_mandir}/man3/Test::More::UTF8.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Test-More-UTF8.git/commitdiff/3b8de7247c1d783c405393477bd9f4cd1882102a



More information about the pld-cvs-commit mailing list