]>
Commit | Line | Data |
---|---|---|
3b7feb04 | 1 | Summary: Raw VBI, Teletext and Closed Caption decoding library |
1efb0476 | 2 | Summary(pl.UTF-8): Biblioteka dekodująca VBI |
69976c22 | 3 | Name: zvbi |
8decc163 | 4 | Version: 0.2.33 |
f1763364 | 5 | Release: 3 |
e06af95a | 6 | License: GPL v2+ |
69976c22 | 7 | Group: Libraries |
36dc68d4 | 8 | Source0: http://downloads.sourceforge.net/zapping/%{name}-%{version}.tar.bz2 |
8decc163 | 9 | # Source0-md5: 1741a6045c3eedfb611d645f2da69ac8 |
9724b9ec | 10 | Patch0: %{name}-include.patch |
36dc68d4 JB |
11 | Patch1: %{name}-includes.patch |
12 | Patch2: %{name}-link.patch | |
69976c22 | 13 | URL: http://zapping.sourceforge.net/ |
9724b9ec JB |
14 | BuildRequires: autoconf >= 2.59 |
15 | BuildRequires: automake >= 1:1.9 | |
3da227c1 | 16 | BuildRequires: doxygen |
36dc68d4 | 17 | BuildRequires: gettext-devel >= 0.16.1 |
3da227c1 | 18 | BuildRequires: libpng-devel |
3b7feb04 | 19 | BuildRequires: libtool |
69976c22 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
69976c22 | 22 | %description |
2d93314d | 23 | VBI stands for Vertical Blanking Interval, a gap between the image |
24 | data transmitted in an analog video signal. This gap is used to | |
25 | transmit AM modulated data for various data services like Teletext and | |
26 | Closed Caption. | |
27 | ||
28 | The zvbi library provides routines to read from raw VBI sampling | |
29 | devices, to demodulate raw to sliced VBI data, and to interpret the | |
30 | data of several popular services. It has been written for the Zapping | |
31 | TV viewer <http://zapping.sourceforge.net/>. | |
32 | ||
2b961201 JR |
33 | %description -l pl.UTF-8 |
34 | VBI jest skrótem od Vertical Blanking Interval, czyli interwał | |
35 | wygaszania pionowego, który jest odstępem pomiędzy danymi obrazu | |
36 | transmitowanymi w analogowym sygnale wideo. Ten odstęp jest używany do | |
37 | transmisji danych rozmaitych usług takich, jak teletekst i Closed | |
2d93314d | 38 | Caption, modulowanych w AM. |
39 | ||
2b961201 JR |
40 | Biblioteka zvbi udostępnia funkcje do odczytu z surowych urządzeń |
41 | próbkujących VBI, do demodulacji surowych danych VBI i do | |
42 | interpretacji tych danych dla kilku popularnych usług. Została ona | |
2d93314d | 43 | napisana dla programu TV Zapping <http://zapping.sourceforge.net/>. |
69976c22 | 44 | |
45 | %package devel | |
46 | Summary: zvbi heades files | |
1efb0476 | 47 | Summary(pl.UTF-8): Pliki nagłówkowe do zvbi |
69976c22 | 48 | Group: Development/Libraries |
72f2b552 | 49 | Requires: %{name} = %{version}-%{release} |
3da227c1 | 50 | Requires: libpng-devel |
69976c22 | 51 | |
52 | %description devel | |
2d93314d | 53 | Header files and documentation for the support library for the zvbi |
54 | library. | |
55 | ||
2b961201 JR |
56 | %description devel -l pl.UTF-8 |
57 | Pliki nagłówkowe i dokumentacja do zvbi. | |
69976c22 | 58 | |
59 | %package static | |
2d93314d | 60 | Summary: Static zvbi library |
1efb0476 | 61 | Summary(pl.UTF-8): Biblioteka statyczna zvbi |
69976c22 | 62 | Group: Development/Libraries |
72f2b552 | 63 | Requires: %{name}-devel = %{version}-%{release} |
69976c22 | 64 | |
65 | %description static | |
2d93314d | 66 | Static zvbi library. |
67 | ||
2b961201 | 68 | %description static -l pl.UTF-8 |
2d93314d | 69 | Statyczna biblioteka zvbi. |
69976c22 | 70 | |
71 | %prep | |
72 | %setup -q | |
9724b9ec | 73 | %patch0 -p1 |
36dc68d4 JB |
74 | %patch1 -p1 |
75 | %patch2 -p1 | |
69976c22 | 76 | |
77 | %build | |
eb96b334 | 78 | %{__libtoolize} |
acf8576e | 79 | %{__gettextize} |
3da227c1 | 80 | %{__aclocal} -I m4 |
eb96b334 | 81 | %{__autoconf} |
82 | %{__automake} | |
69976c22 | 83 | %configure |
84 | %{__make} | |
85 | ||
86 | %install | |
87 | rm -rf $RPM_BUILD_ROOT | |
3b7feb04 | 88 | |
69976c22 | 89 | %{__make} install \ |
90 | DESTDIR=$RPM_BUILD_ROOT | |
91 | ||
69976c22 | 92 | %find_lang %{name} |
93 | ||
69976c22 | 94 | %clean |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
3da227c1 JB |
97 | %post -p /sbin/ldconfig |
98 | %postun -p /sbin/ldconfig | |
99 | ||
69976c22 | 100 | %files -f %{name}.lang |
101 | %defattr(644,root,root,755) | |
19830716 | 102 | %doc AUTHORS ChangeLog BUGS NEWS README TODO |
8eed02e0 | 103 | %attr(755,root,root) %{_bindir}/zvbi-* |
78674184 | 104 | %attr(755,root,root) %{_sbindir}/zvbid |
17593849 JB |
105 | %attr(755,root,root) %{_libdir}/libzvbi.so.*.*.* |
106 | %attr(755,root,root) %ghost %{_libdir}/libzvbi.so.0 | |
107 | %attr(755,root,root) %{_libdir}/libzvbi-chains.so.*.*.* | |
108 | %attr(755,root,root) %ghost %{_libdir}/libzvbi-chains.so.0 | |
109 | %{_mandir}/man1/zvbi-*.1* | |
110 | %{_mandir}/man1/zvbid.1* | |
69976c22 | 111 | |
112 | %files devel | |
113 | %defattr(644,root,root,755) | |
17593849 JB |
114 | %doc doc/html |
115 | %attr(755,root,root) %{_libdir}/libzvbi.so | |
116 | %attr(755,root,root) %{_libdir}/libzvbi-chains.so | |
117 | %{_libdir}/libzvbi.la | |
118 | %{_libdir}/libzvbi-chains.la | |
119 | %{_includedir}/libzvbi.h | |
120 | %{_pkgconfigdir}/zvbi-0.2.pc | |
69976c22 | 121 | |
122 | %files static | |
123 | %defattr(644,root,root,755) | |
17593849 JB |
124 | %{_libdir}/libzvbi.a |
125 | %{_libdir}/libzvbi-chains.a |