Author: twittner Date: Sat Nov 10 22:16:14 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - initial, by pldcpan
---- Files affected: SPECS: perl-MP4-Info.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-MP4-Info.spec diff -u /dev/null SPECS/perl-MP4-Info.spec:1.1 --- /dev/null Sat Nov 10 23:16:14 2007 +++ SPECS/perl-MP4-Info.spec Sat Nov 10 23:16:09 2007 @@ -0,0 +1,76 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir MP4 +%define pnam Info +Summary: MP4::Info - Fetch info from MPEG-4 files (.mp4, .m4a, .m4p, .3gp) +#Summary(pl.UTF-8): +Name: perl-MP4-Info +Version: 1.12 +Release: 0.1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/MP4/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 139d217655185fd342c617193b6be731 +# generic URL, check or change before uncommenting +URL: http://search.cpan.org/dist/MP4-Info/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl-IO-String +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The MP4::Info module can be used to extract tag and meta information from +MPEG-4 audio (AAC) and video files. It is designed as a drop-in replacement +for MP3::Info. + +Note that this module does not allow you to update the information in MPEG-4 +files. + + + +# %description -l pl.UTF-8 +# TODO + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc INSTALL README +%dir %{perl_vendorlib}/MP4 +%{perl_vendorlib}/MP4/*.pm +%{_mandir}/man3/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007/11/10 22:16:09 twittner +- initial, by pldcpan + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
