]> git.pld-linux.org Git - SPECS.git/blob - gmencoder.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / gmencoder.spec
1 # TODO:
2 # - make desktop file
3 #
4 Summary:        Gmencoder - front-end to mencoder
5 Summary(pl.UTF-8):      Gmencoder - nakładka na mencoder
6 Name:           gmencoder
7 Version:        0.1.0
8 Release:        0.2
9 License:        GPL
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
19 Requires:       mplayer
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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
26 options are planned.
27
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ę.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37
38 %build
39 %{__sed} -i 's,PATH_MP=.*,PATH_MP=/usr/bin,' etc/gmencoder_opts
40
41 %configure
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_sysconfdir}}
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 install man/gmencoder.1 $RPM_BUILD_ROOT%{_mandir}/man1
52 install etc/gmencoder_opts $RPM_BUILD_ROOT%{_sysconfdir}
53
54 %find_lang %{name}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
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}/*
64 %{_mandir}/man1/*
65 %{_pixmapsdir}/gmencoder
This page took 1.766681 seconds and 3 git commands to generate.