Blame perl-Text-ParseWords.spec

5fd0441
Name:           perl-Text-ParseWords
e6e3247
Version:        3.30
4e3336b
Release:        438%{?dist}
5fd0441
Summary:        Parse text into an array of tokens or array of arrays
5fd0441
License:        GPL+ or Artistic
f318378
URL:            https://metacpan.org/release/Text-ParseWords
f318378
Source0:        https://cpan.metacpan.org/authors/id/C/CH/CHORNY/Text-ParseWords-%{version}.tar.gz
5fd0441
BuildArch:      noarch
4c5ca89
BuildRequires:  perl-interpreter
e3a8eca
BuildRequires:  perl-generators
5fd0441
BuildRequires:  perl(ExtUtils::MakeMaker)
5fd0441
# Run-time:
5fd0441
BuildRequires:  perl(Carp)
5fd0441
BuildRequires:  perl(Exporter)
5fd0441
BuildRequires:  perl(strict)
5fd0441
# Tests:
5fd0441
# Config not used
5fd0441
BuildRequires:  perl(Scalar::Util)
5fd0441
BuildRequires:  perl(Test::More)
5fd0441
BuildRequires:  perl(warnings)
5fd0441
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
5fd0441
Requires:       perl(Carp)
5fd0441
5fd0441
%description
5fd0441
The nested_quotewords() and quotewords() functions accept a delimiter (which
5fd0441
can be a regular expression) and a list of lines and then breaks those lines
5fd0441
up into a list of words ignoring delimiters that appear inside quotes.
5fd0441
quotewords() returns all of the tokens in a single long list, while
5fd0441
nested_quotewords() returns a list of token lists corresponding to the
5fd0441
elements of @lines. parse_line() does tokenizing on a single string. The
5fd0441
quotewords() functions simply call &parse_line(), so if you're only splitting
5fd0441
one line you can call parse_line() directly and save a function call.
5fd0441
5fd0441
%prep
5fd0441
%setup -q -n Text-ParseWords-%{version}
5fd0441
for F in CHANGES README; do
5fd0441
    tr -d "\r" < "$F" > "${F}.unix"
5fd0441
    touch -r "$F" "${F}.unix"
5fd0441
    mv "${F}.unix" "$F"
5fd0441
done
5fd0441
5fd0441
%build
5fd0441
perl Makefile.PL INSTALLDIRS=vendor
5fd0441
make %{?_smp_mflags}
5fd0441
5fd0441
%install
5fd0441
make pure_install DESTDIR=$RPM_BUILD_ROOT
5fd0441
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
5fd0441
%{_fixperms} $RPM_BUILD_ROOT/*
5fd0441
5fd0441
%check
5fd0441
make test
5fd0441
5fd0441
%files
e6e3247
%doc CHANGES README
5fd0441
%{perl_vendorlib}/*
5fd0441
%{_mandir}/man3/*
5fd0441
5fd0441
%changelog
4e3336b
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 3.30-438
4e3336b
- Increase release to favour standalone package
4e3336b
af2de74
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.30-418
af2de74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
af2de74
22f8c85
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.30-417
22f8c85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
22f8c85
3c989d7
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 3.30-416
3c989d7
- Increase release to favour standalone package
3c989d7
809c9bd
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.30-395
809c9bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
809c9bd
f732971
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.30-394
f732971
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f732971
4d35a5f
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.30-393
4d35a5f
- Perl 5.26 rebuild
4d35a5f
1c120cf
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.30-366
1c120cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1c120cf
3fab9db
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.30-365
3fab9db
- Increase release to favour standalone package
3fab9db
09cc0db
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.30-347
09cc0db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
09cc0db
968c751
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.30-346
968c751
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
968c751
cc774fc
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.30-345
cc774fc
- Increase release to favour standalone package
cc774fc
a55bb98
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.30-2
a55bb98
- Perl 5.22 rebuild
a55bb98
e6e3247
* Fri Mar 13 2015 Petr Pisar <ppisar@redhat.com> - 3.30-1
e6e3247
- 3.30 bump
e6e3247
cd0c3c0
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.29-310
cd0c3c0
- Increase release to favour standalone package
cd0c3c0
6af7686
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.29-7
6af7686
- Perl 5.20 rebuild
6af7686
8947a89
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.29-6
8947a89
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8947a89
3777aa3
* Tue Nov 19 2013 Marcela Mašláňová <mmaslano@redhat.com> 3.29-5
3777aa3
- According to guidelines must be email statement added as new source.
3777aa3
f898b33
* Tue Nov 19 2013 Marcela Mašláňová <mmaslano@redhat.com> 3.29-4
f898b33
- Add licence statement from the upstream ticket
f898b33
- Resolves: rhbz#1030808
f898b33
3ec3460
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.29-3
3ec3460
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3ec3460
cbdbbf2
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 3.29-2
cbdbbf2
- Link minimal build-root packages against libperl.so explicitly
cbdbbf2
5fd0441
* Mon Mar 18 2013 Petr Pisar <ppisar@redhat.com> 3.29-1
5fd0441
- Specfile autogenerated by cpanspec 1.78.