]> git.pld-linux.org Git - packages/perl-PerlIO-utf8_strict.git/commitdiff
- new auto/th/perl-PerlIO-eol-0.005-1
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 22 Mar 2015 23:22:42 +0000 (00:22 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 22 Mar 2015 23:22:42 +0000 (00:22 +0100)
perl-PerlIO-utf8_strict.spec [new file with mode: 0644]

diff --git a/perl-PerlIO-utf8_strict.spec b/perl-PerlIO-utf8_strict.spec
new file mode 100644 (file)
index 0000000..0f4baad
--- /dev/null
@@ -0,0 +1,54 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define                pdir    PerlIO
+%define                pnam    utf8_strict
+Summary:       PerlIO::utf8_strict - Fast and correct UTF-8 IO
+Name:          perl-PerlIO-eol
+Version:       0.005
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/PerlIO/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 6b971926fa3dbd2af494753004a279a0
+URL:           http://search.cpan.org/dist/PerlIO-utf8_strict/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides a fast and correct UTF-8 PerlIO layer.
+Unlike perl's default :utf8 layer it checks the input for correctness.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+       destdir=$RPM_BUILD_ROOT \
+       installdirs=vendor
+
+./Build \
+       CC="%{__cc}" \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%{perl_vendorarch}/PerlIO/utf8_strict.pm
+%dir %{perl_vendorarch}/auto/PerlIO/utf8_strict
+%attr(755,root,root) %{perl_vendorarch}/auto/PerlIO/utf8_strict/*.so
+%{_mandir}/man3/*
This page took 0.086856 seconds and 4 git commands to generate.