Группа :: Видео
Пакет: zvbi
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define major 0.2
%define static 0
%define libname_orig lib%name
%define libname lib%name
Name: zvbi
Version: %major.24
Release: alt0.1
Summary: Raw VBI, Teletext and Closed Caption decoding library
Summary(ru_RU.KOI8-R): Библиотека декодирования VBI, Teletext и Closed Caption
License: GPL
Group: Video
Url: http://zapping.sourceforge.net/
Source: http://dl.sf.net/zapping/%name-%version.tar.bz2
Patch: %name-as-needed.patch
Packager: Yehuda Ben-Yosef <ilar at altlinux.ru>
Requires: gettext >= 0.10.36
PreReq: /sbin/install-info
# Automatically added by buildreq on Sun Jul 02 2006
BuildRequires: doxygen gcc-c++ imake libpng-devel libXt-devel xorg-cf-files cvs
%if %static
BuildPreReq: glibc-devel-static
%endif
%description
This library provides routines to
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 %libname
Summary: Raw VBI, Teletext and Closed Caption decoding library
Summary(ru_RU.KOI8-R): Библиотека декодирования VBI, Teletext и Closed Caption
Group: Video
Provides: %name
Obsoletes: %name
%description -n %libname
This library provides routines to
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 %libname-devel
Summary: Header files for developing apps which will use libzvbi
Group: Development/C
Requires: %libname = %version
Provides: %libname_orig-devel = %version-%release
Provides: %name-devel
Obsoletes: %name-devel
%description -n %libname-devel
Header files and static library of bzip2 functions, for developing apps which
will use the zvbi library (aka libzvbi)
%if %static
%package -n %libname-devel-static
Summary: Static library for developing apps which will use libzvbi
Group: Development/C
Requires: %libname = %version
Provides: %libname_orig-devel = %version-%release
Provides: %name-devel
Obsoletes: %name-devel
%description -n %libname-devel-static
Static library of bzip2 functions, for developing apps which
will use the zvbi library (aka libzvbi)
%endif
%prep
%setup -q
%patch
%build
%__autoreconf
%__subst 's,\.la\>,.so,' configure
# Note: static libs used in contrib builds (x11fonts)
%configure %{subst_enable static} --with-x
# gtkdoc fix:
#cp /usr/share/gtk-doc/gtkdoc-common.pl doc/
%make
%install
%makeinstall
%find_lang %name
%post -n %libname -p /sbin/ldconfig
%postun -n %libname -p /sbin/ldconfig
%files -n %libname -f %name.lang
%_bindir/zvbi*
%_sbindir/zvbi*
%doc AUTHORS NEWS README
%_libdir/libzvbi*.so.*
%_libdir/pkgconfig/zvbi*
%_man1dir/zvbi*
%files -n %libname-devel
%defattr(644,root,root,755)
%doc BUGS ChangeLog TODO doc/html
%_libdir/lib*.so
%_includedir/libzvbi.h
%if %static
%files -n %libname-devel-static
%_libdir/lib*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь
%define static 0
%define libname_orig lib%name
%define libname lib%name
Name: zvbi
Version: %major.24
Release: alt0.1
Summary: Raw VBI, Teletext and Closed Caption decoding library
Summary(ru_RU.KOI8-R): Библиотека декодирования VBI, Teletext и Closed Caption
License: GPL
Group: Video
Url: http://zapping.sourceforge.net/
Source: http://dl.sf.net/zapping/%name-%version.tar.bz2
Patch: %name-as-needed.patch
Packager: Yehuda Ben-Yosef <ilar at altlinux.ru>
Requires: gettext >= 0.10.36
PreReq: /sbin/install-info
# Automatically added by buildreq on Sun Jul 02 2006
BuildRequires: doxygen gcc-c++ imake libpng-devel libXt-devel xorg-cf-files cvs
%if %static
BuildPreReq: glibc-devel-static
%endif
%description
This library provides routines to
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 %libname
Summary: Raw VBI, Teletext and Closed Caption decoding library
Summary(ru_RU.KOI8-R): Библиотека декодирования VBI, Teletext и Closed Caption
Group: Video
Provides: %name
Obsoletes: %name
%description -n %libname
This library provides routines to
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 %libname-devel
Summary: Header files for developing apps which will use libzvbi
Group: Development/C
Requires: %libname = %version
Provides: %libname_orig-devel = %version-%release
Provides: %name-devel
Obsoletes: %name-devel
%description -n %libname-devel
Header files and static library of bzip2 functions, for developing apps which
will use the zvbi library (aka libzvbi)
%if %static
%package -n %libname-devel-static
Summary: Static library for developing apps which will use libzvbi
Group: Development/C
Requires: %libname = %version
Provides: %libname_orig-devel = %version-%release
Provides: %name-devel
Obsoletes: %name-devel
%description -n %libname-devel-static
Static library of bzip2 functions, for developing apps which
will use the zvbi library (aka libzvbi)
%endif
%prep
%setup -q
%patch
%build
%__autoreconf
%__subst 's,\.la\>,.so,' configure
# Note: static libs used in contrib builds (x11fonts)
%configure %{subst_enable static} --with-x
# gtkdoc fix:
#cp /usr/share/gtk-doc/gtkdoc-common.pl doc/
%make
%install
%makeinstall
%find_lang %name
%post -n %libname -p /sbin/ldconfig
%postun -n %libname -p /sbin/ldconfig
%files -n %libname -f %name.lang
%_bindir/zvbi*
%_sbindir/zvbi*
%doc AUTHORS NEWS README
%_libdir/libzvbi*.so.*
%_libdir/pkgconfig/zvbi*
%_man1dir/zvbi*
%files -n %libname-devel
%defattr(644,root,root,755)
%doc BUGS ChangeLog TODO doc/html
%_libdir/lib*.so
%_includedir/libzvbi.h
%if %static
%files -n %libname-devel-static
%_libdir/lib*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь