rpms/perl-CPAN-DistnameInfo/devel perl-CPAN-DistnameInfo.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Steven Pritchard (steve)
fedora-extras-commits at redhat.com
Thu Jan 26 21:27:07 UTC 2006
Author: steve
Update of /cvs/extras/rpms/perl-CPAN-DistnameInfo/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15679/devel
Modified Files:
.cvsignore sources
Added Files:
perl-CPAN-DistnameInfo.spec
Log Message:
auto-import perl-CPAN-DistnameInfo-0.06-1 on branch devel from perl-CPAN-DistnameInfo-0.06-1.src.rpm
--- NEW FILE perl-CPAN-DistnameInfo.spec ---
Name: perl-CPAN-DistnameInfo
Version: 0.06
Release: 1%{?dist}
Summary: CPAN::DistnameInfo Perl module
License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/CPAN-DistnameInfo/
Source0: http://www.cpan.org/modules/by-module/CPAN/CPAN-DistnameInfo-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Many online services that are centered around CPAN attempt to
associate multiple uploads by extracting a distribution name from the
filename of the upload. For most distributions this is easy as they
have used ExtUtils::MakeMaker or Module::Build to create the
distribution, which results in a uniform name. But sadly not all
uploads are created in this way.
CPAN::DistnameInfo uses heuristics that have been learnt by
http://search.cpan.org/ to extract the distribution name and version
from filenames and also report if the version is to be treated as a
developer release.
%prep
%setup -q -n CPAN-DistnameInfo-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
perldoc -t perlgpl > COPYING
perldoc -t perlartistic > Artistic
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README COPYING Artistic
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon Sep 19 2005 Steven Pritchard <steve at kspei.com> 0.06-1
- Specfile autogenerated.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-CPAN-DistnameInfo/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 26 Jan 2006 21:26:19 -0000 1.1
+++ .cvsignore 26 Jan 2006 21:27:07 -0000 1.2
@@ -0,0 +1 @@
+CPAN-DistnameInfo-0.06.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-CPAN-DistnameInfo/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 26 Jan 2006 21:26:19 -0000 1.1
+++ sources 26 Jan 2006 21:27:07 -0000 1.2
@@ -0,0 +1 @@
+f7154ef1681ce5d236e984d7ce72e3ac CPAN-DistnameInfo-0.06.tar.gz
More information about the fedora-extras-commits
mailing list