X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=avidemux.spec;h=16397cf2081dbd9b1b1e7b8f8c9e12cfe1055063;hb=8888d69341bf4516451899b049eaa29c964ef1db;hp=b79feb703629b1da70216ee80095f3d5b0f67f39;hpb=12e536f78751cee86283e31ac5993687108bd362;p=packages%2Favidemux.git diff --git a/avidemux.spec b/avidemux.spec index b79feb7..16397cf 100644 --- a/avidemux.spec +++ b/avidemux.spec @@ -1,14 +1,17 @@ Summary: A small audio/video editing software for Linux Summary(pl): Ma³y edytor audio/wideo dla Linuksa Name: avidemux -Version: 2.1.1 +Version: 2.3.0 Release: 1 License: GPL v2 Group: X11/Applications/Multimedia -Source0: http://download.berlios.de/avidemux/%{name}-%{version}.tar.gz -# Source0-md5: 993dbc37ba8f81d9e6cfd0ee9e95ffd6 +Source0: http://download2.berlios.de/avidemux/%{name}_%{version}.tar.gz +# Source0-md5: 14c58c14fc9757d36e4d72498431da42 Source1: %{name}.desktop Patch0: %{name}-autoconf.patch +Patch1: %{name}-dts_internal.patch +Patch2: %{name}-compile.patch +Patch3: %{name}-as_needed.patch URL: http://fixounet.free.fr/avidemux/ BuildRequires: SDL-devel BuildRequires: a52dec-libs-devel @@ -22,8 +25,9 @@ BuildRequires: ffmpeg-devel BuildRequires: freetype-devel >= 2.0.0 BuildRequires: gettext-devel BuildRequires: gtk+2-devel >= 1:2.6.0 -BuildRequires: js-devel +BuildRequires: js-devel(threads) BuildRequires: lame-libs-devel +BuildRequires: libdts-devel BuildRequires: libmad-devel BuildRequires: libmpeg3-devel BuildRequires: libstdc++-devel @@ -31,7 +35,9 @@ BuildRequires: libvorbis-devel BuildRequires: libxml2-devel BuildRequires: pkgconfig BuildRequires: sed >= 4.0 +BuildRequires: xorg-lib-libXv-devel BuildRequires: xvid-devel >= 1:1.0 +Requires: js(threads) BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -41,25 +47,26 @@ A small audio/video editing software for Linux. Ma³y edytor audio/wideo dla Linuksa. %prep -%setup -q +%setup -q -n %{name}_%{version} %patch0 -p1 +%patch1 -p0 +%patch2 -p1 +%patch3 -p1 %{__sed} -i 's/charset=Unicode/charset=UTF-8/' po/ru.po %{__sed} -i 's/klingon/de\npt_BR/' po/LINGUAS %build -cp /usr/share/automake/config.sub admin -%{__gettextize} -%{__aclocal} -I m4 -%{__autoheader} -%{__automake} -%{__autoconf} +export kde_htmldir=%{_kdedocdir} +export kde_libs_htmldir=%{_kdedocdir} +%{__make} -f admin/Makefile.common cvs %configure \ %ifarch ppc --enable-altivec \ %endif --with-jsapi-include=%{_includedir}/js \ --disable-static + %{__make} %install