]> git.pld-linux.org Git - packages/perl-CDDB_get.git/blob - perl-CDDB_get.spec
- fixed perl-devel BR
[packages/perl-CDDB_get.git] / perl-CDDB_get.spec
1 #
2 # Conditional build:
3 %bcond_without  tests # do not perform "make test"
4 #
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
8 Name:           perl-CDDB_get
9 Version:        2.23
10 Release:        1
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
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 This module/script gets the CDDB info for an audio cd.
22
23 %description -l pl
24 Ten modu³/skrypt zbiera informacje z bazy CDDB dla p³yt audio CD.
25
26 %prep
27 %setup -q -n CDDB_get-%{version}
28
29 %build
30 %{__perl} Makefile.PL \
31         INSTALLDIRS=vendor
32 %{__make}
33
34 %{?with_tests:%{__make} test}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 %{__make} install \
40         DESTDIR=$RPM_BUILD_ROOT
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
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
52 %{_mandir}/man3/*
This page took 0.074328 seconds and 3 git commands to generate.