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