]> git.pld-linux.org Git - SPECS.git/blob - getid3.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / getid3.spec
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
4 Name:           getid3
5 Version:        1.9.3
6 Release:        1
7 License:        GPL
8 Group:          Applications
9 Source0:        http://downloads.sourceforge.net/getid3/%{name}-%{version}-%{release_date}.zip
10 # Source0-md5:  00990e23f4035c29974d025cc5f3eeb7
11 URL:            http://getid3.sourceforge.net/
12 BuildRequires:  unzip
13 Requires:       php(core) >= 5.3.0
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _appdir %{_datadir}/php/%{name}
18
19 %description
20 getID3() is a PHP4 script that extracts useful information from MP3s &
21 other multimedia file formats.
22
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.
26
27 %prep
28 %setup -qc
29
30 %install
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}
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %doc changelog.txt dependencies.txt readme.txt structure.txt license.commercial.txt
42 %{_appdir}
43 %{_examplesdir}/*
This page took 0.06831 seconds and 3 git commands to generate.