]>
Commit | Line | Data |
---|---|---|
8902245d | 1 | # |
2 | # Conditional build: | |
b6411144 | 3 | %bcond_without tests # do not perform "make test" |
8dbd26f3 | 4 | |
7e736b1b | 5 | %define pdir CDDB_get |
8dbd26f3 | 6 | %include /usr/lib/rpm/macros.perl |
76fd5f9c | 7 | Summary: CDDB - read the CDDB entry for an audio CD in your drive |
8f154f95 | 8 | Summary(pl.UTF-8): CDDB - odczyt informacji CDDB dla płyty audio CD w napędzie |
ee9e430e | 9 | Name: perl-CDDB_get |
aff89a44 | 10 | Version: 2.27 |
ff07e85b | 11 | Release: 2 |
76fd5f9c | 12 | License: GPL v2 or Artistic |
ee9e430e | 13 | Group: Development/Languages/Perl |
7e736b1b | 14 | Source0: http://www.cpan.org/modules/by-authors/id/F/FO/FONKIE/%{pdir}-%{version}.tar.gz |
aff89a44 | 15 | # Source0-md5: 405a3704ad5db45f117cc7cc5bd1ce7c |
8dbd26f3 | 16 | URL: http://search.cpan.org/dist/CDDB_get/ |
24258e19 | 17 | BuildRequires: perl-devel >= 1:5.8.0 |
ff50ec81 | 18 | BuildRequires: rpm-perlprov >= 4.1-13 |
511d5ce8 | 19 | BuildArch: noarch |
ee9e430e SZ |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | This module/script gets the CDDB info for an audio cd. | |
24 | ||
e7bdbb08 JR |
25 | %description -l pl.UTF-8 |
26 | Ten moduł/skrypt zbiera informacje z bazy CDDB dla płyt audio CD. | |
ee9e430e SZ |
27 | |
28 | %prep | |
7e736b1b | 29 | %setup -q -n %{pdir}-%{version} |
ee9e430e SZ |
30 | |
31 | %build | |
ff50ec81 | 32 | %{__perl} Makefile.PL \ |
fb6fca60 | 33 | INSTALLDIRS=vendor |
ee9e430e | 34 | %{__make} |
9e3cdae4 | 35 | |
b6411144 | 36 | %{?with_tests:%{__make} test} |
ee9e430e SZ |
37 | |
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
9e3cdae4 | 41 | %{__make} install \ |
42 | DESTDIR=$RPM_BUILD_ROOT | |
ee9e430e | 43 | |
ee9e430e SZ |
44 | %clean |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
07d56679 | 49 | %attr(755,root,root) %{_bindir}/cddb.pl |
aff89a44 | 50 | %{perl_vendorlib}/CDDB_cache.pm |
ff50ec81 | 51 | %{perl_vendorlib}/CDDB_get.pm |
52 | %{perl_vendorlib}/cddb.pl | |
aff89a44 ER |
53 | %dir %{perl_vendorlib}/auto/CDDB_cache |
54 | %{perl_vendorlib}/auto/CDDB_cache/autosplit.ix | |
ff50ec81 | 55 | %dir %{perl_vendorlib}/auto/CDDB_get |
56 | %{perl_vendorlib}/auto/CDDB_get/autosplit.ix | |
ee9e430e | 57 | %{_mandir}/man3/* |