]> git.pld-linux.org Git - packages/perl-MP3-Info.git/blame - perl-MP3-Info.spec
- tabs in preamble
[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#
13912c17 5%include /usr/lib/rpm/macros.perl
45b10ca5 6%define pdir MP3
7%define pnam Info
bdad8742 8Summary: MP3::Info - manipulate / fetch info from MP3 audio files
9c1a9a17 9Summary(pl.UTF-8): MP3::Info - odczyt i operowanie na informacjach z plików dźwiękowych MP3
eb969148 10Name: perl-MP3-Info
855608e6 11Version: 1.20
ad37f073 12Release: 1
05f367a5 13License: Artistic
eb969148 14Group: Development/Languages/Perl
4fe57b1f 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
855608e6 16# Source0-md5: ffb3427089a6b5f56e35e5b2ab902d29
07b3c6b4 17BuildRequires: rpm-perlprov >= 4.1-13
0ca382e1 18BuildRequires: perl-devel >= 1:5.8.0
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)
c7f40265 55%doc README
855608e6 56#%{perl_vendorlib}/MPEG
07b3c6b4 57%{perl_vendorlib}/MP3
eb969148 58%{_mandir}/man3/*
c7f40265 59%dir %{_examplesdir}/%{name}-%{version}
60%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/*
This page took 0.107786 seconds and 4 git commands to generate.