]> git.pld-linux.org Git - packages/perl-MP3-Tag.git/blame - perl-MP3-Tag.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-MP3-Tag.git] / perl-MP3-Tag.spec
CommitLineData
65ca362e
AG
1# ToDo:
2# - include tk-tag/tk-tag.pl or not? Maybe as a seperate package (more R:)?
3#
4# Conditional build:
5%bcond_without tests # do not perform "make test"
6#
19bf2234 7%define pdir MP3
8%define pnam Tag
65ca362e
AG
9#
10Summary: Module for reading/writing tags of MP3 audio files
47c7474d 11Summary(pl.UTF-8): Moduł do odczytywania/zapisywania znaczników z plików MP3
79c678d1 12Name: perl-MP3-Tag
099958f5 13Version: 1.13
c5d849a8 14Release: 3
65ca362e
AG
15License: Artistic
16Group: Development/Languages/Perl
17Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
099958f5 18# Source0-md5: 1eea17c9c8a03433634eb37fc16311d3
10776c6e 19URL: http://search.cpan.org/dist/MP3-Tag/
42b6b6d5 20BuildRequires: perl-ExtUtils-MakeMaker >= 6.21-3
46566c93 21BuildRequires: perl-devel >= 1:5.8.0
65ca362e 22BuildRequires: rpm-perlprov >= 4.1-13
7422bc66 23Requires: perl-Encode >= 2.44-2
65ca362e
AG
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
46566c93 28This is a Perl module to read/write ID3v1, ID3v1.1 and ID3v2.3 tags of
29MP3 files. (Other tags hopefully to follow).
65ca362e 30
28395e19
JR
31%description -l pl.UTF-8
32Moduł Perla służący do odczytywania/zapisywania znaczników MP3 typu
33ID3v1, ID3v1.1 oraz ID3v2.3 (inne znaczniki w przyszłości).
65ca362e 34
65ca362e
AG
35%prep
36%setup -q -n %{pdir}-%{pnam}-%{version}
37
38%build
39%{__perl} Makefile.PL \
40 INSTALLDIRS=vendor
41
42%{__make}
43
44%{?with_tests:%{__make} test}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
0fe2ac85
AF
52install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
53cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
54
65ca362e
AG
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
0fe2ac85 60%doc Changes README.txt
39cf0991
SP
61%attr(755,root,root) %{_bindir}/audio_rename
62%attr(755,root,root) %{_bindir}/mp3info2
63%attr(755,root,root) %{_bindir}/typeset_audio_dir
46566c93 64%{perl_vendorlib}/Encode/transliterate_win1251.pm
0beb753d 65%dir %{perl_vendorlib}/Normalize
66%dir %{perl_vendorlib}/Normalize/Text
46566c93 67%{perl_vendorlib}/Normalize/Text/Music_Fields.pm
39cf0991 68%{perl_vendorlib}/MP3/*.pm
41b35578 69%{perl_vendorlib}/MP3/Tag
39cf0991 70%{_mandir}/man1/*
65ca362e 71%{_mandir}/man3/*
0fe2ac85 72%{_examplesdir}/%{name}-%{version}
This page took 0.074566 seconds and 4 git commands to generate.