3 %bcond_without tests # do not perform "make test"
7 Summary: MP3::Info - manipulate / fetch info from MP3 audio files
8 Summary(pl.UTF-8): MP3::Info - odczyt i operowanie na informacjach z plików dźwiękowych MP3
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/MP3/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: fb4bcc43764e3b46c3a7c74b50ed7a44
16 URL: http://search.cpan.org/dist/MP3-Info/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
19 Obsoletes: perl-MPEG-MP3Info
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 MP3::Info Perl module fetches and manipulates info from MP3 audio
27 %description -l pl.UTF-8
28 Moduł Perla MP3::Info wyciąga informacje z plików MP3 i umożliwia
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
39 %{?with_tests:%{__make} test}
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
46 DESTDIR=$RPM_BUILD_ROOT
48 cp -f eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
58 %dir %{_examplesdir}/%{name}-%{version}
59 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/*