1 |
%define srcname 2ManDVD |
2 |
|
3 |
Name: 2mandvd |
4 |
Version: 1.8.4 |
5 |
Release: %mkrel 3 |
6 |
Summary: Video DVD creation tool, successor to ManDVD |
7 |
URL: http://2mandvd.tuxfamily.org/ |
8 |
# GPLv2 and LGPL for some icons |
9 |
License: GPLv2 and LGPL |
10 |
Group: Video/Editors and Converters |
11 |
Source0: http://download.tuxfamily.org/2mandvd/%{srcname}-%{version}.tar.gz |
12 |
Patch0: 2ManDVD-1.7.3-newer-ffmpeg.patch |
13 |
Patch1: 2ManDVD-1.8.4-fix_install.patch |
14 |
BuildRequires: qt4-devel >= 4.6 |
15 |
BuildRequires: ffmpeg-devel |
16 |
|
17 |
Requires: dvd+rw-tools |
18 |
Requires: dvdauthor |
19 |
Requires: ffmpeg >= 0.5 |
20 |
Requires: ffmpegthumbnailer |
21 |
Requires: mencoder |
22 |
Requires: mjpegtools |
23 |
Requires: mkisofs |
24 |
Requires: mplayer |
25 |
Requires: netpbm |
26 |
Requires: sox |
27 |
Requires: exif |
28 |
Suggests: transcode |
29 |
Obsoletes: 2ManDVD |
30 |
|
31 |
%description |
32 |
2ManDVD is a graphical tool for creating Video DVDs and slideshows, including |
33 |
menus. |
34 |
|
35 |
N.B. Executable name is 2ManDVD |
36 |
|
37 |
%prep |
38 |
%setup -q -n %{srcname} |
39 |
%patch0 -p0 |
40 |
%patch1 -p0 |
41 |
|
42 |
%build |
43 |
%qmake_qt4 2ManDVD.pro |
44 |
%make |
45 |
|
46 |
%install |
47 |
make INSTALL_ROOT=%{buildroot} install |
48 |
|
49 |
%files |
50 |
%{_bindir}/%{srcname} |
51 |
%{_bindir}/fake.pl |
52 |
%dir %{_datadir}/%{srcname} |
53 |
%{_datadir}/%{srcname}/2mandvd_*.qm |
54 |
%{_datadir}/%{srcname}/Bibliotheque |
55 |
%{_datadir}/%{srcname}/mandvdico.png |
56 |
%{_datadir}/applications/%{srcname}.desktop |