]> git.pld-linux.org Git - packages/avidemux.git/blobdiff - avidemux.spec
- BR alsa-lib-devel is back
[packages/avidemux.git] / avidemux.spec
index 26bc5b52928fac1f97234419b858982283c19213..a7c2154bb4bc5cb090b23abd26a056f730a09952 100644 (file)
@@ -1,22 +1,28 @@
 Summary:       A small audio/video editing software for Linux
 Summary(pl):   Ma³y edytor audio/wideo dla Linuksa
 Name:          avidemux
-Version:       2.0.24
+Version:       2.0.40
 Release:       1
-License:       GPL
+License:       GPL v2
 Group:         X11/Applications/Multimedia
-Source0:       http://fixounet.free.fr/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5: c4482219ede0f6e0be8ddc61bf753589
+Source0:       http://download.berlios.de/avidemux/%{name}-%{version}.tar.gz
+# Source0-md5: eed30487a2ae62f927c8a84dbc889e6d
+Source1:       %{name}.desktop
+Source2:       %{name}.png
 Patch0:                %{name}-autoconf.patch
 URL:           http://fixounet.free.fr/avidemux/
+BuildRequires: SDL-devel
 BuildRequires: a52dec-libs-devel
-BuildRequires: alsa-lib-devel
+BuildRequires: alsa-lib-devel >= 1.0
 BuildRequires: artsc-devel
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: esound-devel
+BuildRequires: faad2-devel
 BuildRequires: ffmpeg-devel
 BuildRequires: freetype-devel >= 2.0.0
 BuildRequires: gettext-devel
-BuildRequires: gtk+2-devel >= 2.0.0
+BuildRequires: gtk+2-devel >= 1:2.0.0
 BuildRequires: lame-libs-devel
 BuildRequires: libmad-devel
 BuildRequires: libmpeg3-devel
@@ -24,6 +30,7 @@ BuildRequires:        libstdc++-devel
 BuildRequires: libvorbis-devel
 BuildRequires: libxml2-devel
 BuildRequires: pkgconfig
+BuildRequires: sed >= 4.0
 BuildRequires: xvid-devel >= 1:1.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -37,25 +44,33 @@ Ma
 %setup -q
 %patch0 -p1
 
-# hack to not rebuild ac/am (buggy)
-%{__perl} -pi -e 's/(subdirs:)$/$1 README/' Makefile.in
-%{__perl} -pi -e 's/(configure\.in:).*$/$1 README/' Makefile.in
-
-%{__perl} -pi -e 's/-g|-O2//g' adm_lavcodec/Makefile
-%{__perl} -pi -e 's/charset=Unicode/charset=UTF-8/' po/ru.po
+%{__sed} -i 's/charset=Unicode/charset=UTF-8/' po/ru.po
+%{__sed} -i 's/klingon//' po/LINGUAS
 
 %build
-%configure
-%{__make} \
-       OPTFLAGS="%{rpmcflags}"
+cp /usr/share/automake/config.sub admin
+%{__gettextize}
+%{__aclocal} -I m4
+%{__autoheader}
+%{__automake}
+%{__autoconf}
+%configure \
+%ifarch ppc
+       --enable-altivec \
+%endif
+       --disable-static
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+
 %find_lang %{name}
 
 %clean
@@ -63,5 +78,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc README AUTHORS TODO
+%doc AUTHORS History
 %attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/*.desktop
+%{_pixmapsdir}/*.png
This page took 0.037057 seconds and 4 git commands to generate.