]> git.pld-linux.org Git - packages/avidemux.git/blob - avidemux.spec
- 2.1.2
[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.2
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:  727214aacdf729506a13d0e0117f01de
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-newfaad \
62         --with-jsapi-include=%{_includedir}/js \
63         --disable-static
64 %{__make}
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.033235 seconds and 3 git commands to generate.