xawtv/xawtv.spec

117 lines
3.7 KiB
RPMSpec
Raw Permalink Normal View History

%define pkgverdate %(echo %version | cut -d. -f 1)
%define pkgvertail %(echo %version | cut -d. -f 2)
Name: xawtv
Epoch: 1
Version: 3.103
Release: 1mamba
Summary: A small suite of software for TV and video controlling
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://linux.bytesex.org/xawtv/
Source: http://linuxtv.org/downloads/xawtv/xawtv-%{version}.tar.bz2
#Source: http://dl.bytesex.org/cvs-snapshots/xawtv-%{pkgverdate}-%{pkgvertail}.tar.gz
Patch0: xawtv-20081014.100645-quicktime.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
BuildRequires: libarts-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libdv-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libGL-devel
BuildRequires: libglib1-devel
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libICE-devel
BuildRequires: libjpeg-devel
BuildRequires: libmad-devel
BuildRequires: libncurses-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libquicktime-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXaw-devel
BuildRequires: libXext-devel
BuildRequires: libXft-devel
BuildRequires: libXinerama-devel
BuildRequires: libXmu-devel
BuildRequires: libXpm-devel
BuildRequires: libXrender-devel
BuildRequires: libXt-devel
BuildRequires: libXv-devel
BuildRequires: libz-devel
BuildRequires: libzvbi-devel
BuildRequires: mpeg2dec-devel
## AUTOBUILDREQ-END
%description
xawtv started as TV application for the bttv driver, because the Motif-based "xtvscreen" was the only TV application at this time. Alot has changed since:
The xawtv and bttv driver switched over to the video4linux interface.
Support for more interfaces was added: Xvideo Extention, the new video4linux2 interface and BSD Family video grabber driver (bktr).
xawtv isn't a single application any more, it is a small suite of video4linux related software, with video recording capabilities and serveral useful command line tools.
In the future even more hardware will be supported, the current development snapshots already have DVB support for example.
%prep
%setup -q
#%patch0 -p1
#./autogen.sh
%build
%configure \
--enable-arts \
--enable-zvbi
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall SUID_ROOT=""
#%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
#-f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/X11/app-defaults/MoTV
%{_sysconfdir}/X11/app-defaults/Xawtv
%{_sysconfdir}/X11/app-defaults/mtt
%{_sysconfdir}/X11/de_DE.UTF-8/app-defaults/MoTV
%{_sysconfdir}/X11/fr_FR.UTF-8/app-defaults/MoTV
%{_sysconfdir}/X11/it_IT.UTF-8/app-defaults/MoTV
%{_bindir}/*
%attr(4711,root,root) %{_bindir}/v4l-conf
%dir %{_datadir}/xawtv
%{_datadir}/xawtv/*
%dir %{_libdir}/xawtv
%{_libdir}/xawtv/*
%{_mandir}/man1/*
%{_mandir}/fr/man1/*
%{_mandir}/es/man1/*
%{_mandir}/es/man5/*
%{_mandir}/es/man8/*
%{_mandir}/man5/xawtvrc.5*
%{_mandir}/man8/v4l-conf.8*
%doc COPYING
#ChangeLog ChangeLog.bak README README.bttv README.dvb README.lirc
#%doc README.network README.recording README.translate README.xfree4 TODO
%changelog
* Sun Apr 28 2013 Automatic Build System <autodist@mambasoft.it> 3.103-1mamba
- update to 3.103
* Mon Nov 17 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 20081014.100645-1mamba
- update to 20081014.100645
* Wed Sep 20 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 102024-1qilnx
- package created by autospec