]> git.pld-linux.org Git - packages/avidemux.git/blob - avidemux.spec
- ppc builder errors pasted to TODO
[packages/avidemux.git] / avidemux.spec
1 # TODO
2 # - buold errors on ppc:
3 #postprocess_template.c: In function `vertX1Filter_altivec_template':
4 #postprocess_template.c:516: error: can't convert between vector values of different size
5 #make[3]: *** [postprocess.o] Error 1
6 #
7 Summary:        A small audio/video editing software for Linux
8 Summary(pl):    Ma³y edytor audio/wideo dla Linuksa
9 Name:           avidemux
10 Version:        2.0.42
11 Release:        1
12 License:        GPL v2
13 Group:          X11/Applications/Multimedia
14 Source0:        http://download.berlios.de/avidemux/%{name}-%{version}.tar.gz
15 # Source0-md5:  d30f1bb981767bca793d78067bcfe084
16 Source1:        %{name}.desktop
17 Source2:        %{name}.png
18 Patch0:         %{name}-autoconf.patch
19 URL:            http://fixounet.free.fr/avidemux/
20 BuildRequires:  SDL-devel
21 BuildRequires:  a52dec-libs-devel
22 BuildRequires:  alsa-lib-devel >= 1.0
23 BuildRequires:  artsc-devel
24 BuildRequires:  autoconf
25 BuildRequires:  automake
26 BuildRequires:  esound-devel
27 BuildRequires:  faad2-devel
28 BuildRequires:  ffmpeg-devel
29 BuildRequires:  freetype-devel >= 2.0.0
30 BuildRequires:  gettext-devel
31 BuildRequires:  gtk+2-devel >= 1:2.0.0
32 BuildRequires:  lame-libs-devel
33 BuildRequires:  libmad-devel
34 BuildRequires:  libmpeg3-devel
35 BuildRequires:  libstdc++-devel
36 BuildRequires:  libvorbis-devel
37 BuildRequires:  libxml2-devel
38 BuildRequires:  pkgconfig
39 BuildRequires:  sed >= 4.0
40 BuildRequires:  xvid-devel >= 1:1.0
41 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43 %description
44 A small audio/video editing software for Linux.
45
46 %description -l pl
47 Ma³y edytor audio/wideo dla Linuksa.
48
49 %prep
50 %setup -q
51 %patch0 -p1
52
53 %{__sed} -i 's/charset=Unicode/charset=UTF-8/' po/ru.po
54 %{__sed} -i 's/klingon//' po/LINGUAS
55
56 %build
57 cp /usr/share/automake/config.sub admin
58 %{__gettextize}
59 %{__aclocal} -I m4
60 %{__autoheader}
61 %{__automake}
62 %{__autoconf}
63 %configure \
64 %ifarch ppc
65         --enable-altivec \
66 %endif
67         --disable-static
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
78 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
79
80 %find_lang %{name}
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %doc AUTHORS History
88 %attr(755,root,root) %{_bindir}/*
89 %{_desktopdir}/*.desktop
90 %{_pixmapsdir}/*.png
This page took 0.034882 seconds and 4 git commands to generate.