]> git.pld-linux.org Git - packages/getid3.git/blob - getid3.spec
ebc90315bab165b445fb8e952fe5fb0cba4cf235
[packages/getid3.git] / getid3.spec
1 Summary:        getID3() - The PHP media file parser
2 Summary(pl.UTF-8):      getID3() - parser plików multimedialnych dla PHP
3 Name:           getid3
4 Version:        1.7.5
5 Release:        0.1
6 License:        GPL
7 Group:          Applications
8 Source0:        http://dl.sourceforge.net/getid3/%{name}-%{version}.zip
9 # Source0-md5:  defd162488ca015c2392e10d9d1fef2a
10 URL:            http://getid3.sourceforge.net/
11 BuildRequires:  unzip
12 Requires:       php-common >= 3:4.1.0
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _appdir %{_datadir}/php/%{name}
17
18 %description
19 getID3() is a PHP4 script that extracts useful information from MP3s &
20 other multimedia file formats.
21
22 %description -l pl.UTF-8
23 getID3() to skrypt PHP4 wyciągający przydatne informacje z MP3 i
24 innych formatów plików multimedialnych.
25
26 %prep
27 %setup -qc
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT{%{_appdir},%{_examplesdir}/%{name}-%{version}}
32 cp -a getid3/*.php $RPM_BUILD_ROOT%{_appdir}
33 cp -a demos/demo.*.php $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %doc changelog.txt dependencies.txt readme.txt structure.txt
41 %{_appdir}
42 %{_examplesdir}/*
This page took 0.046268 seconds and 2 git commands to generate.