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