2007-01-15 23:46:07 +00:00
|
|
|
#
|
2011-06-07 07:19:44 +00:00
|
|
|
# spec file for package zvbi
|
2007-01-15 23:46:07 +00:00
|
|
|
#
|
2013-03-13 15:36:36 +00:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:46:07 +00:00
|
|
|
#
|
2008-09-06 03:20:07 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-08-31 14:07:34 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:46:07 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2007-08-31 14:07:34 +00:00
|
|
|
Name: zvbi
|
2013-03-13 15:36:36 +00:00
|
|
|
BuildRequires: doxygen
|
2013-09-25 14:05:35 +00:00
|
|
|
BuildRequires: fdupes
|
2013-03-13 15:36:36 +00:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: xorg-x11-devel
|
2008-02-04 16:44:39 +00:00
|
|
|
Url: http://zapping.sf.net/
|
2013-09-25 14:05:35 +00:00
|
|
|
Version: 0.2.35
|
2013-03-13 15:36:36 +00:00
|
|
|
Release: 0
|
2008-07-08 13:30:27 +00:00
|
|
|
Summary: Linux "VBI proxy"
|
2013-03-13 15:36:36 +00:00
|
|
|
License: LGPL-2.1+ and GPL-2.0+
|
|
|
|
Group: Development/Libraries/Other
|
2007-08-31 14:07:34 +00:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2011-09-17 05:08:28 +00:00
|
|
|
Source2: baselibs.conf
|
2013-03-13 15:36:36 +00:00
|
|
|
Patch2: zvbi-automake-1.13.patch
|
2007-08-31 14:07:34 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-02-04 16:44:39 +00:00
|
|
|
|
2008-07-08 13:30:27 +00:00
|
|
|
%description
|
|
|
|
With "video4linux" drivers only one application at a time can capture
|
2013-09-25 14:05:35 +00:00
|
|
|
VB data. The 2nd generation "v4l2" API allows multiple clients to
|
2008-07-08 13:30:27 +00:00
|
|
|
open a device, but still only one client may read from the device. If
|
|
|
|
for example the Nxtvepg daemon runs in the background users will not be
|
|
|
|
able to start a Teletext application. The VBI proxy was developed as a
|
|
|
|
solution to this problem.
|
2007-01-15 23:46:07 +00:00
|
|
|
|
2008-07-08 13:30:27 +00:00
|
|
|
%package -n libzvbi0
|
|
|
|
Summary: VBI Decoding Library
|
2013-03-13 15:36:36 +00:00
|
|
|
Group: System/Libraries
|
2008-07-08 13:30:27 +00:00
|
|
|
|
|
|
|
%description -n libzvbi0
|
2007-01-15 23:46:07 +00:00
|
|
|
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, to demodulate raw to sliced VBI data, and to interpret the
|
|
|
|
data of several popular services.
|
|
|
|
|
2008-07-08 13:30:27 +00:00
|
|
|
%package devel
|
|
|
|
Summary: VBI decoding library - devel package
|
2013-03-13 15:36:36 +00:00
|
|
|
Group: Development/Libraries/Other
|
2008-07-08 13:30:27 +00:00
|
|
|
Requires: glibc-devel
|
2013-03-13 15:36:36 +00:00
|
|
|
Requires: libzvbi0 = %{version}
|
2008-07-08 13:30:27 +00:00
|
|
|
|
|
|
|
%description devel
|
2013-09-25 14:05:35 +00:00
|
|
|
This package includes the development files for the zvbi library which
|
|
|
|
provides routines to read from raw VBI sampling devices, to demodulate raw to
|
|
|
|
sliced VBI data, and to interpret the data of several popular services.
|
2008-07-08 13:30:27 +00:00
|
|
|
|
2007-01-15 23:46:07 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2013-03-13 15:36:36 +00:00
|
|
|
%patch2 -p1
|
2007-01-15 23:46:07 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
ACLOCAL="aclocal -I m4" autoreconf -fi
|
2008-02-04 16:44:39 +00:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
2007-01-15 23:46:07 +00:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--libdir=%{_libdir} \
|
2008-02-04 16:44:39 +00:00
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--disable-static
|
2007-01-15 23:46:07 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR="%{buildroot}" install
|
2008-02-04 16:44:39 +00:00
|
|
|
rm %buildroot%_libdir/*.la
|
2007-08-31 14:07:34 +00:00
|
|
|
%find_lang %name
|
2013-09-25 14:05:35 +00:00
|
|
|
%fdupes -s doc/html
|
2007-08-31 14:07:34 +00:00
|
|
|
|
2008-07-08 13:30:27 +00:00
|
|
|
%post -n libzvbi0 -p /sbin/ldconfig
|
2007-01-15 23:46:07 +00:00
|
|
|
|
2008-07-08 13:30:27 +00:00
|
|
|
%postun -n libzvbi0 -p /sbin/ldconfig
|
2007-01-15 23:46:07 +00:00
|
|
|
|
2007-08-31 14:07:34 +00:00
|
|
|
%files -f %name.lang
|
2007-01-15 23:46:07 +00:00
|
|
|
%defattr(-,root,root)
|
2008-02-04 16:44:39 +00:00
|
|
|
%{_bindir}/*
|
2007-01-15 23:46:07 +00:00
|
|
|
%{_sbindir}/zvbid
|
2008-02-04 16:44:39 +00:00
|
|
|
%{_mandir}/man1/*
|
2013-09-25 14:05:35 +00:00
|
|
|
%doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO
|
2007-01-15 23:46:07 +00:00
|
|
|
|
2008-07-08 13:30:27 +00:00
|
|
|
%files -n libzvbi0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libzvbi*.so.0
|
|
|
|
%{_libdir}/libzvbi*.so.0.*
|
|
|
|
|
2007-01-15 23:46:07 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/libzvbi.h
|
|
|
|
%{_libdir}/libzvbi*.so
|
|
|
|
%{_libdir}/pkgconfig/zvbi-0.2.pc
|
|
|
|
%doc doc/html
|
|
|
|
|
2007-08-31 14:07:34 +00:00
|
|
|
%changelog
|