]> git.pld-linux.org Git - packages/avidemux.git/blob - avidemux.spec
- autoconf.patch comes back
[packages/avidemux.git] / avidemux.spec
1 Summary:        A small audio/video editing software for Linux
2 Summary(pl.UTF-8):      Mały edytor audio/wideo dla Linuksa
3 Name:           avidemux
4 Version:        2.4
5 Release:        0.1
6 License:        GPL v2
7 Group:          X11/Applications/Multimedia
8 Source0:        http://download2.berlios.de/avidemux/%{name}_%{version}.tar.gz
9 # Source0-md5:  2a752b9f6bab4123566894a6a21b353b
10 Source1:        %{name}.desktop
11 Patch0:         %{name}-autoconf.patch
12 URL:            http://fixounet.free.fr/avidemux/
13 BuildRequires:  SDL-devel
14 BuildRequires:  a52dec-libs-devel
15 BuildRequires:  alsa-lib-devel >= 1.0
16 BuildRequires:  artsc-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  esound-devel
20 BuildRequires:  faad2-devel
21 BuildRequires:  ffmpeg-devel
22 BuildRequires:  freetype-devel >= 2.0.0
23 BuildRequires:  gettext-devel
24 BuildRequires:  gtk+2-devel >= 1:2.6.0
25 BuildRequires:  js-devel(threads)
26 BuildRequires:  lame-libs-devel
27 BuildRequires:  libdts-devel
28 BuildRequires:  libmad-devel
29 BuildRequires:  libmpeg3-devel
30 BuildRequires:  libstdc++-devel
31 BuildRequires:  libvorbis-devel
32 BuildRequires:  libxml2-devel
33 BuildRequires:  pkgconfig
34 BuildRequires:  sed >= 4.0
35 BuildRequires:  xorg-lib-libXv-devel
36 BuildRequires:  xvid-devel >= 1:1.0
37 Requires:       js(threads)
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %description
41 A small audio/video editing software for Linux.
42
43 %description -l pl.UTF-8
44 Mały edytor audio/wideo dla Linuksa.
45
46 %prep
47 %setup -q -n %{name}_%{version}
48 %patch0 -p1
49
50 %{__sed} -i 's/charset=Unicode/charset=UTF-8/' po/ru.po
51 %{__sed} -i 's/klingon/de\npt_BR/' po/LINGUAS
52
53 %build
54 export kde_htmldir=%{_kdedocdir}
55 export kde_libs_htmldir=%{_kdedocdir}
56 %{__make} -f admin/Makefile.common cvs
57 %configure \
58 %ifarch ppc
59         --enable-altivec \
60 %endif
61         --with-jsapi-include=%{_includedir}/js \
62         --disable-static
63
64 %{__make} -j1
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
74 install avidemux_icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
75
76 %find_lang %{name}
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files -f %{name}.lang
82 %defattr(644,root,root,755)
83 %doc AUTHORS History
84 %attr(755,root,root) %{_bindir}/*
85 %{_desktopdir}/*.desktop
86 %{_pixmapsdir}/*.png
This page took 0.210984 seconds and 4 git commands to generate.