Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > by-pkgid > 547b5c3cd87fc94ba771d3d96558b5c6 > files > 2

perl-CPAN-Uploader-0.92.340-1mdv2010.0.src.rpm

%define upstream_name    CPAN-Uploader
%define upstream_version 0.092340

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1

Summary:    Upload things to the CPAN
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/CPAN/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(Getopt::Long::Descriptive)
BuildRequires: perl(HTTP::Request::Common)
BuildRequires: perl(HTTP::Status)
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(URI)
BuildArch: noarch
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}

%description
This code is mostly derived from cpan-upload-http by Brad Fitzpatrick,
which in turn was based on cpan-upload by Neil Bowers. I (rjbs) didn't
want to have to use a system call to run either of those, so I
refactored the code into this module.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%check
make test

%install
rm -rf %buildroot
%makeinstall_std

%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
%doc Changes LICENSE README
%{_mandir}/man3/*
%perl_vendorlib/*
/usr/bin/cpan-upload



%changelog
* Mon Aug 24 2009 Jérôme Quelin <jquelin@mandriva.org> 0.92.340-1mdv2010.0
+ Revision: 420275
- update to 0.092340

* Fri May 29 2009 Jérôme Quelin <jquelin@mandriva.org> 0.91.270-1mdv2010.0
+ Revision: 380979
- adding missing buildrequires
- adding description
- import perl-CPAN-Uploader


* Fri May 29 2009 cpan2dist 0.091270-1mdv
- initial mdv release, generated with cpan2dist