xawtv/xawtv.spec

120 lines
3.7 KiB
RPMSpec

%define pkgverdate %(echo %version | cut -d. -f 1)
%define pkgvertail %(echo %version | cut -d. -f 2)
Name: xawtv
Epoch: 1
Version: 3.107
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: https://www.kraxel.org/blog/linux/xawtv/
Source: http://linuxtv.org/downloads/xawtv/xawtv-%{version}.tar.bz2
Patch0: xawtv-20081014.100645-quicktime.patch
Patch1: xawtv-3.107-glibc-2.36.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-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: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libXt-devel
BuildRequires: libXv-devel
BuildRequires: libXxf86dga-devel
BuildRequires: libXxf86vm-devel
BuildRequires: libaa-devel
BuildRequires: libalsa-devel
BuildRequires: libdv-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libglib-devel
BuildRequires: libglvnd-devel
BuildRequires: libgpm-devel
BuildRequires: libjpeg-devel
BuildRequires: liblesstif-devel
BuildRequires: libncurses-devel
BuildRequires: libpng-devel
BuildRequires: libquicktime-devel
BuildRequires: libslang-devel
BuildRequires: libv4l-devel
BuildRequires: libz-devel
BuildRequires: libzvbi-devel
BuildRequires: lirc-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
%patch1 -p1
NOCONFIGURE=1 ./autogen.sh
%build
%configure \
--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
* Thu Sep 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.107-1mamba
- update to 3.107
* 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