|
xulchris |
8024abc |
Name: perl-MP3-Info
|
|
xulchris |
ef309be |
Version: 1.23
|
|
|
bf3dbbf |
Release: 2%{?dist}
|
|
xulchris |
8024abc |
Summary: Manipulate / fetch info from MP3 audio files
|
|
xulchris |
36f7b35 |
|
|
xulchris |
8024abc |
Group: Development/Libraries
|
|
xulchris |
7c8abe0 |
License: GPL+ or Artistic
|
|
xulchris |
36f7b35 |
URL: http://search.cpan.org/dist/MP3-Info
|
|
xulchris |
8024abc |
Source0: http://www.cpan.org/modules/by-module/MP3/MP3-Info-%{version}.tar.gz
|
|
xulchris |
36f7b35 |
|
|
xulchris |
8024abc |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
xulchris |
8024abc |
BuildArch: noarch
|
|
xulchris |
d812df2 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
xulchris |
c07df6b |
BuildRequires: perl(ExtUtils::MakeMaker) perl(Test::More)
|
|
xulchris |
8024abc |
|
|
xulchris |
36f7b35 |
|
|
xulchris |
8024abc |
%description
|
|
xulchris |
8024abc |
This module is used for getting info out of and into MP3 files.
|
|
xulchris |
8024abc |
|
|
xulchris |
36f7b35 |
|
|
xulchris |
8024abc |
%prep
|
|
xulchris |
36f7b35 |
%setup -qn MP3-Info-%{version}
|
|
xulchris |
36f7b35 |
|
|
xulchris |
8024abc |
|
|
xulchris |
8024abc |
%build
|
|
xulchris |
36f7b35 |
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
xulchris |
36f7b35 |
make %{?_smp_mflags}
|
|
xulchris |
36f7b35 |
|
|
xulchris |
8024abc |
|
|
xulchris |
8024abc |
%install
|
|
xulchris |
36f7b35 |
rm -rf $RPM_BUILD_ROOT
|
|
xulchris |
36f7b35 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
xulchris |
36f7b35 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
xulchris |
36f7b35 |
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
|
xulchris |
36f7b35 |
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
xulchris |
36f7b35 |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
xulchris |
36f7b35 |
|
|
xulchris |
8024abc |
|
|
xulchris |
8024abc |
%check
|
|
xulchris |
36f7b35 |
make test
|
|
xulchris |
36f7b35 |
|
|
xulchris |
8024abc |
|
|
xulchris |
8024abc |
%clean
|
|
xulchris |
36f7b35 |
rm -rf $RPM_BUILD_ROOT
|
|
xulchris |
36f7b35 |
|
|
xulchris |
8024abc |
|
|
xulchris |
8024abc |
%files
|
|
xulchris |
8024abc |
%defattr(-,root,root,-)
|
|
xulchris |
8024abc |
%doc Changes README
|
|
xulchris |
8024abc |
%{perl_vendorlib}/*
|
|
xulchris |
8024abc |
%{_mandir}/man3/*.3*
|
|
xulchris |
8024abc |
|
|
xulchris |
36f7b35 |
|
|
xulchris |
8024abc |
%changelog
|
|
|
bf3dbbf |
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.23-2
|
|
|
bf3dbbf |
Rebuild for new perl
|
|
|
bf3dbbf |
|
|
xulchris |
ef309be |
* Sun Sep 30 2007 Christopher Stone <chris.stone@gmail.com> 1.23-1
|
|
xulchris |
ef309be |
- Upstream sync
|
|
xulchris |
ef309be |
|
|
xulchris |
c07df6b |
* Sat Sep 08 2007 Christopher Stone <chris.stone@gmail.com> 1.22-3
|
|
xulchris |
c07df6b |
- Add BuildRequires perl(Test::More)
|
|
xulchris |
c07df6b |
|
|
xulchris |
8305e80 |
* Sat Sep 08 2007 Christopher Stone <chris.stone@gmail.com> 1.22-2
|
|
xulchris |
8305e80 |
- Add BuildRequires perl(ExtUtils::MakeMaker)
|
|
xulchris |
8305e80 |
|
|
xulchris |
36f7b35 |
* Sat Sep 08 2007 Christopher Stone <chris.stone@gmail.com> 1.22-1
|
|
xulchris |
36f7b35 |
- Upstream sync
|
|
xulchris |
36f7b35 |
- spec file cleanups
|
|
xulchris |
22ec274 |
|
|
xulchris |
492c34d |
* Sun Jan 07 2007 Christopher Stone <chris.stone@gmail.com> 1.21-1
|
|
xulchris |
492c34d |
- Upstream sync
|
|
xulchris |
492c34d |
|
|
xulchris |
732cc0d |
* Wed Aug 30 2006 Christopher Stone <chris.stone@gmail.com> 1.20-3
|
|
xulchris |
732cc0d |
- FC6 Rebuild
|
|
xulchris |
732cc0d |
|
|
xulchris |
d812df2 |
* Mon Jun 26 2006 Christopher Stone <chris.stone@gmail.com> 1.20-2
|
|
xulchris |
d812df2 |
- Remove unneeded BuildRequires
|
|
xulchris |
d812df2 |
|
|
xulchris |
8024abc |
* Fri Jun 23 2006 Christopher Stone <chris.stone@gmail.com> 1.20-1
|
|
xulchris |
8024abc |
- Initial Release.
|