/[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 434700 - (show annotations) (download)
Sun Jun 2 13:59:08 2013 UTC (10 years, 10 months ago) by fwang
File size: 2915 byte(s)
rebuild for new libpng
1 %define name zvbi
2 %define version 0.2.33
3 %define release %mkrel 10
4 %define libname %mklibname %name 0
5 %define develname %mklibname %name -d
6
7 Name: %{name}
8 Version: %{version}
9 Release: %{release}
10 Summary: Raw VBI, Teletext and Closed Caption decoding library
11 License: GPL
12 Group: Video/Utilities
13 Url: http://zapping.sourceforge.net/
14 Source0: http://prdownloads.sourceforge.net/zapping/%name-%version.tar.bz2
15 Patch0: zvbi-0.2.31-linkage_fix.diff
16 Patch2: zvbi-0.2.7-fix-build.patch
17 Patch3: zvbi-0.2.33-include_stat_h.patch
18 Patch4: zvbi-0.2.33-libpng15.patch
19 Patch5: zvbi-0.2.33-automake-1.13.patch
20 BuildRequires: libx11-devel
21 BuildRequires: gtk-doc
22 BuildRequires: libpng-devel
23 BuildRequires: doxygen
24 BuildRequires: gettext-devel
25 Requires: gettext >= 0.10.36
26
27 %description
28 Non versionated files of zvbi, mainly libzvbi0 translations
29
30 %package -n %{libname}
31 Summary: Raw VBI, Teletext and Closed Caption decoding library
32 Group: System/Libraries
33 %description -n %{libname}
34 VBI stands for Vertical Blanking Interval, a gap between the image
35 data transmitted in an analog video signal. This gap is used to
36 transmit AM modulated data for various data services like Teletext and
37 Closed Caption.
38
39 The zvbi library provides routines to:
40 * read from raw VBI sampling devices (both V4L and V4L2 API are supported),
41 * a versatile raw vbi bit slicer,
42 * decoders for various data services and basic search,
43 * demodulate raw to sliced VBI data,
44 * interpret the data of several popular services.
45 * render and export functions for text pages.
46
47 The library is the vbi decoding backbone of the Zapping Gnome TV viewer
48 and Zapzilla Teletext browser.
49
50
51 %package -n %{develname}
52 Summary: Header files for developing apps which will use libzvbi
53 Group: Development/C
54 Requires: %{libname} = %{version}
55 Provides: lib%{name}-devel = %{version}-%{release}
56 Provides: %{name}-devel
57 Obsoletes: %{name}-devel
58 Obsoletes: %{mklibname zvbi 0 -d}
59
60 %description -n %{develname}
61 Header files and static library of bzip2 functions, for developing apps which
62 will use the zvbi library (aka libzvbi)
63
64 %prep
65 %setup -q
66 %patch0 -p1 -b .linkage_fix
67 %patch2 -p0 -b .build
68 %patch3 -p1 -b .stat
69 %patch4 -p0 -b .png
70 %patch5 -p1 -b .automake-1_13
71
72 %build
73 autoreconf -fi
74
75 %configure2_5x
76 # gtkdoc fix:
77 cp /usr/share/gtk-doc/data/gtkdoc-common.pl doc/
78 %make
79
80 %install
81 rm -rf %{buildroot}
82 %{makeinstall_std}
83 %find_lang %name
84
85 # don't ship .a, .la
86 find %{buildroot} -name *.a | xargs rm -f
87 find %{buildroot} -name *.la | xargs rm -f
88
89 %clean
90 rm -rf %{buildroot}
91
92 %files -f %name.lang
93 %defattr(644,root,root,755)
94 %doc COPYING
95 %attr(755,root,root) %_bindir/*
96 %attr(755,root,root) %_sbindir/*
97 %_mandir/man1/*
98
99 %files -n %libname
100 %defattr (-, root, root)
101 %doc AUTHORS COPYING NEWS README
102 %_libdir/libzvbi*.so.*
103
104 %files -n %{develname}
105 %defattr(644,root,root,755)
106 %doc BUGS ChangeLog COPYING TODO doc/html
107 %_libdir/lib*.so
108 %_libdir/pkgconfig/*
109 %_includedir/libzvbi.h

  ViewVC Help
Powered by ViewVC 1.1.30