Name: perl-CDDB Version: 1.220 Release: 3%{?dist} Summary: CDDB Perl module License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/CDDB/ Source0: http://www.cpan.org/authors/id/R/RC/RCAPUTO/CDDB-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description CDDB protocol (cddbp) servers provide compact disc information for programs that need it. This allows such programs to display disc and track titles automatically, and it provides extended information like liner notes and lyrics. %prep %setup -q -n CDDB-%{version} %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 %{?_with_network_tests: make test } %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc CHANGES HISTORY README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Mar 23 2010 Jan Klepek - 1.220-3 - removed Test::More from Reuqirements and changed perl_install_root with destdir * Thu Mar 18 2010 Jan Klepek 1.220-2 - make test only with network * Wed Mar 17 2010 Jan Klepek 1.220-1 - Specfile autogenerated by cpanspec 1.78.