diff --git a/.cvsignore b/.cvsignore index e69de29..479fa16 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +String-ShellQuote-1.00.tar.gz diff --git a/perl-String-ShellQuote.spec b/perl-String-ShellQuote.spec new file mode 100644 index 0000000..ed576dc --- /dev/null +++ b/perl-String-ShellQuote.spec @@ -0,0 +1,81 @@ +Name: perl-String-ShellQuote +Version: 1.00 +Release: 0.fdr.7.rh80 +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ä - 0:1.00-0.fdr.7 +- Specfile cleanup, using INSTALLDIRS=vendor, PERL_INSTALL_ROOT and + INSTALLARCHLIB. + +* Sun Aug 31 2003 Ville Skyttä - 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ä - 0:1.00-0.fdr.5 +- Install into vendor dirs. + +* Sun Jul 13 2003 Ville Skyttä - 0:1.00-0.fdr.4 +- Update description. +- Small spec cleanups. + +* Sun May 4 2003 Ville Skyttä - 0:1.00-0.fdr.3 +- Own more dirs. + +* Sun Apr 13 2003 Ville Skyttä - 0:1.00-0.fdr.2 +- Save .spec in UTF-8. + +* Sat Mar 22 2003 Ville Skyttä - 0:1.00-0.fdr.1 +- Update to current Fedora guidelines. + +* Fri Feb 7 2003 Ville Skyttä - 1.00-1.fedora.1 +- First Fedora release. diff --git a/sources b/sources index e69de29..30b6a73 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +031fa1dbd199c6a4d2e824e45a004e3e String-ShellQuote-1.00.tar.gz