4 Summary: Gmencoder - front-end to mencoder
5 Summary(pl.UTF-8): Gmencoder - nakładka na mencoder
10 Group: X11/Applications/Multimedia
11 Source0: http://dl.sourceforge.net/gmencoder/%{name}-%{version}.tgz
12 # Source0-md5: 2b011c02f9a9cf3d94554a02d052c938
13 Patch0: %{name}-mpeg2.patch
14 URL: http://gmencoder.sourceforge.net/
15 BuildRequires: gettext-devel
16 BuildRequires: libgnomeui-devel
17 BuildRequires: pkgconfig
18 BuildRequires: sed >= 4.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Gmencoder is a gnome-2 front-end to mplayer/mencoder. It support much
24 of the output codecs as well as postprocesing, cropping, scale,
25 subtitles ripping, 1, 2 and 3 passes for encoding and a lot of more
28 %description -l pl.UTF-8
29 Gmencoder jest graficzna nakładką na mplayer/mencoder przygotowaną do
30 pracy w środowisku Gnome-2. Wspiera wiele kodeków, skalowanie obrazu,
31 wyciąganie napisów, 1-, 2- a także 3-przebiegową kompresję. Wiele
32 innych pomysłów czeka na implementację.
39 %{__sed} -i 's,PATH_MP=.*,PATH_MP=/usr/bin,' etc/gmencoder_opts
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_sysconfdir}}
49 DESTDIR=$RPM_BUILD_ROOT
51 install man/gmencoder.1 $RPM_BUILD_ROOT%{_mandir}/man1
52 install etc/gmencoder_opts $RPM_BUILD_ROOT%{_sysconfdir}
57 rm -rf $RPM_BUILD_ROOT
59 %files -f %{name}.lang
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog README
62 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
63 %attr(755,root,root) %{_bindir}/*
65 %{_pixmapsdir}/gmencoder