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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30