]>
Commit | Line | Data |
---|---|---|
b568acf8 | 1 | Summary: A small audio/video editing software for Linux |
8c3afb9b | 2 | Summary(pl.UTF-8): Mały edytor audio/wideo dla Linuksa |
b568acf8 | 3 | Name: avidemux |
098688c4 SS |
4 | Version: 2.4 |
5 | Release: 0.1 | |
a450aa01 | 6 | License: GPL v2 |
b568acf8 | 7 | Group: X11/Applications/Multimedia |
ce3e61c7 | 8 | Source0: http://download2.berlios.de/avidemux/%{name}_%{version}.tar.gz |
098688c4 | 9 | # Source0-md5: 2a752b9f6bab4123566894a6a21b353b |
17c20657 | 10 | Source1: %{name}.desktop |
3caabd30 | 11 | Patch0: %{name}-autoconf.patch |
ce3e61c7 SS |
12 | Patch1: %{name}-dts_internal.patch |
13 | Patch2: %{name}-compile.patch | |
14 | Patch3: %{name}-as_needed.patch | |
a321f570 | 15 | URL: http://fixounet.free.fr/avidemux/ |
17c20657 | 16 | BuildRequires: SDL-devel |
b568acf8 | 17 | BuildRequires: a52dec-libs-devel |
8087c3e9 | 18 | BuildRequires: alsa-lib-devel >= 1.0 |
6401e6bf | 19 | BuildRequires: artsc-devel |
19247f28 | 20 | BuildRequires: autoconf |
2e9edd80 | 21 | BuildRequires: automake |
6401e6bf | 22 | BuildRequires: esound-devel |
24e6fda7 | 23 | BuildRequires: faad2-devel |
530d3121 | 24 | BuildRequires: ffmpeg-devel |
6401e6bf | 25 | BuildRequires: freetype-devel >= 2.0.0 |
7a4998bb | 26 | BuildRequires: gettext-devel |
3b4a6c4c | 27 | BuildRequires: gtk+2-devel >= 1:2.6.0 |
ce3e61c7 | 28 | BuildRequires: js-devel(threads) |
b568acf8 | 29 | BuildRequires: lame-libs-devel |
ce3e61c7 | 30 | BuildRequires: libdts-devel |
6401e6bf | 31 | BuildRequires: libmad-devel |
b568acf8 | 32 | BuildRequires: libmpeg3-devel |
9fa34de7 | 33 | BuildRequires: libstdc++-devel |
b568acf8 | 34 | BuildRequires: libvorbis-devel |
6401e6bf JB |
35 | BuildRequires: libxml2-devel |
36 | BuildRequires: pkgconfig | |
4a344085 | 37 | BuildRequires: sed >= 4.0 |
ce3e61c7 | 38 | BuildRequires: xorg-lib-libXv-devel |
7a4998bb | 39 | BuildRequires: xvid-devel >= 1:1.0 |
ce3e61c7 | 40 | Requires: js(threads) |
b568acf8 | 41 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
42 | ||
b568acf8 | 43 | %description |
20033fc5 | 44 | A small audio/video editing software for Linux. |
b568acf8 | 45 | |
4bda10db JR |
46 | %description -l pl.UTF-8 |
47 | Mały edytor audio/wideo dla Linuksa. | |
b568acf8 | 48 | |
49 | %prep | |
ce3e61c7 | 50 | %setup -q -n %{name}_%{version} |
3caabd30 | 51 | %patch0 -p1 |
ce3e61c7 SS |
52 | %patch1 -p0 |
53 | %patch2 -p1 | |
54 | %patch3 -p1 | |
b568acf8 | 55 | |
4a344085 | 56 | %{__sed} -i 's/charset=Unicode/charset=UTF-8/' po/ru.po |
48d5041e | 57 | %{__sed} -i 's/klingon/de\npt_BR/' po/LINGUAS |
7a4998bb | 58 | |
b568acf8 | 59 | %build |
b7e84223 AM |
60 | export kde_htmldir=%{_kdedocdir} |
61 | export kde_libs_htmldir=%{_kdedocdir} | |
62 | %{__make} -f admin/Makefile.common cvs | |
4a344085 KK |
63 | %configure \ |
64 | %ifarch ppc | |
65 | --enable-altivec \ | |
66 | %endif | |
48d5041e | 67 | --with-jsapi-include=%{_includedir}/js \ |
4a344085 | 68 | --disable-static |
ce3e61c7 | 69 | |
ce0dc98f | 70 | %{__make} -j1 |
b568acf8 | 71 | |
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
4a344085 | 74 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
b568acf8 | 75 | |
4c59f58b PG |
76 | %{__make} install \ |
77 | DESTDIR=$RPM_BUILD_ROOT | |
b568acf8 | 78 | |
17c20657 | 79 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
48d5041e | 80 | install avidemux_icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png |
17c20657 | 81 | |
7a4998bb | 82 | %find_lang %{name} |
460f0934 | 83 | |
b568acf8 | 84 | %clean |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
7a4998bb | 87 | %files -f %{name}.lang |
b568acf8 | 88 | %defattr(644,root,root,755) |
19247f28 | 89 | %doc AUTHORS History |
b568acf8 | 90 | %attr(755,root,root) %{_bindir}/* |
17c20657 | 91 | %{_desktopdir}/*.desktop |
4a344085 | 92 | %{_pixmapsdir}/*.png |