1 %define release_date 20111213
2 Summary: getID3() - The PHP media file parser
3 Summary(pl.UTF-8): getID3() - parser plików multimedialnych dla PHP
9 Source0: http://downloads.sourceforge.net/getid3/%{name}-%{version}-%{release_date}.zip
10 # Source0-md5: 00990e23f4035c29974d025cc5f3eeb7
11 URL: http://getid3.sourceforge.net/
13 Requires: php(core) >= 5.3.0
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _appdir %{_datadir}/php/%{name}
20 getID3() is a PHP4 script that extracts useful information from MP3s &
21 other multimedia file formats.
23 %description -l pl.UTF-8
24 getID3() to skrypt PHP4 wyciągający przydatne informacje z MP3 i
25 innych formatów plików multimedialnych.
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT{%{_appdir},%{_examplesdir}/%{name}-%{version}}
33 cp -a getid3/*.php $RPM_BUILD_ROOT%{_appdir}
34 cp -a demos/demo.*.php $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
37 rm -rf $RPM_BUILD_ROOT
40 %defattr(644,root,root,755)
41 %doc changelog.txt dependencies.txt readme.txt structure.txt license.commercial.txt