|
|
6224a9b |
Name: perl-Text-Shellwords
|
|
|
6224a9b |
Version: 1.08
|
|
|
1b12e27 |
Release: 25%{?dist}
|
|
|
6224a9b |
Summary: A thin wrapper around the shellwords.pl package
|
|
|
6224a9b |
|
|
|
6224a9b |
Group: Development/Libraries
|
|
|
161348a |
License: GPL+ or Artistic
|
|
|
6224a9b |
URL: http://search.cpan.org/dist/Text-Shellwords/
|
|
|
6224a9b |
Source0: http://www.cpan.org/authors/id/L/LD/LDS/Text-Shellwords-1.08.tar.gz
|
|
|
6224a9b |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
6224a9b |
|
|
|
6224a9b |
BuildArch: noarch
|
|
|
f7b80e5 |
BuildRequires: coreutils
|
|
|
f7b80e5 |
BuildRequires: findutils
|
|
|
f7b80e5 |
BuildRequires: make
|
|
|
f7b80e5 |
BuildRequires: perl
|
|
|
b387b5a |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
f7b80e5 |
# Run-time:
|
|
|
f7b80e5 |
BuildRequires: perl(Exporter)
|
|
|
f7b80e5 |
BuildRequires: perl(strict)
|
|
|
f7b80e5 |
BuildRequires: perl(Text::ParseWords)
|
|
|
f7b80e5 |
BuildRequires: perl(vars)
|
|
|
f7b80e5 |
# Test:
|
|
|
f7b80e5 |
BuildRequires: perl(Test)
|
|
|
6224a9b |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
6224a9b |
|
|
|
6224a9b |
%description
|
|
|
6224a9b |
This is a thin wrapper around the shellwords.pl package, which comes
|
|
|
6224a9b |
preinstalled with Perl. This module imports a single subroutine,
|
|
|
6224a9b |
shellwords(). The shellwords() routine parses lines of text and
|
|
|
6224a9b |
returns a set of tokens using the same rules that the Unix shell does
|
|
|
6224a9b |
for its command-line arguments. Tokens are separated by whitespace,
|
|
|
6224a9b |
and can be delimited by single or double quotes. The module also
|
|
|
6224a9b |
respects backslash escapes.
|
|
|
6224a9b |
|
|
|
6224a9b |
|
|
|
6224a9b |
%prep
|
|
|
6224a9b |
%setup -q -n Text-Shellwords-%{version}
|
|
|
6224a9b |
# Clean up /usr/local/bin/perl mess
|
|
|
306926e |
#%%{__perl} -pi -e 's|/usr/local/bin/perl\b|%%{__perl}|' \
|
|
|
6224a9b |
# qd.pl bdf_scripts/cvtbdf.pl demos/{*.{pl,cgi},truetype_test}
|
|
|
6224a9b |
|
|
|
6224a9b |
# avoid dependencies
|
|
|
6224a9b |
#chmod 644 examples/*
|
|
|
6224a9b |
|
|
|
6224a9b |
|
|
|
6224a9b |
%build
|
|
|
6224a9b |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
6224a9b |
make %{?_smp_mflags}
|
|
|
6224a9b |
|
|
|
6224a9b |
|
|
|
6224a9b |
%install
|
|
|
6224a9b |
rm -rf $RPM_BUILD_ROOT
|
|
|
6224a9b |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
6224a9b |
find $RPM_BUILD_ROOT -type f -a \( -name .packlist \
|
|
|
6224a9b |
-o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
|
|
|
6224a9b |
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
6224a9b |
|
|
|
6224a9b |
|
|
|
d219b08 |
%check
|
|
|
6224a9b |
make test
|
|
|
6224a9b |
|
|
|
6224a9b |
|
|
|
6224a9b |
%clean
|
|
|
6224a9b |
rm -rf $RPM_BUILD_ROOT
|
|
|
6224a9b |
|
|
|
6224a9b |
|
|
|
6224a9b |
%files
|
|
|
6224a9b |
%defattr(-,root,root,-)
|
|
|
6224a9b |
%doc Changes README
|
|
|
6224a9b |
%{perl_vendorlib}/*
|
|
|
6224a9b |
%{_mandir}/man3/*.3*
|
|
|
6224a9b |
|
|
|
6224a9b |
|
|
|
6224a9b |
%changelog
|
|
|
1b12e27 |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.08-25
|
|
|
1b12e27 |
- Perl 5.24 rebuild
|
|
|
1b12e27 |
|
|
|
5a1b39d |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.08-24
|
|
|
5a1b39d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
5a1b39d |
|
|
|
f7b80e5 |
* Wed Oct 14 2015 Petr Pisar <ppisar@redhat.com> - 1.08-23
|
|
|
f7b80e5 |
- Specify all dependencies
|
|
|
f7b80e5 |
|
|
|
5c4a8dc |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-22
|
|
|
5c4a8dc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
5c4a8dc |
|
|
|
38e7a82 |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.08-21
|
|
|
38e7a82 |
- Perl 5.22 rebuild
|
|
|
38e7a82 |
|
|
|
afc9272 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.08-20
|
|
|
afc9272 |
- Perl 5.20 rebuild
|
|
|
afc9272 |
|
|
|
1c35459 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-19
|
|
|
1c35459 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
1c35459 |
|
|
|
41fa19a |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-18
|
|
|
41fa19a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
41fa19a |
|
|
|
6491e28 |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.08-17
|
|
|
6491e28 |
- Perl 5.18 rebuild
|
|
|
6491e28 |
|
|
|
0de6dfc |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-16
|
|
|
0de6dfc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
0de6dfc |
|
|
|
b69e67b |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-15
|
|
|
b69e67b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
b69e67b |
|
|
|
5e4ee17 |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.08-14
|
|
|
5e4ee17 |
- Perl 5.16 rebuild
|
|
|
5e4ee17 |
|
|
|
16c9a67 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-13
|
|
|
16c9a67 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
16c9a67 |
|
|
|
c83f738 |
* Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.08-12
|
|
|
c83f738 |
- Perl mass rebuild
|
|
|
c83f738 |
|
|
|
d02ad65 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-11
|
|
|
d02ad65 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
d02ad65 |
|
|
|
77cd0ee |
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.08-10
|
|
|
77cd0ee |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
77cd0ee |
|
|
|
9603a7c |
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.08-9
|
|
|
9603a7c |
- Mass rebuild with perl-5.12.0
|
|
|
9603a7c |
|
|
|
787d959 |
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.08-8
|
|
|
787d959 |
- rebuild against perl 5.10.1
|
|
|
787d959 |
|
|
|
b2535cc |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-7
|
|
|
b2535cc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
b2535cc |
|
|
|
99f6936 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-6
|
|
|
99f6936 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
99f6936 |
|
|
|
d219b08 |
* Wed Jun 4 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.08-5
|
|
|
d219b08 |
- Remove old check construct that prevents F-10+ build (#449489)
|
|
|
d219b08 |
|
|
|
20ded7f |
* Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.08-4
|
|
|
20ded7f |
- rebuild for new perl
|
|
|
20ded7f |
|
|
|
b387b5a |
* Mon Oct 15 2007 Alex Lancaster <alexl@users.sourceforge.net> 1.08-3
|
|
|
b387b5a |
- Add missing BR: perl(ExtUtils::MakeMaker)
|
|
|
b387b5a |
|
|
|
161348a |
* Tue Sep 04 2007 Alex Lancaster <alexl@users.sourceforge.net> 1.08-2
|
|
|
161348a |
- Clarified license terms: GPL+ or Artistic
|
|
|
161348a |
|
|
|
ce22273 |
* Sat Mar 24 2007 Alex Lancaster <alexl@users.sourceforge.net> 1.08-1
|
|
|
6224a9b |
- Updated to 1.08
|
|
|
6224a9b |
- Removed superfluous BR: Perl as per suggestion from Ralf Corsepius
|
|
|
6224a9b |
|
|
|
6224a9b |
* Wed Apr 06 2005 Hunter Matthews <thm@duke.edu> 1.07-2
|
|
|
6224a9b |
- Review suggestions by José Pedro Oliveira
|
|
|
6224a9b |
|
|
|
6224a9b |
* Tue Mar 22 2005 Hunter Matthews <thm@duke.edu> 1.07-1
|
|
|
6224a9b |
- Initial build.
|