]> git.pld-linux.org Git - SPECS.git/blob - xvidcap.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / xvidcap.spec
1 #
2 # Conditional build:
3 %bcond_without  system_ffmpeg           # use system ffmpeg
4 #
5 Summary:        XVidCap - Video Capture for X
6 Summary(pl.UTF-8):      XVidCap - przechwytywanie obrazu dla X
7 Name:           xvidcap
8 Version:        1.1.7
9 Release:        6
10 Epoch:          1
11 License:        GPL
12 Group:          X11/Applications/Graphics
13 Source0:        http://downloads.sourceforge.net/xvidcap/%{name}-%{version}.tar.gz
14 # Source0-md5:  b39a682d3ef9fcbf424af771936780e2
15 Patch0:         %{name}-ffmpeg.patch
16 Patch1:         %{name}-x11.patch
17 URL:            http://xvidcap.sourceforge.net/
18 BuildRequires:  autoconf >= 2.57
19 BuildRequires:  automake
20 BuildRequires:  dbus-glib-devel
21 %{?with_system_ffmpeg:BuildRequires:    ffmpeg-devel >= 0.4.9-4.20080930.1}
22 BuildRequires:  gettext-tools
23 BuildRequires:  gtk+2-devel >= 2.0.0
24 BuildRequires:  intltool
25 BuildRequires:  libglade2-devel
26 BuildRequires:  libpng-devel
27 BuildRequires:  pkgconfig
28 BuildRequires:  rpmbuild(find_lang) >= 1.23
29 BuildRequires:  rpmbuild(macros) >= 1.198
30 BuildRequires:  scrollkeeper
31 BuildRequires:  xorg-lib-libXmu-devel
32 BuildRequires:  zlib-devel
33 Requires(post,postun):  scrollkeeper
34 Suggests:       mplayer
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 Capture parts of your screen to single files for every frame or to an
39 MPEG stream.
40
41 This program does not use a special hardware driver to access the
42 video card. It just asks the X server about rectangular areas. This
43 means you need a fast machine (>= 133 MHz) and a fast harddrive. Big
44 frames (e.g. 384x288 = 1/2 PAL) at a high FPS rate are only possible
45 with very very fast systems :-)
46
47 %description -l pl.UTF-8
48 Ten pakiet służy do przechwytywania ekranu do pojedynczych plików z
49 każdą ramką lub strumienia MPEG.
50
51 Program nie używa żadnego specjalnego sterownika sprzętowego do
52 dostępu do karty graficznej - po prostu pobiera prostokątne obszary od
53 serwera X. Oznacza to, że trzeba mieć szybką maszynę (>= 133 MHz) i
54 szybki twardy dysk. Duże ramki (np. 384x288, czyli 1/2 PAL) z dużymi
55 FPS można przechwytywać tylko na bardzo bardzo szybkich systemach :-)
56
57 %prep
58 %setup -q
59 %patch0 -p1
60 %patch1 -p1
61
62 %build
63 %{__intltoolize}
64 %{__aclocal}
65 %{__autoconf}
66 %{__autoheader}
67 %{__automake}
68 %configure \
69         %{?with_system_ffmpeg:--without-forced-embedded-ffmpeg}
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74 install -d $RPM_BUILD_ROOT{%{_docdir},%{_mandir}/man1}
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 %find_lang %{name} --with-gnome --with-omf
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post
85 %scrollkeeper_update_post
86
87 %postun
88 %scrollkeeper_update_postun
89
90 %files -f %{name}.lang
91 %defattr(644,root,root,755)
92 %doc ChangeLog README TODO.tasks
93 %attr(755,root,root) %{_bindir}/*
94 %dir %{_datadir}/%{name}
95 %attr(755,root,root) %{_datadir}/%{name}/ppm2mpeg.sh
96 %dir %{_datadir}/%{name}/glade
97 %{_datadir}/%{name}/glade/gnome-xvidcap.glade
98 %{_datadir}/%{name}/glade/xvidcap_logo.png
99 %{_datadir}/dbus-1/services/net.jarre_de_the.Xvidcap.service
100 %{_mandir}/man1/xvidcap.1*
101 %{_mandir}/man1/xvidcap-dbus-client.1*
102 %lang(de) %{_mandir}/de/man1/xvidcap.1*
103 %lang(de) %{_mandir}/de/man1/xvidcap-dbus-client.1*
104 %lang(es) %{_mandir}/es/man1/xvidcap.1*
105 %lang(it) %{_mandir}/it/man1/xvidcap.1*
106 %{_desktopdir}/%{name}.desktop
107 %{_pixmapsdir}/%{name}.png
This page took 0.356542 seconds and 3 git commands to generate.