path: root/xawtv.spec.in
diff options
authorGerd Hoffmann <kraxel@redhat.com>2010-04-01 09:24:39 (GMT)
committerGerd Hoffmann <kraxel@redhat.com>2010-04-01 09:24:39 (GMT)
commit4717c404e22922a13f54e431fbf683309870513f (patch)
tree2701ab85d1bdb0ab7c6315a38657189b80f7ded2 /xawtv.spec.in
parent923e3c2dfcfef0d6a31239aceb7654ed3a49a7c4 (diff)
Diffstat (limited to 'xawtv.spec.in')
1 files changed, 14 insertions, 126 deletions
diff --git a/xawtv.spec.in b/xawtv.spec.in
index 0155694..a4ffe85 100644
--- a/xawtv.spec.in
+++ b/xawtv.spec.in
@@ -1,68 +1,15 @@
Name: xawtv
Group: Applications/Multimedia
-Requires: v4l-conf, tv-common
Autoreqprov: on
Version: @VERSION@
Release: 0
License: GPL
-Summary: Video4Linux TV application (Athena)
+Summary: v4l applications
Source: http://bytesex.org/xawtv/%{name}_%{version}.tar.gz
Buildroot: /var/tmp/root.%{name}-%{version}
-xawtv is a X11 application for watching TV with your linux box. It
-supports video4linux devices (for example bttv cards, various USB
-webcams, ...). It uses the Athena widgets.
-%package -n motv
-Summary: Video4Linux TV application (Motif)
-Group: Applications/Multimedia
-Requires: v4l-conf, tv-common
-Provides: xawtv:/usr/X11R6/bin/motv
-%description -n motv
-motv is a X11 application for watching TV with your Linux box. It
-supports video4linux devices (for example bttv cards, various USB
-webcams, ...). It's based on xawtv's code, but uses Motif to provide a
-better GUI.
-%package -n tv-common
-Summary: tools and some README's for motv and xawtv
-Group: Applications/Multimedia
-%description -n tv-common
-This package includes some X11 fonts used by motv and xawtv, some
-utilities for them (xawtv-remote for example), and some README files.
-%package -n v4l-conf
-Summary: video4linux configuration tool
-Group: Applications/Multimedia
-Provides: xawtv:/usr/X11R6/bin/v4l-conf
-%description -n v4l-conf
-This is a small utility used to configure video4linux device drivers
-(bttv for example). xawtv, motv and fbtv need it.
-%package -n v4l-tools
-Summary: video4linux terminal / command line utilities.
-Group: Applications/Multimedia
-Requires: v4l-conf, tv-common
-Provides: xawtv:/usr/X11R6/bin/v4lctl
-%description -n v4l-tools
-This package includes a bunch of command line utilities: v4lctl to
-control video4linux devices; streamer to record movies; fbtv to
-watch TV on the framebuffer console; ttv to watch tv on any ttv (powered
-by aalib), webcam for capturing and uploading images, a curses radio
-application, ...
-%package -n alevtd
-Summary: http server for teletext pages
-Group: Networking/Daemons
-%description -n alevtd
-alevtd reads the teletext pages from /dev/vbi and allows to fetch them
-via http, i.e. you can read the teletext pages with a web browser.
%setup -q
@@ -74,79 +21,20 @@ CFLAGS="$RPM_OPT_FLAGS" ../configure --prefix=/usr/X11R6
+test "%{buildroot}" != "" && rm -rf "%{buildroot}"
(cd build; make DESTDIR="%{buildroot}" SUID_ROOT="" install)
-gzip -v %{buildroot}/usr/X11R6/man/man*/*
-find %{buildroot} -name Xawtv -print |\
- sed -e 's|%{buildroot}||' > appdefaults.xawtv
-find %{buildroot} -name MoTV -print |\
- sed -e 's|%{buildroot}||' > appdefaults.motv
-%files -f appdefaults.xawtv
-%doc Changes TODO README README.*
-%doc contrib/frequencies*
-%files -n motv -f appdefaults.motv
-%doc Changes TODO README README.*
-%files -n tv-common
+gzip -v %{buildroot}/usr/X11R6/man/man*/*.[158]
+gzip -v %{buildroot}/usr/X11R6/man/*/man*/*.[158]
+find %{buildroot} -type f -print \
+ | sed -e 's|%{buildroot}||' \
+ | grep -v -e %{docdir} \
+ | grep -v -e bin/v4l-conf \
+ > filelist
+%files -f filelist
-%files -n v4l-conf
+%doc COPYING Changes TODO README README.* contrib/frequencies*
%attr(4711,root,root) /usr/X11R6/bin/v4l-conf
-%files -n v4l-tools
-%files -n alevtd
-if test "%{buildroot}" != ""; then
- rm -rf "%{buildroot}"
+test "%{buildroot}" != "" && rm -rf "%{buildroot}"

Privacy Policy