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

  ViewVC Help
Powered by ViewVC 1.1.30