perl-String-ShellQuote/perl-String-ShellQuote.spec
cvsextras a669431dc6 auto-import perl-String-ShellQuote-1.00-0.fdr.7.2 from
perl-String-ShellQuote-1.00-0.fdr.7.2.src.rpm
2004-11-08 05:09:50 +00:00

82 lines
2.3 KiB
RPMSpec

Name: perl-String-ShellQuote
Version: 1.00
Release: 0.fdr.7.2
Epoch: 0
Summary: Perl module for quoting strings for passing through the shell
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/String-ShellQuote/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://www.cpan.org/authors/id/R/RO/ROSCH/String-ShellQuote-1.00.tar.gz
BuildArch: noarch
BuildRequires: perl
%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
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
make OPTIMIZE="$RPM_OPT_FLAGS"
make test
%install
rm -rf $RPM_BUILD_ROOT
make install \
PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \
INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib}
find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
-o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{_libdir}/perl*/*
%{_mandir}/man*/*
%changelog
* Thu Sep 11 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.00-0.fdr.7
- Specfile cleanup, using INSTALLDIRS=vendor, PERL_INSTALL_ROOT and
INSTALLARCHLIB.
* Sun Aug 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.00-0.fdr.6
- Get rid of perllocal.pod, .packlist and empty *.bs.
Some of the files don't exist with this package but I want a good template
%%install section :)
* Sun Aug 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.00-0.fdr.5
- Install into vendor dirs.
* Sun Jul 13 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.00-0.fdr.4
- Update description.
- Small spec cleanups.
* Sun May 4 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.00-0.fdr.3
- Own more dirs.
* Sun Apr 13 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.00-0.fdr.2
- Save .spec in UTF-8.
* Sat Mar 22 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.00-0.fdr.1
- Update to current Fedora guidelines.
* Fri Feb 7 2003 Ville Skyttä <ville.skytta at iki.fi> - 1.00-1.fedora.1
- First Fedora release.