]> git.pld-linux.org Git - packages/avidemux.git/blob - avidemux.spec
- BR alsa-lib-devel is back
[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.0.40
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:  eed30487a2ae62f927c8a84dbc889e6d
10 Source1:        %{name}.desktop
11 Source2:        %{name}.png
12 Patch0:         %{name}-autoconf.patch
13 URL:            http://fixounet.free.fr/avidemux/
14 BuildRequires:  SDL-devel
15 BuildRequires:  a52dec-libs-devel
16 BuildRequires:  alsa-lib-devel >= 1.0
17 BuildRequires:  artsc-devel
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  esound-devel
21 BuildRequires:  faad2-devel
22 BuildRequires:  ffmpeg-devel
23 BuildRequires:  freetype-devel >= 2.0.0
24 BuildRequires:  gettext-devel
25 BuildRequires:  gtk+2-devel >= 1:2.0.0
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//' 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         --disable-static
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
72 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
73
74 %find_lang %{name}
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files -f %{name}.lang
80 %defattr(644,root,root,755)
81 %doc AUTHORS History
82 %attr(755,root,root) %{_bindir}/*
83 %{_desktopdir}/*.desktop
84 %{_pixmapsdir}/*.png
This page took 0.046515 seconds and 4 git commands to generate.