From 02ccf91ae75a72a12ca183e666a55bccb6dc5ef9 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Dec 13 2017 18:20:02 +0000 Subject: Initial import (#1520570) --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bf68b66 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/Scalar-String-0.003.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 96dd179..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# perl-Scalar-String - -The perl-Scalar-String package \ No newline at end of file diff --git a/perl-Scalar-String.spec b/perl-Scalar-String.spec new file mode 100644 index 0000000..6cd5397 --- /dev/null +++ b/perl-Scalar-String.spec @@ -0,0 +1,61 @@ +Name: perl-Scalar-String +Version: 0.003 +Release: 1%{?dist} +Summary: String aspects of scalars +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Scalar-String/ +Source0: https://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Scalar-String-%{version}.tar.gz +BuildRequires: gcc +BuildRequires: perl-devel +BuildRequires: perl(:VERSION) >= 5.6 +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(bytes) +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(if) +BuildRequires: perl(Module::Build) +BuildRequires: perl(parent) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(utf8) +BuildRequires: perl(warnings) +BuildRequires: perl(XSLoader) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Carp) +Requires: perl(XSLoader) + +%description +This module is about the string part of plain Perl scalars. A scalar has a +string value, which is notionally a sequence of Unicode codepoints, but +may be internally encoded in either ISO-8859-1 or UTF-8. In places, and +more so in older versions of Perl, the internal encoding shows through. To +fully understand Perl strings it is necessary to understand these +implementation details. + +%prep +%autosetup -n Scalar-String-%{version} + +%build +%{__perl} Build.PL --installdirs=vendor --optimize="$RPM_OPT_FLAGS" +./Build + +%install +./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Scalar* +%{_mandir}/man3/* + +%changelog +* Mon Dec 04 2017 Robert-André Mauchin - 0.003-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources new file mode 100644 index 0000000..f120710 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (Scalar-String-0.003.tar.gz) = 3e5a2aa02485c78eef668dfb53620b573d6aa381517d79ffab046ce15ded7503629f299ab0952e0ff7040e83b800d69cec4f3e61e4ca82bb18e258893cd9bb2b