]>
Commit | Line | Data |
---|---|---|
25c8f140 AM |
1 | # TODO: |
2 | # - enable support for all possible features | |
3 | # - external ffmpeg | |
4 | Summary: GNOME TV viewer | |
5 | Name: fftv | |
6 | Version: 0.6.0 | |
7 | Release: 1 | |
8 | License: GPL | |
9 | Group: X11/Applications/Multimedia | |
10 | Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 | |
11 | # Source0-md5: 1703c5f37f1512d1c0c81a22b4caffc6 | |
12 | Patch0: %{name}-pkg.patch | |
13 | URL: http://fftv.sourceforge.net/ | |
14 | BuildRequires: gtk+2-devel | |
15 | BuildRequires: zlib-devel | |
16 | BuildRequires: libvorbis-devel | |
17 | BuildRequires: SDL-devel | |
18 | BuildRequires: freetype-devel | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | ||
22 | %description | |
23 | fftv is a TV viewer for use with TV cards and Video for Linux. It also | |
24 | features a radio user interface. It can support recording of various | |
25 | formats and codecs including MPEG, AVI, and Ogg. It supports remote | |
26 | control if LIRC is installed. | |
27 | ||
28 | %prep | |
29 | %setup -q | |
30 | %patch0 -p1 | |
31 | ||
32 | %build | |
33 | %configure | |
34 | %{__make} \ | |
35 | CC="%{__cc}" | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %{__make} install \ | |
41 | DESTDIR=$RPM_BUILD_ROOT | |
42 | ||
43 | %post -p /sbin/ldconfig | |
44 | %postun -p /sbin/ldconfig | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %attr(0755,root,root) %{_bindir}/* |