]> git.pld-linux.org Git - packages/avidemux.git/blob - avidemux.spec
f99147d3f430fdf6f864dc3b891cea67cca5cb1a
[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.1.0_step2
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:  aa79fb945718a622de35b8f481761d5e
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.6.0
32 BuildRequires:  js-devel
33 BuildRequires:  lame-libs-devel
34 BuildRequires:  libmad-devel
35 BuildRequires:  libmpeg3-devel
36 BuildRequires:  libstdc++-devel
37 BuildRequires:  libvorbis-devel
38 BuildRequires:  libxml2-devel
39 BuildRequires:  pkgconfig
40 BuildRequires:  sed >= 4.0
41 BuildRequires:  xvid-devel >= 1:1.0
42 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44 %description
45 A small audio/video editing software for Linux.
46
47 %description -l pl
48 Ma³y edytor audio/wideo dla Linuksa.
49
50 %prep
51 %setup -q -n %{name}_%{version}
52 %patch0 -p1
53
54 %{__sed} -i 's/charset=Unicode/charset=UTF-8/' po/ru.po
55 %{__sed} -i 's/klingon//' po/LINGUAS
56
57 %build
58 cp /usr/share/automake/config.sub admin
59 %{__gettextize}
60 %{__aclocal} -I m4
61 %{__autoheader}
62 %{__automake}
63 %{__autoconf}
64 %configure \
65         --with-jsapi-include=%{_includedir}/js \
66 %ifarch ppc
67         --enable-altivec \
68 %endif
69         --disable-static
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
80 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
81
82 %find_lang %{name}
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %files -f %{name}.lang
88 %defattr(644,root,root,755)
89 %doc AUTHORS History
90 %attr(755,root,root) %{_bindir}/*
91 %{_desktopdir}/*.desktop
92 %{_pixmapsdir}/*.png
This page took 0.08562 seconds and 3 git commands to generate.