]> git.pld-linux.org Git - packages/perl-MP3-Info.git/blob - perl-MP3-Info.spec
- tests added, license fix
[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 Perl module
9 Summary(cs):    Modul MP3::Info pro Perl
10 Summary(da):    Perlmodul MP3::Info
11 Summary(de):    MP3::Info Perl Modul
12 Summary(es):    Módulo de Perl MP3::Info
13 Summary(fr):    Module Perl MP3::Info
14 Summary(it):    Modulo di Perl MP3::Info
15 Summary(ja):    MP3::Info Perl ¥â¥¸¥å¡¼¥ë
16 Summary(ko):    MP3::Info ÆÞ ¸ðÁÙ
17 Summary(nb):    Perlmodul MP3::Info
18 Summary(pl):    Modu³ Perla MP3::Info
19 Summary(pt):    Módulo de Perl MP3::Info
20 Summary(pt_BR): Módulo Perl MP3::Info
21 Summary(ru):    íÏÄÕÌØ ÄÌÑ Perl MP3::Info
22 Summary(sv):    MP3::Info Perlmodul
23 Summary(uk):    íÏÄÕÌØ ÄÌÑ Perl MP3::Info
24 Summary(zh_CN): MP3::Info Perl Ä£¿é
25 Name:           perl-MP3-Info
26 Version:        1.02
27 Release:        1
28 License:        Artistic
29 Group:          Development/Languages/Perl
30 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
31 # Source0-md5:  842c7ddf0c160e5c7dd02ae21e13ef9b
32 BuildRequires:  rpm-perlprov >= 4.1-13
33 BuildRequires:  perl-devel >= 5.6
34 Obsoletes:      perl-MPEG-MP3Info
35 BuildArch:      noarch
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 MP3::Info - fetches and manipulates info from MP3 audio files.
40
41 %description -l pl
42 MP3::Info - wyci±ga informacje z plików MP3 i umo¿liwia operowanie na
43 nich.
44
45 %prep
46 %setup -q -n %{pdir}-%{pnam}-%{version}
47
48 %build
49 %{__perl} Makefile.PL \
50         INSTALLDIRS=vendor
51 %{__make}
52
53 %{?with_tests:%{__make} test}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
58
59 %{__make} install DESTDIR=$RPM_BUILD_ROOT
60
61 cp -f eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc README
69 %{perl_vendorlib}/MPEG
70 %{perl_vendorlib}/MP3
71 %{_mandir}/man3/*
72 %dir %{_examplesdir}/%{name}-%{version}
73 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/*
This page took 0.066635 seconds and 4 git commands to generate.