1 %bcond_with tests # disable "make test"
5 Summary: Audio::MPD - a Perl module for developing MPD
6 Summary(pl.UTF-8): Audio::MPD - moduł Perla do rozwijania aplikacji dla MPD
11 License: GPL v1+ or Artistic
12 Group: Development/Languages/Perl
13 Source0: http://search.cpan.org/CPAN/authors/id/J/JQ/JQUELIN/%{pdir}-%{pnam}-%{version}.tar.gz
14 # Source0-md5: 5abd3988173b1f5b925b3e0bb56f6f3c
15 URL: http://search.cpan.org/dist/Audio-MPD/
16 %{?with_tests:BuildRequires: perl-Audio-MPD-Common}
17 %{?with_tests:BuildRequires: perl-Class-Accessor}
18 BuildRequires: perl-Module-Build >= 1:0.3601
19 %{?with_tests:BuildRequires: perl-Test-Pod-Coverage}
20 %{?with_tests:BuildRequires: perl-Test-Pod}
21 BuildRequires: perl-devel >= 1:5.8.0
22 BuildRequires: rpm-perlprov >= 4.1-13
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Audio::MPD is a Perl module for developing MPD (Music Player Daemon)
28 clients and other scripts that control the MPD server.
30 %description -l pl.UTF-8
31 Audio::MPD to moduł Perla do rozwijania klientów i innych skryptów
32 sterujących serwerem MPD (Music Player Daemon).
35 %setup -q -n %{pdir}-%{pnam}-%{version}
39 destdir=$RPM_BUILD_ROOT \
44 %{?with_tests:./Build test}
47 rm -rf $RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %attr(755,root,root) %{_bindir}/*
58 %{perl_vendorlib}/Audio/MPD.pm
59 %{perl_vendorlib}/Audio/MPD/*