%define module	CDDB_get
%define version 2.28
%define release 1
Summary:	%{module} module for perl
Name:		perl-%{module}
Version:	%{version}
Release:	%{release}
License:	distributable
Group:		Applications/Multimedia
Source0:	%{module}-%{version}.tar.gz
Url:		http://armin.emx.at/cddb/
BuildRoot:	%{_tmppath}/%{name}-buildroot/
Requires:	perl >= 5.6.1
BuildArch:	noarch

%{module} module for perl

%setup -q -n %{module}-%{version}

CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
make test


eval `perl '-V:installarchlib'`
mkdir -p $RPM_BUILD_ROOT/$installarchlib
make PREFIX=$RPM_BUILD_ROOT%{_prefix} install

# call spec-helper before creating the file list
s=/usr/share/spec-helper/spec-helper ; [ -x $s ] && $s

%doc Changes Copying README DATABASE

* Tue Mar  6 19:16:36 CET 2012 Armin Obersteiner <armin(at)xos(dot)net> 2.28
* Mon Mar 11 04:14:26 MET 2002 Armin Obersteiner <armin(at)xos(dot)net> 2.01-1
* Sun Nov 25 2001 Peter Bieringer <pb@bieringer.de> 1.66-1
- initial (creditds to spec file creators of perl-DateManip)