]> git.pld-linux.org Git - packages/perl-MP3-Info.git/blob - perl-MP3-Info.spec
- updated to 1.10
[packages/perl-MP3-Info.git] / perl-MP3-Info.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    MP3
7 %define         pnam    Info
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
10 Name:           perl-MP3-Info
11 Version:        1.10
12 Release:        1
13 License:        Artistic
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
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 MP3::Info Perl module fetches and manipulates info from MP3 audio
25 files.
26
27 %description -l pl
28 Modu³ Perla MP3::Info wyci±ga informacje z plików MP3 i umo¿liwia
29 operowanie na nich.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make}
38
39 %{?with_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 cp -f eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc README
56 %{perl_vendorlib}/MPEG
57 %{perl_vendorlib}/MP3
58 %{_mandir}/man3/*
59 %dir %{_examplesdir}/%{name}-%{version}
60 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/*
This page took 0.295612 seconds and 4 git commands to generate.