1 |
Name: xvidcap |
2 |
Summary: Screen capture video recorder |
3 |
Version: 1.1.7 |
4 |
Release: %mkrel 5 |
5 |
Source: http://downloads.sourceforge.net/xvidcap/%{name}-%{version}.tar.gz |
6 |
Patch0: xvidcap-1.1.5-mdv-docbook.patch |
7 |
Patch1: xvidcap-1.1.7-mdv-fix-headers.patch |
8 |
Patch2: xvidcap-1.1.5-mdv-nawk.patch |
9 |
Patch3: xvidcap-1.1.7-mdv-desktop-entry.patch |
10 |
Patch4: xvidcap-1.1.7-mdv-ffmpeg-options.patch |
11 |
Patch5: xvidcap-1.1.7-mga-glib-disable_single_includes.patch |
12 |
Patch6: xvidcap-1.1.7-mga-undefined-references.patch |
13 |
Patch7: xvidcap-1.1.7-mga-external_ffmpeg.patch |
14 |
Patch8: xvidcap-1.1.7-mga-ffmpeg0.11.patch |
15 |
Patch9: xvidcap-1.1.7-automake-1.13.patch |
16 |
URL: http://xvidcap.sourceforge.net/ |
17 |
License: GPLv2+ |
18 |
Group: Video/Editors and Converters |
19 |
BuildRequires: docbook-utils xmlto |
20 |
BuildRequires: gtk2-devel jpeg-devel png-devel zlib-devel |
21 |
BuildRequires: libglade2.0-devel |
22 |
BuildRequires: libtheora-devel |
23 |
BuildRequires: libxmu-devel |
24 |
BuildRequires: dbus-glib-devel |
25 |
BuildRequires: scrollkeeper |
26 |
BuildRequires: intltool |
27 |
BuildRequires: libffmpeg-devel |
28 |
Requires: mplayer |
29 |
Requires: mencoder |
30 |
Requires: ffmpeg |
31 |
Requires: imagemagick |
32 |
|
33 |
%description |
34 |
xvidcap is a screen capture enabling you to capture videos off your X-Window |
35 |
desktop for illustration or documentation purposes. It is intended to be a |
36 |
standards-based alternative to tools like Lotus ScreenCam. |
37 |
|
38 |
%prep |
39 |
%setup -q |
40 |
%patch0 -p0 -b .docbook |
41 |
%patch1 -p1 |
42 |
%patch2 -p0 -b .fixawk |
43 |
%patch3 -p1 |
44 |
%patch4 -p1 |
45 |
%patch5 -p1 |
46 |
%patch6 -p1 |
47 |
%patch7 -p1 |
48 |
%patch8 -p0 |
49 |
%patch9 -p0 |
50 |
|
51 |
NOCONFIGURE=yes sh ./autogen.sh |
52 |
intltoolize --copy --force |
53 |
|
54 |
%build |
55 |
%configure2_5x --disable-dependency-tracking --enable-libtheora --without-forced-embedded-ffmpeg |
56 |
%make |
57 |
|
58 |
%install |
59 |
rm -rf %{buildroot} %{name}.lang |
60 |
|
61 |
%makeinstall_std |
62 |
|
63 |
chmod 755 %{buildroot}%{_datadir}/%{name}/ppm2mpeg.sh |
64 |
ln -s %{_datadir}/%{name}/ppm2mpeg.sh %{buildroot}%{_bindir}/ppm2mpeg.sh |
65 |
|
66 |
rm -fr %{buildroot}/%{_docdir} |
67 |
|
68 |
for omf in %{buildroot}%{_datadir}/omf/*/*-??.omf;do |
69 |
echo "%lang($(basename $omf|sed -e s/.*-// -e s/.omf//)) $(echo $omf|sed s!%{buildroot}!!)" >> %{name}.lang |
70 |
done |
71 |
|
72 |
%find_lang %{name} --with-gnome |
73 |
|
74 |
|
75 |
%files -f %{name}.lang |
76 |
%doc AUTHORS ChangeLog COPYING NEWS README |
77 |
%{_bindir}/%{name} |
78 |
%{_bindir}/xvidcap-dbus-client |
79 |
%{_bindir}/ppm2mpeg.sh |
80 |
%_datadir/dbus-1/services/net.jarre_de_the.Xvidcap.service |
81 |
%{_mandir}/man1/* |
82 |
%lang(de) %{_mandir}/de/man1/* |
83 |
%lang(es) %{_mandir}/es/man1/* |
84 |
%lang(it) %{_mandir}/it/man1/* |
85 |
%{_datadir}/applications/xvidcap.desktop |
86 |
%{_datadir}/%{name} |
87 |
%dir %{_datadir}/omf/* |
88 |
%{_datadir}/omf/*/*.omf |
89 |
%{_datadir}/pixmaps/%{name}.png |
90 |
|
91 |
|