3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: MP3::Info - manipulate / fetch info from MP3 audio files
9 Summary(pl): MP3::Info - odczyt i operowanie na informacjach z plików d¼wiêkowych MP3
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: e847ef8adf9c9eee70b7f1492d3ed40d
17 BuildRequires: rpm-perlprov >= 4.1-13
18 BuildRequires: perl-devel >= 1:5.8.0
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
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)
56 %{perl_vendorlib}/MPEG
59 %dir %{_examplesdir}/%{name}-%{version}
60 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/*