2010-05-06 23:04:13 +00:00
|
|
|
#
|
2011-11-17 15:49:24 +00:00
|
|
|
# spec file for package perl-String-ShellQuote
|
2010-05-06 23:04:13 +00:00
|
|
|
#
|
2011-11-17 15:49:24 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-05-06 23:04:13 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2011-11-17 15:49:24 +00:00
|
|
|
|
2010-05-06 23:04:13 +00:00
|
|
|
Name: perl-String-ShellQuote
|
|
|
|
Summary: Quote strings for passing through the shell
|
2010-06-25 16:16:21 +00:00
|
|
|
Version: 1.04
|
2010-05-06 23:04:13 +00:00
|
|
|
Release: 1
|
|
|
|
License: CHECK(GPL+ or Artistic)
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Url: http://search.cpan.org/dist/String-ShellQuote/
|
2011-11-17 15:49:24 +00:00
|
|
|
Source: http://www.cpan.org/authors/id/R/RO/ROSCH/String-ShellQuote-%{version}.tar.gz
|
2010-05-06 23:04:13 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:50:40 +00:00
|
|
|
%{perl_requires}
|
2010-05-06 23:04:13 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
This module contains some functions which are useful for quoting strings
|
|
|
|
which are going to pass through the shell or a shell-like object.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n String-ShellQuote-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
|
|
|
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR="%{buildroot}"
|
|
|
|
find %{buildroot} -type f -name .packlist -print0 | xargs -0 --no-run-if-empty rm -f
|
|
|
|
find %{buildroot} -depth -type d -print0 | xargs -0 --no-run-if-empty rmdir 2>/dev/null || true
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes README
|
|
|
|
|
|
|
|
%changelog
|