]> git.pld-linux.org Git - packages/perl-CDDB_get.git/blame - perl-CDDB_get.spec
use generic url
[packages/perl-CDDB_get.git] / perl-CDDB_get.spec
CommitLineData
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 7Summary: CDDB - read the CDDB entry for an audio CD in your drive
8f154f95 8Summary(pl.UTF-8): CDDB - odczyt informacji CDDB dla płyty audio CD w napędzie
ee9e430e 9Name: perl-CDDB_get
aff89a44 10Version: 2.27
ff07e85b 11Release: 2
76fd5f9c 12License: GPL v2 or Artistic
ee9e430e 13Group: Development/Languages/Perl
7e736b1b 14Source0: http://www.cpan.org/modules/by-authors/id/F/FO/FONKIE/%{pdir}-%{version}.tar.gz
aff89a44 15# Source0-md5: 405a3704ad5db45f117cc7cc5bd1ce7c
8dbd26f3 16URL: http://search.cpan.org/dist/CDDB_get/
24258e19 17BuildRequires: perl-devel >= 1:5.8.0
ff50ec81 18BuildRequires: rpm-perlprov >= 4.1-13
511d5ce8 19BuildArch: noarch
ee9e430e
SZ
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23This module/script gets the CDDB info for an audio cd.
24
e7bdbb08
JR
25%description -l pl.UTF-8
26Ten 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
39rm -rf $RPM_BUILD_ROOT
40
9e3cdae4 41%{__make} install \
42 DESTDIR=$RPM_BUILD_ROOT
ee9e430e 43
ee9e430e
SZ
44%clean
45rm -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/*
This page took 1.57289 seconds and 4 git commands to generate.