%define libname %mklibname %{name} 0 %define develname %mklibname %{name} -d Name: zvbi Version: 0.2.35 Release: 8 Summary: Raw VBI, Teletext and Closed Caption decoding library License: GPL Group: Video Url: http://zapping.sourceforge.net/ Source0: http://prdownloads.sourceforge.net/zapping/%name-%version.tar.bz2 Patch0: zvbi-0.2.31-linkage_fix.diff Patch1: zvbi-automake-1.13.patch Patch2: zvbi-0.2.7-fix-build.patch BuildRequires: pkgconfig(x11) BuildRequires: gtk-doc BuildRequires: pkgconfig(libpng) BuildRequires: doxygen BuildRequires: gettext-devel Requires: gettext >= 0.10.36 %description Non versionated files of zvbi, mainly libzvbi0 translations %package -n %{libname} Summary: Raw VBI, Teletext and Closed Caption decoding library Group: Video %description -n %{libname} VBI stands for Vertical Blanking Interval, a gap between the image data transmitted in an analog video signal. This gap is used to transmit AM modulated data for various data services like Teletext and Closed Caption. The zvbi library provides routines to: * read from raw VBI sampling devices (both V4L and V4L2 API are supported), * a versatile raw vbi bit slicer, * decoders for various data services and basic search, * demodulate raw to sliced VBI data, * interpret the data of several popular services. * render and export functions for text pages. The library is the vbi decoding backbone of the Zapping Gnome TV viewer and Zapzilla Teletext browser. %package -n %{develname} Summary: Header files for developing apps which will use libzvbi Group: Development/C Requires: %{libname} = %{version} Provides: lib%{name}-devel = %{version}-%{release} Provides: %{name}-devel %description -n %{develname} Header files and static library of bzip2 functions, for developing apps which will use the zvbi library (aka libzvbi) %prep %setup -q %patch0 -p1 -b .linkage_fix %patch2 -p0 -b .build %patch1 -p1 -b .am113~ %build autoreconf -fi %configure %make_build %install %make_install %find_lang %{name} find %{buildroot} -name *.a | xargs rm -f %files -f %{name}.lang %defattr(644,root,root,755) %doc COPYING %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_sbindir}/* %{_mandir}/man1/* %files -n %{libname} %doc AUTHORS COPYING NEWS README %{_libdir}/libzvbi*.so.* %files -n %{develname} %defattr(644,root,root,755) %doc BUGS ChangeLog COPYING TODO doc/html %{_libdir}/lib*.so %{_libdir}/pkgconfig/* %{_includedir}/libzvbi.h