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