Blame perl-Text-ParseWords.spec

5fd0441
Name:           perl-Text-ParseWords
e6e3247
Version:        3.30
3fab9db
Release:        365%{?dist}
5fd0441
Summary:        Parse text into an array of tokens or array of arrays
5fd0441
License:        GPL+ or Artistic
5fd0441
Group:          Development/Libraries
5fd0441
URL:            http://search.cpan.org/dist/Text-ParseWords/
5fd0441
Source0:        http://www.cpan.org/authors/id/C/CH/CHORNY/Text-ParseWords-%{version}.tar.gz
5fd0441
BuildArch:      noarch
5fd0441
BuildRequires:  perl
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
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.