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