[packages/vnc2swf] - updated to 0.5.0 - added link patch (avoid unnecessary -lSM -lICE) - updated dependencies
qboosh
qboosh at pld-linux.org
Sat May 11 08:24:39 CEST 2013
commit 2355d3d69f2fe6e607739f5c1719370c9f53653e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat May 11 08:24:32 2013 +0200
- updated to 0.5.0
- added link patch (avoid unnecessary -lSM -lICE)
- updated dependencies
vnc2swf-link.patch | 11 +++++++++
vnc2swf.spec | 71 +++++++++++++++---------------------------------------
2 files changed, 30 insertions(+), 52 deletions(-)
---
diff --git a/vnc2swf.spec b/vnc2swf.spec
index b4b44e0..01d68e1 100644
--- a/vnc2swf.spec
+++ b/vnc2swf.spec
@@ -1,22 +1,26 @@
-%define edit_version 0.3
Summary: Screen Recorder which saves a VNC session as a .swf file
Summary(pl.UTF-8): Nagrywacz obrazu z ekranu
Name: vnc2swf
-Version: 0.4.2
-Release: 1.3
+Version: 0.5.0
+Release: 1
License: GPL v2
Group: X11/Applications
Source0: http://www.unixuser.org/~euske/vnc2swf/%{name}-%{version}.tar.gz
-# Source0-md5: 57a61191010a15cbbf8d0e3a3ec4ca11
-Source1: http://www.unixuser.org/~euske/vnc2swf/edit_vnc2swf-%{edit_version}.tar.gz
-# Source1-md5: 606ed2294b20f1d2aa198d7d66ce82c3
+# Source0-md5: 2eed9cd91cff76e69004c905660b00ae
+Patch0: %{name}-link.patch
URL: http://www.unixuser.org/~euske/vnc2swf/
BuildRequires: autoconf
-BuildRequires: ming-devel = 0.2a
-BuildRequires: XFree86-devel
+BuildRequires: libstdc++-devel
+BuildRequires: xorg-lib-libX11-devel
+BuildRequires: xorg-lib-libXaw-devel
+BuildRequires: xorg-lib-libXext-devel
+BuildRequires: xorg-lib-libXmu-devel
+BuildRequires: xorg-lib-libXt-devel
BuildRequires: zlib-devel
-Requires: XFree86-tools
-Requires: ming = 0.2a
+# for recordwin
+Requires: awk
+Requires: x11vnc
+Requires: xorg-app-xwininfo
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -32,64 +36,27 @@ Wynikowy plik jest zapisany w formacie filmu Macromedia Flash (.swf).
%description -l ja.UTF-8
Vnc2Swf は VNC を録画して Flash に変換するプログラムです。
-%package -n edit_vnc2swf
-Summary: Editing Tool for Vnc2swf
-Summary(pl.UTF-8): Narzędzie do edycji dla Vnc2swf
-Group: Applications
-Requires: python >= 1:2.3
-Requires: python-pygame >= 1.6
-Version: %{edit_version}
-URL: http://www.unixuser.org/~euske/vnc2swf/edit_vnc2swf.html
-
-%description -n edit_vnc2swf
-Edit_vnc2swf is an editing tool for vnc2swf. This program allows you
-to chop, splice, crop, and attach an MP3 audio to a .swf (ShockWave
-Flash) movie generated by vnc2swf. Also this program does some
-optimization to reduce the movie size a little bit. From version 0.2,
-it supports ScreenVideo format which was newly introduced in Flash
-version 7. Generally with this new format a movie can lose the weight
-without losing the quality, and it requires much less memory to play
-on your browser.
-
-%description -n edit_vnc2swf -l pl.UTF-8
-Edit_vnc2swf to narzędzie do edycji dla vnc2swf. Ten program umożliwia
-cięcie, łączenie, wycinanie i dołączanie dźwięku MP3 do filmów .swf
-(ShockWave Flash) wygenerowanych przez vnc2swf. Ten program wykonuje
-także pewną optymalizację w celu zmniejszenia nieco rozmiaru filmu. Od
-wersji 0.2 obsługuje format ScreenVideo niedawno wprowadzony w wersji
-7 Flasha. Zasadniczo przy użyciu tego nowego formatu film może
-zmniejszyć rozmiar bez utraty jakości i wymaga dużo mniej pamięci do
-odtwarzania w przeglądarce.
-
%prep
-%setup -q -a1
-mv edit_vnc2swf-%{edit_version} edit_vnc2swf
+%setup -q
+%patch0 -p1
%build
%{__autoconf}
%configure
%{__make}
-sed -e s at ./vnc2swf at vnc2swf@ recordwin.sh > recordwin
-
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}
-install vnc2swf recordwin $RPM_BUILD_ROOT%{_bindir}
-install edit_vnc2swf/edit_mp3.py $RPM_BUILD_ROOT%{_bindir}
-install edit_vnc2swf/edit_vnc2swf.py $RPM_BUILD_ROOT%{_bindir}
+install vnc2swf $RPM_BUILD_ROOT%{_bindir}
+install recordwin.sh $RPM_BUILD_ROOT%{_bindir}/recordwin
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc docs/vnc2swf.html TODO sample.html
+%doc README docs/{recordwin,vnc2swf}.html
%attr(755,root,root) %{_bindir}/vnc2swf
%attr(755,root,root) %{_bindir}/recordwin
-
-%files -n edit_vnc2swf
-%defattr(644,root,root,755)
-%doc edit_vnc2swf/README.html
-%attr(755,root,root) %{_bindir}/edit_*
diff --git a/vnc2swf-link.patch b/vnc2swf-link.patch
new file mode 100644
index 0000000..2bf1ac0
--- /dev/null
+++ b/vnc2swf-link.patch
@@ -0,0 +1,11 @@
+--- vnc2swf-0.5.0/Makefile.in.orig 2005-10-29 07:22:05.000000000 +0200
++++ vnc2swf-0.5.0/Makefile.in 2013-05-11 07:58:55.173400289 +0200
+@@ -45,7 +45,7 @@
+
+ DEP_LIBS = rfb/librfb.a rdr/librdr.a
+
+-EXTRA_LIBS = @X_PRE_LIBS@ @X_LIBS@ -lXmu -lXaw -lXt -lX11 -lXext @X_EXTRA_LIBS@
++EXTRA_LIBS = @X_LIBS@ -lXmu -lXaw -lXt -lX11 -lXext @X_EXTRA_LIBS@
+
+
+ DIR_CPPFLAGS = -I$(top_srcdir) @SOCKLEN_T_DEFINE@ @X_CFLAGS@ # X_CFLAGS are really CPPFLAGS
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vnc2swf.git/commitdiff/2355d3d69f2fe6e607739f5c1719370c9f53653e
More information about the pld-cvs-commit
mailing list