3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
6 Summary: CDDB - read the CDDB entry for an audio CD in your drive
7 Summary(pl): CDDB - odczyt informacji CDDB dla p³yty audio CD w napêdzie
11 License: GPL v2 or Artistic
12 Group: Development/Languages/Perl
13 Source0: http://www.cpan.org/authors/id/F/FO/FONKIE/CDDB_get-%{version}.tar.gz
14 # Source0-md5: 6230c08a91ac819fceada544730623be
15 BuildRequires: perl-devel >= 1:5.8.0
16 BuildRequires: rpm-perlprov >= 4.1-13
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 This module/script gets the CDDB info for an audio cd.
24 Ten modu³/skrypt zbiera informacje z bazy CDDB dla p³yt audio CD.
27 %setup -q -n CDDB_get-%{version}
30 %{__perl} Makefile.PL \
34 %{?with_tests:%{__make} test}
37 rm -rf $RPM_BUILD_ROOT
40 DESTDIR=$RPM_BUILD_ROOT
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
47 %attr(755,root,root) %{_bindir}/cddb.pl
48 %{perl_vendorlib}/CDDB_get.pm
49 %{perl_vendorlib}/cddb.pl
50 %dir %{perl_vendorlib}/auto/CDDB_get
51 %{perl_vendorlib}/auto/CDDB_get/autosplit.ix