zvbi/zvbi.spec

225 lines
6.9 KiB
RPMSpec
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# spec file for package zvbi (Version 0.2.33)
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: zvbi
BuildRequires: doxygen gcc-c++ xorg-x11-devel
Url: http://zapping.sf.net/
License: GPL v2 or later
Group: Development/Libraries/Other
AutoReqProv: on
Version: 0.2.33
Release: 1
Summary: Linux "VBI proxy"
Source: %{name}-%{version}.tar.bz2
Patch1: fix-headers.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
With "video4linux" drivers only one application at a time can capture
VBI data. The 2nd generation "v4l2" API allows multiple clients to
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.
Authors:
--------
Edgar Toernig <froese@gmx.de>
Michael H. Schimek <mschimek@users.sourceforge.net>
Iñaki García Etxebarria <garetxe@users.sourceforge.net>
%package -n libzvbi0
License: LGPL v2.0 or later
Group: System/Libraries
Summary: VBI Decoding Library
%description -n libzvbi0
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.
Authors:
--------
Edgar Toernig <froese@gmx.de>
Michael H. Schimek <mschimek@users.sourceforge.net>
Iñaki García Etxebarria <garetxe@users.sourceforge.net>
%package devel
License: GPL v2 or later
Group: Development/Libraries/Other
Summary: VBI decoding library - devel package
Requires: libzvbi0 = %{version}
Requires: glibc-devel
%description devel
include files, static library, ...
Authors:
--------
Edgar Toernig <froese@gmx.de>
Michael H. Schimek <mschimek@users.sourceforge.net>
Iñaki García Etxebarria <garetxe@users.sourceforge.net>
%prep
%setup -q
%patch1
%build
ACLOCAL="aclocal -I m4" autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=/usr \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--disable-static
make
%install
make DESTDIR="%{buildroot}" install
rm %buildroot%_libdir/*.la
%find_lang %name
%clean
rm -rf %buildroot
%post -n libzvbi0 -p /sbin/ldconfig
%postun -n libzvbi0 -p /sbin/ldconfig
%files -f %name.lang
%defattr(-,root,root)
%{_bindir}/*
%{_sbindir}/zvbid
%{_mandir}/man1/*
%doc AUTHORS BUGS COPYING NEWS README TODO
%files -n libzvbi0
%defattr(-,root,root)
%{_libdir}/libzvbi*.so.0
%{_libdir}/libzvbi*.so.0.*
%files devel
%defattr(-,root,root)
%{_includedir}/libzvbi.h
%{_libdir}/libzvbi*.so
%{_libdir}/pkgconfig/zvbi-0.2.pc
%doc doc/html
%changelog
* Thu Sep 11 2008 mmarek@suse.cz
- updated to 0.2.33
* includes zvbi-0.2.32-atsc-cc-include.patch
* Wed Sep 03 2008 mmarek@suse.cz
- updated to 0.2.32
* This version adds a new tool named zvbi-atsc-cc to record
Closed Caption from ATSC digital TV. It supports legacy NTSC
caption (EIA 608-B) and DTVCC (CEA 708-C).
* Mon Jul 28 2008 mmarek@suse.cz
- updated to 0.2.31
* The vbi_caption_unicode() function did not correctly translate
the small letter i with diaresis.
* The files daemon/chains.c, daemon/proxyd.c,
test/proxy-test.c and test/cc-test-stream.dtd are now licensed
under GPLv2 or later as stated in the top README file.
(fixes bnc#408881)
* Fri Jul 04 2008 mmarek@suse.cz
- updated to 0.2.30
* The ZVBI libraries libzvbi and libzvbi-chains are now licensed
under the terms of the GNU Library General Public License
version 2 or later. Example programs are now licensed under a
2-clause BSD-style license. The VBI proxy daemon, contributed
programs, test programs and programs required to build the
library remain licensed under GNU General Public License
version 2 or later.
* The VTX export module has been disabled for licensing reasons.
It may return after a rewrite.
* New BCD functions and vbi_ham24p(), counterpart of
vbi_unham24p(), were added.
* The artificial 41st column in Teletext pages is no longer black
but continues the previous column if appropriate.
* The --default-cs option of the export test tool now works with
libzvbi 0.2 as well.
* bugfixes
- split the library package into libzvbi0, updated package
descriptions
* Mon Feb 04 2008 mmarek@suse.cz
- updated to 0.2.26
* new program zvbi-ntsc-cc: ntsc-cc Closed Caption decoder from
the Xawtv package using libzvbi for driver access and bit
slicing.
* support for raw VBI capturing with unknown field order
* lots of other enhancements and bugfixes
- don't install static libraries and *.la files
* Fri Aug 31 2007 mmarek@suse.cz
- fixed build with new glibc
- specfile cleanup
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Sep 27 2005 mls@suse.de
- make devel package require base package
* Wed Jul 27 2005 kraxel@suse.de
- update to version 0.2.16.
* Mon Jan 24 2005 kraxel@suse.de
- update to version 0.2.13.
* Tue Jan 11 2005 kraxel@suse.de
- build fix: doygen needs libpng.
* Wed Jan 05 2005 kraxel@suse.de
- fix documentation build.
* Tue Jan 04 2005 kraxel@suse.de
- update to version 0.2.11
* Tue Jun 08 2004 kraxel@suse.de
- update to version 0.2.8
* Wed Feb 11 2004 kraxel@suse.de
- update to version 0.2.5
* Sun Nov 09 2003 adrian@suse.de
- add %%run_ldconfig
* Thu Jun 19 2003 ro@suse.de
- build with current gettext
* Tue May 27 2003 ro@suse.de
- add .la file to devel file list
* Mon Feb 17 2003 kraxel@suse.de
- updated to version 0.2.4 (adds v4l2 support)
* Fri Jan 17 2003 kraxel@suse.de
- fixed spec to make the package build on older distributions too.
* Tue Jan 14 2003 kraxel@suse.de
- updated to version 0.2.3
* Tue Nov 19 2002 schwab@suse.de
- Add AM_GNU_GETTEXT_VERSION.
* Wed Nov 13 2002 kraxel@suse.de
- updated to version 0.2.2
* Mon Nov 11 2002 ro@suse.de
- use x-devel-packages in neededforbuild
* Mon Jun 17 2002 kraxel@suse.de
- updated to version 0.2.1
* Tue Apr 30 2002 kraxel@suse.de
- fixed lib64 build problems.
* Thu Apr 11 2002 kraxel@suse.de
- initial release.