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