commit a3d35cbb7b25eb36a75485bd9bec28d661a63034 Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> Date: Wed Nov 10 01:37:28 2010 +0100 Initial import. .gitignore | 1 + perl-CGI-Application-Plugin-LinkIntegrity.spec | 62 ++++++++++++++++++++++++ sources | 1 + 3 files changed, 64 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..7ef4d96 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/CGI-Application-Plugin-LinkIntegrity-0.06.tar.gz diff --git a/perl-CGI-Application-Plugin-LinkIntegrity.spec b/perl-CGI-Application-Plugin-LinkIntegrity.spec new file mode 100644 index 0000000..83ed54d --- /dev/null +++ b/perl-CGI-Application-Plugin-LinkIntegrity.spec @@ -0,0 +1,62 @@ +Name: perl-CGI-Application-Plugin-LinkIntegrity +Version: 0.06 +Release: 2%{?dist} +Summary: Make tamper-resistant links in CGI::Application +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/CGI-Application-Plugin-LinkIntegrity/ +Source0: http://www.cpan.org/authors/id/M/MG/MGRAHAM/CGI-Application-Plugin-LinkIntegrity-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(CGI) +BuildRequires: perl(CGI::Application) +BuildRequires: perl(Digest::HMAC) +BuildRequires: perl(Digest::MD5) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +BuildRequires: perl(URI) +BuildRequires: perl(URI::Escape) +BuildRequires: perl(URI::QueryParam) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +CGI::Application::Plugin::LinkIntegrity lets you create tamper-resistant +links within your CGI::Application project. When you create an URL with +link, a check-sum is added to the URL. The check-sum is a (cryptographic) hash +of the URL, plus a secret string known only to the server. + +%prep +%setup -q -n CGI-Application-Plugin-LinkIntegrity-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +rm -rf $RPM_BUILD_ROOT + +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Nov 08 2010 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 0.06-2 +- Fix spec file per review + +* Sun Oct 31 2010 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 0.06-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..4dfe949 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +07c25e45dffbd60875cf8811c7bcc042 CGI-Application-Plugin-LinkIntegrity-0.06.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