diff options
| author | Remi Collet <fedora@famillecollet.com> | 2017-03-28 07:31:41 +0200 | 
|---|---|---|
| committer | Remi Collet <fedora@famillecollet.com> | 2017-03-28 07:31:41 +0200 | 
| commit | 853befb9038c1e10377353aff6bcdb63ed11a586 (patch) | |
| tree | 7946a47326ecbb686d00f0a6ea0892501e1068e0 | |
| parent | 7c00c4eb02730fab44c1ee6c5f71061905e22780 (diff) | |
v1.9.14
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | composer.json | 15 | ||||
| -rw-r--r-- | php-getid3.spec | 16 | 
3 files changed, 28 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d820c84 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.tar.gz +*.src.rpm diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..858b905 --- /dev/null +++ b/composer.json @@ -0,0 +1,15 @@ +{ +    "name": "james-heinrich/getid3", +    "description": "PHP script that extracts useful information from popular multimedia file formats", +    "homepage": "http://www.getid3.org/", +    "keywords": ["php","tags","codecs"], +    "type": "library", +    "license": "GPL", +    "require": +    { +        "php": ">=5.3.0" +    }, +    "autoload": { +        "classmap": ["getid3/"] +    } +} diff --git a/php-getid3.spec b/php-getid3.spec index 1b3947d..fc9d50e 100644 --- a/php-getid3.spec +++ b/php-getid3.spec @@ -7,7 +7,7 @@  #  # Please preserve changelog entries  # -%global gh_commit    b9a8564e56bdcc294dc7ade32a7f67885bed3778 +%global gh_commit    30bd11473b0eef6f1b47866ef7ab0a557917fc21  %global gh_short     %(c=%{gh_commit}; echo ${c:0:7})  %global gh_owner     JamesHeinrich  %global gh_project   getID3 @@ -15,7 +15,7 @@  %global pk_project   getid3  Name:      php-%{pk_project} -Version:   1.9.13 +Version:   1.9.14  Release:   1%{?dist}  Epoch:     1  License:   LGPLv3+ @@ -64,8 +64,8 @@ Autoloader: %{_datadir}/php/getid3/autoload.php  %build  # From composer.json, "autoload": { -#        "classmap": ["getid3/getid3.php"] -%{_bindir}/phpab --template fedora --output getid3/autoload.php getid3/getid3.php +#        "classmap": ["getid3/"] +%{_bindir}/phpab --template fedora --output getid3/autoload.php getid3  %install @@ -79,7 +79,9 @@ cp -a getid3 %{buildroot}%{_datadir}/php/  php -r '  require "%{buildroot}%{_datadir}/php/getid3/autoload.php";  $ok = class_exists("getID3"); -echo "Autoload " . ($ok ? "Ok\n" : "fails\n"); +echo "Autoload: " . ($ok ? "Ok\n" : "fails\n"); +echo "Version: " . getID3::VERSION . "\n"; +$ok = ($ok && strpos(getID3::VERSION, "%{version}") !== false);  exit ($ok ? 0 : 1);  ' @@ -98,6 +100,10 @@ rm -rf %{buildroot}  %changelog +* Tue Mar 28 2017 Remi Collet <remi@remirepo.net> - 1:1.9.14-1 +- Update to 1.9.14 +- handle all classes in autoloader +  * Thu Dec 15 2016 Remi Collet <remi@fedoraproject.org> - 1:1.9.13-1  - update to 1.9.13  - use new URL http://www.getid3.org/  | 
