Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
xawtv
xawtv.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xawtv.spec of Package xawtv
# # spec file for package xawtv # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: xawtv Version: 3.102 Release: 1 Summary: Video4Linux TV application (Athena) License: GPL-2.0+ Url: http://www.kraxel.org/blog/linux/xawtv/ Group: Hardware/TV Source0: http://linuxtv.org/downloads/xawtv/%{name}-%{version}.tar.bz2 Source1: xawtv.desktop Source2: motv.desktop # PATCH-FIX-OPENSUSE xawtv-3.95.patch -- Patch0: xawtv-3.95.patch # PATCH-FIX-OPENSUSE v4l-conf_non-position-independent-executable_fix.patch asterios.dramis@gmail.com -- Fix non-position-independent-executable rpmlint warning for v4l-conf Patch1: v4l-conf_non-position-independent-executable_fix.patch # PATCH-FIX-UPSTREAM no-copy-dt-needed-entries.patch asterios.dramis@gmail.com -- Fix linking with --no-copy-dt-needed-entries Patch2: no-copy-dt-needed-entries.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: Mesa-devel BuildRequires: aalib-devel BuildRequires: alsa-devel BuildRequires: gcc-c++ BuildRequires: libdv-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libquicktime-devel BuildRequires: libv4l-devel BuildRequires: lirc-devel BuildRequires: ncurses-devel BuildRequires: openmotif BuildRequires: openmotif-devel %if 0%{?suse_version} BuildRequires: update-desktop-files %endif BuildRequires: xorg-x11-devel BuildRequires: zvbi-devel Requires: tv-common Requires: tv-fonts Requires: v4l-conf Recommends: pia Suggests: lirc Conflicts: xaw3dd %description xawtv is an 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 License: GPL-2.0+ Summary: Video4Linux TV application (Motif) Group: Hardware/TV Requires: tv-common Requires: tv-fonts Requires: v4l-conf Recommends: pia Suggests: lirc Provides: xawtv:%{_bindir}/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. Also includes the teletext/videotext viewer mtt. %package -n tv-common License: GPL-2.0+ Summary: Frequency tables and some Tools for motv and xawtv Group: Hardware/TV Provides: xawtv:/usr/X11R6/lib/X11/fonts/misc/led-iso8859-1.bdf %description -n tv-common This package includes frequency tables for various countries and some utilities for xawtv and motv (xawtv-remote, for example). %package -n v4l-conf License: GPL-2.0+ Summary: Video4linux Configuration Tool Group: Hardware/TV Requires(post): permissions Provides: xawtv:%{_bindir}/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 License: GPL-2.0+ Summary: Video4linux terminal / command line utilities Group: Hardware/TV Requires: tv-common Requires: v4l-conf Provides: xawtv:%{_bindir}/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 License: GPL-2.0+ Summary: HTTP server for Teletext pages Group: Productivity/Networking/Web/Servers %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. %package -n pia License: GPL-2.0+ Summary: Simple Movie Player Group: Productivity/Multimedia/Video/Players Requires: tv-common %description -n pia pia is a simple movie player which can playback AVI and QuickTime movies recorded by xawtv, motv, and streamer. Other movies might work as well. %prep %setup -q %patch0 -p1 %patch1 %patch2 %build autoreconf -fi export CFLAGS="%{optflags} -fno-strict-aliasing" %{configure} make %{?_smp_mflags} %install %make_install SUID_ROOT="" mkdir -p %{buildroot}%{_datadir}/pixmaps install -pm 0644 contrib/xawtv48x48.xpm %{buildroot}%{_datadir}/pixmaps/xawtv.xpm install -pm 0644 contrib/xawtv48x48.xpm %{buildroot}%{_datadir}/pixmaps/motv.xpm %if 0%{?suse_version} %suse_update_desktop_file -i xawtv %suse_update_desktop_file -i motv %endif %clean rm -rf %{buildroot} %verifyscript -n v4l-conf %verify_permissions -e %{_bindir}/v4l-conf %post -n v4l-conf %if 0%{?set_permissions:1} > 0 %{set_permissions /usr/bin/v4l-conf} %else %{run_permissions} %endif %files %defattr(-,root,root,-) %doc COPYING Changes README README.* TODO %doc contrib/frequencies* contrib/vdr.config %{_bindir}/xawtv %{_bindir}/rootv %doc %{_mandir}/man1/xawtv.1%{ext_man} %doc %lang(es) %{_mandir}/es/man1/xawtv.1%{ext_man} %doc %lang(fr) %{_mandir}/fr/man1/xawtv.1%{ext_man} %doc %{_mandir}/man1/rootv.1%{ext_man} %doc %lang(es) %{_mandir}/es/man1/rootv.1%{ext_man} %{_datadir}/X11/app-defaults/Xawtv %{_datadir}/applications/xawtv.desktop %{_datadir}/pixmaps/xawtv.xpm %files -n motv %defattr(-,root,root,-) %doc COPYING Changes README README.* TODO %doc contrib/frequencies* contrib/vdr.config %{_bindir}/motv %doc %{_mandir}/man1/motv.1%{ext_man} %{_datadir}/X11/app-defaults/MoTV %dir %{_datadir}/X11/de_DE.UTF-8 %dir %{_datadir}/X11/fr_FR.UTF-8 %dir %{_datadir}/X11/it_IT.UTF-8 %lang(de) %{_datadir}/X11/de_DE.UTF-8/app-defaults %lang(fr) %{_datadir}/X11/fr_FR.UTF-8/app-defaults %lang(it) %{_datadir}/X11/it_IT.UTF-8/app-defaults %{_bindir}/mtt %doc %{_mandir}/man1/mtt.1%{ext_man} %{_datadir}/X11/app-defaults/mtt %{_datadir}/applications/motv.desktop %{_datadir}/pixmaps/motv.xpm %files -n tv-common %defattr(-,root,root,-) %doc COPYING %{_bindir}/subtitles %doc %{_mandir}/man1/subtitles.1%{ext_man} %doc %lang(es) %{_mandir}/es/man1/subtitles.1%{ext_man} %{_bindir}/xawtv-remote %doc %{_mandir}/man1/xawtv-remote.1%{ext_man} %doc %lang(es) %{_mandir}/es/man1/xawtv-remote.1%{ext_man} %{_bindir}/propwatch %doc %{_mandir}/man1/propwatch.1%{ext_man} %doc %{_mandir}/man5/xawtvrc.5.gz %doc %lang(es) %{_mandir}/es/man5/xawtvrc.5.gz %{_libdir}/xawtv %{_datadir}/xawtv %files -n v4l-conf %defattr(-,root,root,-) %doc COPYING %verify(not mode) %attr(4750,root,video) %{_bindir}/v4l-conf %doc %{_mandir}/man8/v4l-conf.8.gz %doc %lang(es) %{_mandir}/es/man8/v4l-conf.8.gz %files -n v4l-tools %defattr(-,root,root,-) %doc COPYING %{_bindir}/radio %doc %{_mandir}/man1/radio.1%{ext_man} %{_bindir}/fbtv %doc %{_mandir}/man1/fbtv.1%{ext_man} %doc %lang(es) %{_mandir}/es/man1/fbtv.1%{ext_man} %{_bindir}/ttv %doc %{_mandir}/man1/ttv.1%{ext_man} %doc %lang(es) %{_mandir}/es/man1/ttv.1%{ext_man} %{_bindir}/streamer %doc %{_mandir}/man1/streamer.1%{ext_man} %doc %lang(es) %{_mandir}/es/man1/streamer.1%{ext_man} %{_bindir}/v4lctl %doc %{_mandir}/man1/v4lctl.1%{ext_man} %doc %lang(es) %{_mandir}/es/man1/v4lctl.1%{ext_man} %{_bindir}/record %doc %{_mandir}/man1/record.1%{ext_man} %{_bindir}/dump-mixers %doc %{_mandir}/man1/dump-mixers.1%{ext_man} %{_bindir}/showriff %doc %{_mandir}/man1/showriff.1%{ext_man} %{_bindir}/showqt %{_bindir}/scantv %doc %{_mandir}/man1/scantv.1%{ext_man} %doc %lang(es) %{_mandir}/es/man1/scantv.1%{ext_man} %{_bindir}/ntsc-cc %doc %{_mandir}/man1/ntsc-cc.1%{ext_man} %{_bindir}/webcam %doc %{_mandir}/man1/webcam.1%{ext_man} %{_bindir}/v4l-info %doc %{_mandir}/man1/v4l-info.1%{ext_man} %files -n alevtd %defattr(-,root,root,-) %doc COPYING %{_bindir}/alevtd %doc %{_mandir}/man1/alevtd.1%{ext_man} %files -n pia %defattr(-,root,root,-) %doc COPYING Changes README %{_bindir}/pia %doc %{_mandir}/man1/pia.1%{ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor