packages: flvtool2/flvtool2.spec, flvtool2/flvtool2-ruby19.patch (NEW) - up...

caleb caleb at pld-linux.org
Sat May 1 13:14:53 CEST 2010


Author: caleb                        Date: Sat May  1 11:14:53 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.0.6 final
- patched setup script to run on ruby-1.9

---- Files affected:
packages/flvtool2:
   flvtool2.spec (1.10 -> 1.11) , flvtool2-ruby19.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/flvtool2/flvtool2.spec
diff -u packages/flvtool2/flvtool2.spec:1.10 packages/flvtool2/flvtool2.spec:1.11
--- packages/flvtool2/flvtool2.spec:1.10	Sat May  1 12:13:46 2010
+++ packages/flvtool2/flvtool2.spec	Sat May  1 13:14:48 2010
@@ -1,15 +1,15 @@
 # $Revision$, $Date$
-%define		_rc	rc6
 Summary:	Manipulation tool for Macromedia Flash Video files
 Summary(pl.UTF-8):	Narzędzie do obróbki plików Macromedia Flash Video
 Name:		flvtool2
-Version:	1.0.5
+Version:	1.0.6
 Release:	1
 License:	BSD
 Group:		Applications/Multimedia
-Source0:	http://rubyforge.org/frs/download.php/9225/%{name}_%{version}_%{_rc}.tgz
-# Source0-md5:	6cf448db50936251992b4812b6381f69
+Source0:	http://rubyforge.org/frs/download.php/17497/%{name}-%{version}.tgz
+# Source0-md5:	08e5f6f10c06903447d97d7ba10cec67
 URL:		http://rubyforge.org/projects/flvtool2/
+Patch0:		%{name}-ruby19.patch
 BuildRequires:	rpmbuild(macros) >= 1.279
 BuildRequires:	ruby
 BuildRequires:	ruby-modules
@@ -31,7 +31,8 @@
 YAML.
 
 %prep
-%setup -q -n %{name}_%{version}_%{_rc}
+%setup -q -n %{name}-%{version}
+%patch0 -p1
 
 %build
 ruby setup.rb config \
@@ -78,6 +79,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2010/05/01 11:14:48  caleb
+- up to 1.0.6 final
+- patched setup script to run on ruby-1.9
+
 Revision 1.10  2010/05/01 10:13:46  caleb
 - BR: ruby-modules
 

================================================================
Index: packages/flvtool2/flvtool2-ruby19.patch
diff -u /dev/null packages/flvtool2/flvtool2-ruby19.patch:1.1
--- /dev/null	Sat May  1 13:14:53 2010
+++ packages/flvtool2/flvtool2-ruby19.patch	Sat May  1 13:14:48 2010
@@ -0,0 +1,10 @@
+--- flvtool2-1.0.6/setup.rb~	2006-10-10 23:46:57.000000000 +0300
++++ flvtool2-1.0.6/setup.rb	2010-05-01 14:11:48.846696545 +0300
+@@ -1311,6 +1311,7 @@
+       File.open(path) {|f|
+         line = f.gets
+       }
++      line.force_encoding('ASCII-8BIT')
+       return nil unless /\A#!/ =~ line
+       parse(line)
+     end
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/flvtool2/flvtool2.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list