commit 9316d41d8b528b52e65d431bdff045dccd0cfa03 Author: mpaladin <massimo.paladin@xxxxxxxxx> Date: Tue Jun 12 16:02:19 2012 +0200 Initial import (#830811). .gitignore | 1 + perl-No-Worries.spec | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 73 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..a4affd0 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/No-Worries-0.3.tar.gz diff --git a/perl-No-Worries.spec b/perl-No-Worries.spec new file mode 100644 index 0000000..0a4cd79 --- /dev/null +++ b/perl-No-Worries.spec @@ -0,0 +1,71 @@ +Name: perl-No-Worries +Version: 0.3 +Release: 2%{?dist} +Summary: Perl coding without worries +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/No-Worries/ +Source0: http://search.cpan.org/CPAN/authors/id/L/LC/LCONS/No-Worries-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Encode) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Temp) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(HTTP::Date) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IO::Select) +BuildRequires: perl(Params::Validate) +BuildRequires: perl(Sys::Syslog) +BuildRequires: perl(Test::More) +BuildRequires: perl(Time::HiRes) +BuildRequires: perl(URI::Escape) +# and for better testing... +BuildRequires: perl(Pod::Coverage) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module and its sub-modules ease coding by providing consistent +convenient functions to perform frequently used programming tasks. + +%prep +%setup -q -n No-Worries-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Jun 11 2012 Massimo Paladin <massimo.paladin@xxxxxxxxx> 0.3-2 +- Cleaning the spec file. + +* Wed May 30 2012 Lionel Cons <lionel.cons@xxxxxxx> 0.3-1 +- Specfile autogenerated by cpanspec 1.78. +- Specfile cleanup. diff --git a/sources b/sources index e69de29..a64a355 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2ad2012f15e7cc2994b05e594d3bdc23 No-Worries-0.3.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel