]> git.pld-linux.org Git - packages/perl-MP3-Info.git/blame - perl-MP3-Info.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-MP3-Info.git] / perl-MP3-Info.spec
CommitLineData
05f367a5 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
45b10ca5 5%define pdir MP3
6%define pnam Info
bdad8742 7Summary: MP3::Info - manipulate / fetch info from MP3 audio files
9c1a9a17 8Summary(pl.UTF-8): MP3::Info - odczyt i operowanie na informacjach z plików dźwiękowych MP3
eb969148 9Name: perl-MP3-Info
b6b72731 10Version: 1.24
ad37f073 11Release: 1
05f367a5 12License: Artistic
eb969148 13Group: Development/Languages/Perl
20f0cc75 14Source0: http://www.cpan.org/modules/by-module/MP3/%{pdir}-%{pnam}-%{version}.tar.gz
b6b72731 15# Source0-md5: fb4bcc43764e3b46c3a7c74b50ed7a44
20f0cc75 16URL: http://search.cpan.org/dist/MP3-Info/
0ca382e1 17BuildRequires: perl-devel >= 1:5.8.0
20f0cc75 18BuildRequires: rpm-perlprov >= 4.1-13
eb969148 19Obsoletes: perl-MPEG-MP3Info
94cefb90 20BuildArch: noarch
eb969148
SZ
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
bdad8742 24MP3::Info Perl module fetches and manipulates info from MP3 audio
25files.
eb969148 26
2ba56ff3
JR
27%description -l pl.UTF-8
28Moduł Perla MP3::Info wyciąga informacje z plików MP3 i umożliwia
bdad8742 29operowanie na nich.
eb969148
SZ
30
31%prep
13912c17 32%setup -q -n %{pdir}-%{pnam}-%{version}
eb969148
SZ
33
34%build
07b3c6b4 35%{__perl} Makefile.PL \
85cb5fd7 36 INSTALLDIRS=vendor
eb969148
SZ
37%{__make}
38
05f367a5 39%{?with_tests:%{__make} test}
40
eb969148
SZ
41%install
42rm -rf $RPM_BUILD_ROOT
c7f40265 43install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
eb969148 44
a1242edf 45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
eb969148 47
c7f40265 48cp -f eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
eb969148
SZ
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
20f0cc75 55%doc Changes README
07b3c6b4 56%{perl_vendorlib}/MP3
eb969148 57%{_mandir}/man3/*
c7f40265 58%dir %{_examplesdir}/%{name}-%{version}
59%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/*
This page took 0.105251 seconds and 4 git commands to generate.