]> git.pld-linux.org Git - packages/getid3.git/commitdiff
- new
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 6 Jan 2006 18:59:43 +0000 (18:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    getid3.spec -> 1.1

getid3.spec [new file with mode: 0644]

diff --git a/getid3.spec b/getid3.spec
new file mode 100644 (file)
index 0000000..db3faa6
--- /dev/null
@@ -0,0 +1,36 @@
+Summary:       getID3() - The PHP media file parser
+Name:          getid3
+Version:       1.7.5
+Release:       0.1
+License:       GPL
+Group:         Applications
+Source0:       http://dl.sourceforge.net/getid3/%{name}-%{version}.zip
+# Source0-md5: defd162488ca015c2392e10d9d1fef2a
+URL:           http://getid3.sourceforge.net/
+Requires:      php-common >= 3:4.1.0
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _appdir %{_datadir}/php/%{name}
+
+%description
+getID3() is a PHP4 script that extracts useful information from MP3s &
+other multimedia file formats.
+
+%prep
+%setup -qc
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_appdir},%{_examplesdir}/%{name}-%{version}}
+cp -a getid3/*.php $RPM_BUILD_ROOT%{_appdir}
+cp -a demos/demo.*.php $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc changelog.txt dependencies.txt readme.txt structure.txt
+%{_appdir}
+%{_examplesdir}/*
This page took 0.062765 seconds and 4 git commands to generate.