rpms/cpan-upload/F-9 cpan-upload.spec,NONE,1.1 sources,1.1,1.2

Chris Weyl cweyl at fedoraproject.org
Fri Sep 26 04:10:39 UTC 2008


Author: cweyl

Update of /cvs/extras/rpms/cpan-upload/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31417

Modified Files:
	sources 
Added Files:
	cpan-upload.spec 
Log Message:
* Mon Sep 22 2008 Chris Weyl <cweyl at alumni.drew.edu> 2.2-3
- bump



--- NEW FILE cpan-upload.spec ---
Name:           cpan-upload
Version:        2.2       
Release:        3%{?dist}
Summary:        Automate the uploading of files to the CPAN (PAUSE)

Group:          Development/Libraries
License:        GPL+ or Artistic
URL:            http://search.cpan.org/src/NEILB/cpan-upload-2.2/ 
Source0:        http://search.cpan.org/pub/CPAN/authors/id/N/NE/NEILB/scripts/cpan-upload-%{version}.tar.gz 
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

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

BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(AppConfig::Std)  
BuildRequires:  perl(File::Basename)  
BuildRequires:  perl(HTTP::Request::Common)  
BuildRequires:  perl(HTTP::Status)  
BuildRequires:  perl(LWP::UserAgent)  
BuildRequires:  perl(Net::FTP)  
BuildRequires:  perl(Term::ReadKey)

# not automagically picked up ("require" construct)
Requires:       perl(Term::ReadKey)

%description
cpan-upload is a script which automates the process of uploading a file to
CPAN using PAUSE, the Perl Authors Upload Server.  For example, to upload a
recent version of the Net::Dict module I ran: 

    % cpan-upload -verbose Net-Dict-1.07.tar.gz

If everything went OK, you’ll get two mail messages from the PAUSE monitor: 
one to acknowledge the upload, and one to let you know if your upload made 
it through to CPAN.

%prep
%setup -q


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


%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}

find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'

%{_fixperms} %{buildroot}/*


%check
make test


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc ChangeLog README
%{_bindir}/*
%{_mandir}/man1/*.1*


%changelog
* Mon Sep 22 2008 Chris Weyl <cweyl at alumni.drew.edu> 2.2-3
- bump

* Mon Sep 22 2008 Chris Weyl <cweyl at alumni.drew.edu> 2.2-2
- update source/url

* Sat Sep 20 2008 Chris Weyl <cweyl at alumni.drew.edu> 2.2-1
- initial Fedora packaging


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/cpan-upload/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	22 Sep 2008 09:40:51 -0000	1.1
+++ sources	26 Sep 2008 04:10:08 -0000	1.2
@@ -0,0 +1 @@
+e900a0b3e78f9f2a4dabc1d1b5e1cdb6  cpan-upload-2.2.tar.gz




More information about the fedora-extras-commits mailing list