]> git.pld-linux.org Git - packages/avidemux.git/blob - avidemux.spec
- updated to 2.1.1
[packages/avidemux.git] / avidemux.spec
1 Summary:        A small audio/video editing software for Linux
2 Summary(pl):    Ma³y edytor audio/wideo dla Linuksa
3 Name:           avidemux
4 Version:        2.1.1
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications/Multimedia
8 Source0:        http://download.berlios.de/avidemux/%{name}-%{version}.tar.gz
9 # Source0-md5:  993dbc37ba8f81d9e6cfd0ee9e95ffd6
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
26 BuildRequires:  lame-libs-devel
27 BuildRequires:  libmad-devel
28 BuildRequires:  libmpeg3-devel
29 BuildRequires:  libstdc++-devel
30 BuildRequires:  libvorbis-devel
31 BuildRequires:  libxml2-devel
32 BuildRequires:  pkgconfig
33 BuildRequires:  sed >= 4.0
34 BuildRequires:  xvid-devel >= 1:1.0
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 A small audio/video editing software for Linux.
39
40 %description -l pl
41 Ma³y edytor audio/wideo dla Linuksa.
42
43 %prep
44 %setup -q
45 %patch0 -p1
46
47 %{__sed} -i 's/charset=Unicode/charset=UTF-8/' po/ru.po
48 %{__sed} -i 's/klingon/de\npt_BR/' po/LINGUAS
49
50 %build
51 cp /usr/share/automake/config.sub admin
52 %{__gettextize}
53 %{__aclocal} -I m4
54 %{__autoheader}
55 %{__automake}
56 %{__autoconf}
57 %configure \
58 %ifarch ppc
59         --enable-altivec \
60 %endif
61         --with-jsapi-include=%{_includedir}/js \
62         --disable-static
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT
71
72 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
73 install avidemux_icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
74
75 %find_lang %{name}
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files -f %{name}.lang
81 %defattr(644,root,root,755)
82 %doc AUTHORS History
83 %attr(755,root,root) %{_bindir}/*
84 %{_desktopdir}/*.desktop
85 %{_pixmapsdir}/*.png
This page took 0.060471 seconds and 4 git commands to generate.