/[packages]/cauldron/zvbi/current/SPECS/zvbi.spec
ViewVC logotype

Contents of /cauldron/zvbi/current/SPECS/zvbi.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1914788 - (show annotations) (download)
Fri Dec 2 20:24:02 2022 UTC (15 months, 3 weeks ago) by danf
File size: 2554 byte(s)
SILENT: Switch SourceForge project URLs to https:
1 %define major 0
2 %define libname %mklibname %{name} %{major}
3 %define develname %mklibname %{name} -d
4
5 Name: zvbi
6 Version: 0.2.35
7 Release: %mkrel 9
8 Summary: Raw VBI, Teletext and Closed Caption decoding library
9 License: GPLv2 and LGPLv2
10 Group: Video/Utilities
11 Url: https://zapping.sourceforge.net/
12 Source0: https://prdownloads.sourceforge.net/zapping/%{name}-%{version}.tar.bz2
13 Patch0: zvbi-0.2.31-linkage_fix.diff
14 Patch2: zvbi-0.2.7-fix-build.patch
15 Patch5: zvbi-0.2.33-automake-1.13.patch
16 BuildRequires: pkgconfig(x11)
17 BuildRequires: pkgconfig(libpng)
18 BuildRequires: doxygen
19 BuildRequires: gtk-doc
20 BuildRequires: gettext-devel
21 Requires: gettext >= 0.10.36
22
23 %description
24 Non-versioned files of zvbi, mainly libzvbi0 translations
25
26 %package -n %{libname}
27 Summary: Raw VBI, Teletext and Closed Caption decoding library
28 Group: System/Libraries
29
30 %description -n %{libname}
31 VBI stands for Vertical Blanking Interval, a gap between the image
32 data transmitted in an analog video signal. This gap is used to
33 transmit AM modulated data for various data services like Teletext and
34 Closed Caption.
35
36 The zvbi library provides routines to:
37 * read from raw VBI sampling devices (both V4L and V4L2 API are supported),
38 * a versatile raw vbi bit slicer,
39 * decoders for various data services and basic search,
40 * demodulate raw to sliced VBI data,
41 * interpret the data of several popular services.
42 * render and export functions for text pages.
43
44 The library is the vbi decoding backbone of the Zapping Gnome TV viewer
45 and Zapzilla Teletext browser.
46
47
48 %package -n %{develname}
49 Summary: Header files for developing apps which will use libzvbi
50 Group: Development/C
51 Requires: %{libname} = %{version}
52 Provides: lib%{name}-devel = %{version}-%{release}
53 Provides: %{name}-devel = %{version}-%{release}
54
55 %description -n %{develname}
56 Header files and static library of bzip2 functions, for developing apps which
57 will use the zvbi library (aka libzvbi)
58
59 %prep
60 %setup -q
61 %patch0 -p1 -b .linkage_fix
62 %patch2 -p0 -b .build
63 %patch5 -p1 -b .automake-1_13
64
65 %build
66 autoreconf -fi
67
68 %configure \
69 --disable-static
70
71 %make_build
72
73 %install
74 %make_install
75
76 %find_lang %{name}
77
78 # we don't want these
79 find %{buildroot} -name '*.la' -delete
80
81 %files -f %{name}.lang
82 %doc COPYING
83 %attr(755,root,root) %{_bindir}/*
84 %attr(755,root,root) %{_sbindir}/*
85 %{_mandir}/man1/*
86
87 %files -n %{libname}
88 %doc AUTHORS COPYING.LIB NEWS README
89 %{_libdir}/libzvbi*.so.%{major}{,.*}
90
91 %files -n %{develname}
92 %doc BUGS ChangeLog COPYING TODO doc/html
93 %{_libdir}/lib*.so
94 %{_libdir}/pkgconfig/*
95 %{_includedir}/libzvbi.h

  ViewVC Help
Powered by ViewVC 1.1.30