/[packages]/cauldron/2mandvd/current/SPECS/2mandvd.spec
ViewVC logotype

Contents of /cauldron/2mandvd/current/SPECS/2mandvd.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 188139 - (show annotations) (download)
Tue Dec 27 06:39:48 2011 UTC (12 years, 4 months ago) by juancho
File size: 2021 byte(s)
Updated to 1.7.3
1 %define srcname 2ManDVD
2
3 Name: 2mandvd
4 Version: 1.7.3
5 Release: %mkrel 1
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
11 Source: http://download.tuxfamily.org/2mandvd/%{srcname}-%{version}.tar.gz
12
13 BuildRequires: qt4-devel >= 4.6
14 BuildRequires: ffmpeg-devel
15
16 Requires: dvd+rw-tools
17 Requires: dvdauthor
18 Requires: ffmpeg >= 0.5
19 Requires: ffmpegthumbnailer
20 Requires: mencoder
21 Requires: mjpegtools
22 Requires: mkisofs
23 Requires: mplayer
24 Requires: netpbm
25 Requires: sox
26 Requires: exif
27 Suggests: transcode
28 Obsoletes: 2ManDVD
29
30 %description
31 2ManDVD is a graphical tool for creating Video DVDs and slideshows, including
32 menus.
33
34 N.B. Executable name is 2ManDVD
35
36 %prep
37 %setup -q -n %{srcname}
38
39 %build
40 %qmake_qt4 2ManDVD.pro
41 %make
42
43 %install
44 rm -rf %{buildroot}
45
46 # put the executable in %{_datadir}/%{name} and symlink it to %_bindir
47 # otherwise the UI localizations don't work
48 install -D -m 755 %{srcname} %{buildroot}%{_datadir}/%{srcname}/%{srcname}
49
50 mkdir %{buildroot}%{_bindir}
51 pushd %{buildroot}%{_bindir}
52 ln -s %{_datadir}/%{srcname}/%{srcname} 2ManDVD
53 popd
54
55 install -m 644 2mandvd_*.qm %{buildroot}%{_datadir}/%{srcname}
56 install -m 644 fake.pl %{buildroot}%{_datadir}/%{srcname}
57
58 # create .desktop file
59 mkdir -p %{buildroot}%{_datadir}/applications/
60
61 cat > %{buildroot}%{_datadir}/applications/%{srcname}.desktop << EOF
62 [Desktop Entry]
63 Type=Application
64 Exec=2ManDVD -graphicssystem raster
65 Icon=2ManDVD
66 GenericName=2ManDVD
67 Comment=Video DVD Creator
68 Name=2ManDVD
69 Terminal=false
70 Categories=AudioVideo;DiscBurning;
71 X-KDE-StartupNotify=true
72 EOF
73
74 install -D -m 644 Interface/mandvd.png %{buildroot}%{_datadir}/pixmaps/%{srcname}.png
75
76 %clean
77 rm -rf %{buildroot}
78
79 %files
80 %defattr(-,root,root)
81 %{_bindir}/%{srcname}
82 %dir %{_datadir}/%{srcname}
83 %{_datadir}/%{srcname}/%{srcname}
84 %{_datadir}/%{srcname}/2mandvd_*.qm
85 %{_datadir}/%{srcname}/fake.pl
86 %{_datadir}/applications/%{srcname}.desktop
87 %{_datadir}/pixmaps/%{srcname}.png

  ViewVC Help
Powered by ViewVC 1.1.30