Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
377656829c |
3 changed files with 30 additions and 10 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,4 +1,6 @@
|
||||||
|
clog
|
||||||
getid3-2.0.0b5.zip
|
getid3-2.0.0b5.zip
|
||||||
/getid3-1.9.3-20111213.zip
|
/getid3-1.9.3-20111213.zip
|
||||||
/getID3-1.9.7.zip
|
/getID3-1.9.7.zip
|
||||||
/getID3-1.9.8-20140511.zip
|
/getID3-1.9.8-20140511.zip
|
||||||
|
/getID3-1.9.12.zip
|
||||||
|
|
|
||||||
|
|
@ -1,26 +1,34 @@
|
||||||
%global date 20140511
|
# Fedora spec file for php-getid3
|
||||||
|
#
|
||||||
|
# License: MIT
|
||||||
|
# http://opensource.org/licenses/MIT
|
||||||
|
#
|
||||||
|
# Please preserve changelog entries
|
||||||
|
#
|
||||||
Name: php-getid3
|
Name: php-getid3
|
||||||
Version: 1.9.8
|
Version: 1.9.12
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: LGPLv3+
|
License: LGPLv3+
|
||||||
Summary: The PHP media file parser
|
Summary: The PHP media file parser
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://getid3.sourceforge.net/
|
URL: http://getid3.sourceforge.net/
|
||||||
Source0: http://downloads.sourceforge.net/getid3/getID3-%{version}-%{date}.zip
|
Source0: http://downloads.sourceforge.net/getid3/getID3-%{version}.zip
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRequires: %{_bindir}/phpab
|
||||||
|
|
||||||
# from composer.json
|
# from composer.json
|
||||||
# "php": ">=5.3.0"
|
# "php": ">=5.3.0"
|
||||||
Requires: php(language) >= 5.3.0
|
Requires: php(language) >= 5.3.0
|
||||||
# from phpcompatinfo for version 1.9.8
|
# from phpcompatinfo for version 1.9.12
|
||||||
|
Requires: php-simplexml
|
||||||
Requires: php-ctype
|
Requires: php-ctype
|
||||||
Requires: php-date
|
Requires: php-date
|
||||||
Requires: php-exif
|
Requires: php-exif
|
||||||
Requires: php-gd
|
Requires: php-gd
|
||||||
Requires: php-iconv
|
Requires: php-iconv
|
||||||
|
Requires: php-libxml
|
||||||
Requires: php-pcre
|
Requires: php-pcre
|
||||||
Requires: php-xml
|
Requires: php-xml
|
||||||
# Optional: dba, mysql, sqlite3, rar
|
# Optional: dba, mysql, sqlite3, rar
|
||||||
|
|
@ -34,9 +42,12 @@ getID3() is a PHP script that extracts useful information
|
||||||
other multimedia file formats (Ogg, WMA, WMV, ASF, WAV, AVI,
|
other multimedia file formats (Ogg, WMA, WMV, ASF, WAV, AVI,
|
||||||
AAC, VQF, FLAC, MusePack, Real, QuickTime, Monkey's Audio, MIDI and more).
|
AAC, VQF, FLAC, MusePack, Real, QuickTime, Monkey's Audio, MIDI and more).
|
||||||
|
|
||||||
|
Autoloader: %{_datadir}/php/getid3/autoload.php
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c
|
%setup -q -n getID3-%{version}
|
||||||
|
|
||||||
for i in ./*.txt licenses/*.txt demos/*.php; do
|
for i in ./*.txt licenses/*.txt demos/*.php; do
|
||||||
iconv -f iso-8859-1 -t utf-8 < "$i" > "${i}_"
|
iconv -f iso-8859-1 -t utf-8 < "$i" > "${i}_"
|
||||||
touch -r "$i" "${i}_"
|
touch -r "$i" "${i}_"
|
||||||
|
|
@ -47,6 +58,9 @@ sed -i 's/\r//' changelog.txt
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# From composer.json, "autoload": {
|
||||||
|
# "classmap": ["getid3/getid3.php"]
|
||||||
|
%{_bindir}/phpab --output getid3/autoload.php getid3/getid3.php
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
@ -57,12 +71,16 @@ cp -a getid3 %{buildroot}%{_datadir}/php/
|
||||||
%files
|
%files
|
||||||
%doc changelog.txt dependencies.txt readme.txt structure.txt demos
|
%doc changelog.txt dependencies.txt readme.txt structure.txt demos
|
||||||
%doc composer.json
|
%doc composer.json
|
||||||
%{?_licensedir:%license licenses/*}
|
%{?_licensedir:%license licenses license.txt}
|
||||||
%{!?_licensedir:%doc licenses}
|
%{!?_licensedir:%doc licenses license.txt}
|
||||||
%{_datadir}/php/getid3
|
%{_datadir}/php/getid3
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 21 2016 Remi Collet <remi@fedoraproject.org> - 1:1.9.12-1
|
||||||
|
- update to 1.9.12
|
||||||
|
- add simple classmap autoloader #1319676
|
||||||
|
|
||||||
* Thu Aug 21 2014 Remi Collet <remi@fedoraproject.org> - 1:1.9.8-2
|
* Thu Aug 21 2014 Remi Collet <remi@fedoraproject.org> - 1:1.9.8-2
|
||||||
- fix minimal PHP version
|
- fix minimal PHP version
|
||||||
- add explicit dependencies for all php extensions
|
- add explicit dependencies for all php extensions
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
64712d3562e60fae6be887c4aab85a27 getID3-1.9.8-20140511.zip
|
1f770e6016db07daf41e68ec4d2d62f3 getID3-1.9.12.zip
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue