commit bbc0f242586b3f73301e15230f7fa0cebf6d8b4f
Author: Jakub Bogusz <[email protected]>
Date:   Tue Oct 2 21:59:08 2018 +0200

    - new

 perl-Test-utf8.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)
---
diff --git a/perl-Test-utf8.spec b/perl-Test-utf8.spec
new file mode 100644
index 0000000..871bde8
--- /dev/null
+++ b/perl-Test-utf8.spec
@@ -0,0 +1,66 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%define                pdir    Test
+%define                pnam    utf8
+%include       /usr/lib/rpm/macros.perl
+Summary:       Test::utf8 - handy UTF-8 tests
+Summary(pl.UTF-8):     Test::utf8 - podręczne testy UTF-8
+Name:          perl-Test-utf8
+Version:       1.01
+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: 58351d9e168399f6e55fb0982cdbe6a1
+URL:           https://metacpan.org/release/Test-utf8
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Test-Builder-Tester >= 0.09
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module is a collection of tests useful for dealing with UTF-8
+strings in Perl.
+
+This module has two types of tests: The validity tests check if a
+string is valid and not corrupt, whereas the characteristics tests
+will check that string has a given set of characteristics.
+
+%description -l pl.UTF-8
+Ten moduł to zbiór testów przydatnych przy obsłudze łańcuchów
+znaków UTF-8 w Perlu.
+
+Moduł ma dwa rodzaje testów: testy poprawności, sprawdzające, czy
+łańcuch jest poprawny oraz testy charakterystyki, sprawdzające, czy
+łancuch ma dany zbiór cech.
+
+%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/utf8.pm
+%{_mandir}/man3/Test::utf8.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Test-utf8.git/commitdiff/bbc0f242586b3f73301e15230f7fa0cebf6d8b4f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to