summaryrefslogtreecommitdiffstats
path: root/php-getid3.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-09-08 16:54:04 +0200
committerRemi Collet <fedora@famillecollet.com>2013-09-08 16:54:04 +0200
commit57650ac8b11346fa2c8c0537ebbbb382e3f98ac0 (patch)
treeaa033966db86d428c6de4ee6e9d4cafc9e522ff7 /php-getid3.spec
parenteb86116cb46a4888546492ed5b453a399a1cd40e (diff)
php-getid3: 1.9.7 (backport)
Diffstat (limited to 'php-getid3.spec')
-rw-r--r--php-getid3.spec21
1 files changed, 13 insertions, 8 deletions
diff --git a/php-getid3.spec b/php-getid3.spec
index bbc08ee..fd3d452 100644
--- a/php-getid3.spec
+++ b/php-getid3.spec
@@ -1,13 +1,12 @@
Name: php-getid3
-Version: 1.9.3
+Version: 1.9.7
Release: 1%{?dist}
Epoch: 1
-License: GPLv2
+License: LGPLv3+
Summary: The PHP media file parser
Group: Development/Libraries
URL: http://getid3.sourceforge.net/
-Source0: http://downloads.sourceforge.net/getid3/getid3-%{version}-20111213.zip
-Source1: gpl-2.0.txt
+Source0: http://downloads.sourceforge.net/getid3/getID3-%{version}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: php-common >= 5.0.0
Requires: php-gd
@@ -20,15 +19,14 @@ other multimedia file formats (Ogg, WMA, WMV, ASF, WAV, AVI,
AAC, VQF, FLAC, MusePack, Real, QuickTime, Monkey's Audio, MIDI and more).
%prep
-%setup -q -c
-for i in ./*.txt demos/*.php; do
+%setup -q -n getID3-%{version}
+for i in ./*.txt licenses/*.txt demos/*.php; do
iconv -f iso-8859-1 -t utf-8 < "$i" > "${i}_"
touch -r "$i" "${i}_"
mv "${i}_" "$i"
done
sed -i 's/\r//' demos/index.php
sed -i 's/\r//' changelog.txt
-cp -a %{SOURCE1} .
%build
@@ -43,10 +41,17 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
-%doc changelog.txt dependencies.txt gpl-2.0.txt license.commercial.txt readme.txt structure.txt demos
+%doc changelog.txt dependencies.txt licenses readme.txt structure.txt demos
%{_datadir}/php/getid3
%changelog
+* Sun Sep 8 2013 Remi Collet <RPMS@famillecollet.com> - 1:1.9.7-1
+- backport 1.9.7 for remi repo
+
+* Sun Sep 08 2013 Roma <roma@lcg.ufrj.br> - 1:1.9.7-1
+- Updated to 1.9.7
+- Changed license to LGPLv3+
+
* Sun Nov 25 2012 Remi Collet <RPMS@famillecollet.com> - 1:1.9.3-1
- backport 1.9.3 for remi repo