]> git.pld-linux.org Git - packages/avidemux.git/blob - avidemux.spec
- updated to 2.0.28
[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.28
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Multimedia
8 Source0:        http://download.berlios.de/avidemux/%{name}-%{version}.tar.gz
9 # Source0-md5:  a6c3dfb1452820ae9b75d6ee822f7b65
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
16 BuildRequires:  artsc-devel
17 BuildRequires:  automake
18 BuildRequires:  esound-devel
19 BuildRequires:  faad2-devel
20 BuildRequires:  ffmpeg-devel
21 BuildRequires:  freetype-devel >= 2.0.0
22 BuildRequires:  gettext-devel
23 BuildRequires:  gtk+2-devel >= 2.0.0
24 BuildRequires:  lame-libs-devel
25 BuildRequires:  libmad-devel
26 BuildRequires:  libmpeg3-devel
27 BuildRequires:  libstdc++-devel
28 BuildRequires:  libvorbis-devel
29 BuildRequires:  libxml2-devel
30 BuildRequires:  pkgconfig
31 BuildRequires:  xvid-devel >= 1:1.0
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 A small audio/video editing software for Linux.
36
37 %description -l pl
38 Ma³y edytor audio/wideo dla Linuksa.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43
44 # hack to not rebuild ac/am (buggy)
45 %{__perl} -pi -e 's/(subdirs:)$/$1 README/' Makefile.in
46 %{__perl} -pi -e 's/(configure\.in:).*$/$1 README/' Makefile.in
47
48 %{__perl} -pi -e 's/-g|-O2//g' adm_lavcodec/Makefile
49 %{__perl} -pi -e 's/charset=Unicode/charset=UTF-8/' po/ru.po
50
51 %build
52 cp /usr/share/automake/config.sub admin
53 %configure
54 %{__make} \
55         OPTFLAGS="%{rpmcflags}"
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{_desktopdir}
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
65
66 %find_lang %{name}
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files -f %{name}.lang
72 %defattr(644,root,root,755)
73 %doc README AUTHORS TODO
74 %attr(755,root,root) %{_bindir}/*
75 %{_desktopdir}/*.desktop
This page took 0.097431 seconds and 4 git commands to generate.