]> git.pld-linux.org Git - packages/perl-Test-More-UTF8.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 5 Nov 2022 21:00:27 +0000 (22:00 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 5 Nov 2022 21:00:27 +0000 (22:00 +0100)
perl-Test-More-UTF8.spec [new file with mode: 0644]

diff --git a/perl-Test-More-UTF8.spec b/perl-Test-More-UTF8.spec
new file mode 100644 (file)
index 0000000..3280f55
--- /dev/null
@@ -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*
This page took 0.158446 seconds and 4 git commands to generate.