Author: iarnell

Update of /cvs/pkgs/rpms/perl-CPAN-Uploader/F-11
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv24911/F-11

Modified Files:
        .cvsignore sources 
Added Files:
        perl-CPAN-Uploader.spec 
Log Message:
initial import


--- NEW FILE perl-CPAN-Uploader.spec ---
Name:           perl-CPAN-Uploader
Version:        0.100760
Release:        1%{?dist}
Summary:        Upload things to the CPAN
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/CPAN-Uploader/
Source0:        
http://www.cpan.org/authors/id/R/RJ/RJBS/CPAN-Uploader-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Getopt::Long::Descriptive) >= 0.084
BuildRequires:  perl(HTTP::Request::Common)
BuildRequires:  perl(HTTP::Status)
BuildRequires:  perl(LWP::UserAgent)
BuildRequires:  perl(Term::ReadKey)
# tests
BuildRequires:  perl(Pod::Coverage::TrustPod)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Test::Pod)
BuildRequires:  perl(Test::Pod::Coverage)

Requires:       perl(Term::ReadKey)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))

%{?perl_default_filter}

%description
CPAN::Uploader is a module which automates the process of uploading a file to
CPAN using PAUSE, the Perl Authors Upload Server.

%prep
%setup -q -n CPAN-Uploader-%{version}

# don't conflict with cpan-upload
mv bin/cpan-upload bin/cpan-uploader
sed -i -e 's!bin/cpan-upload!bin/cpan-uploader!' Makefile.PL

%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
RELEASE_TESTING=1 make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes dist.ini LICENSE META.json README
%{perl_vendorlib}/*
%{_bindir}/*
%{_mandir}/man1/*
%{_mandir}/man3/*

%changelog
* Thu Apr 08 2010 Iain Arnell <iarn...@gmail.com> 0.100760-1
- Specfile autogenerated by cpanspec 1.78.
- use perl_default_filter and DESTDIR
- tweak requires


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-CPAN-Uploader/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore  21 Apr 2010 04:16:45 -0000      1.1
+++ .cvsignore  22 Apr 2010 03:03:36 -0000      1.2
@@ -0,0 +1 @@
+CPAN-Uploader-0.100760.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-CPAN-Uploader/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources     21 Apr 2010 04:16:45 -0000      1.1
+++ sources     22 Apr 2010 03:03:36 -0000      1.2
@@ -0,0 +1 @@
+ba2aee2a089f98dd7966d56c55c3d5c3  CPAN-Uploader-0.100760.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to