]> git.pld-linux.org Git - packages/zvbi.git/blob - zvbi.spec
- updated to 0.2.42
[packages/zvbi.git] / zvbi.spec
1 Summary:        Raw VBI, Teletext and Closed Caption decoding library
2 Summary(pl.UTF-8):      Biblioteka dekodująca VBI
3 Name:           zvbi
4 Version:        0.2.42
5 Release:        1
6 License:        GPL v2+
7 Group:          Libraries
8 #Source0Download: https://github.com/zapping-vbi/zvbi/releases
9 Source0:        https://github.com/zapping-vbi/zvbi/archive/v%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5:  f52dd4437a52ba3d3437e39c69184c6f
11 Patch0:         %{name}-include.patch
12 Patch1:         %{name}-link.patch
13 URL:            https://zapping.sourceforge.net/ZVBI/
14 BuildRequires:  autoconf >= 2.71
15 BuildRequires:  automake >= 1:1.16
16 BuildRequires:  doxygen
17 BuildRequires:  gettext-tools >= 0.16.1
18 BuildRequires:  libpng-devel
19 BuildRequires:  libtool >= 2:2
20 BuildRequires:  xorg-lib-libX11-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 VBI stands for Vertical Blanking Interval, a gap between the image
25 data transmitted in an analog video signal. This gap is used to
26 transmit AM modulated data for various data services like Teletext and
27 Closed Caption.
28
29 The zvbi library provides routines to read from raw VBI sampling
30 devices, to demodulate raw to sliced VBI data, and to interpret the
31 data of several popular services. It has been written for the Zapping
32 TV viewer <http://zapping.sourceforge.net/>.
33
34 %description -l pl.UTF-8
35 VBI jest skrótem od Vertical Blanking Interval, czyli interwał
36 wygaszania pionowego, który jest odstępem pomiędzy danymi obrazu
37 transmitowanymi w analogowym sygnale wideo. Ten odstęp jest używany do
38 transmisji danych rozmaitych usług takich, jak teletekst i Closed
39 Caption, modulowanych w AM.
40
41 Biblioteka zvbi udostępnia funkcje do odczytu z surowych urządzeń
42 próbkujących VBI, do demodulacji surowych danych VBI i do
43 interpretacji tych danych dla kilku popularnych usług. Została ona
44 napisana dla programu TV Zapping <http://zapping.sourceforge.net/>.
45
46 %package devel
47 Summary:        zvbi heades files
48 Summary(pl.UTF-8):      Pliki nagłówkowe do zvbi
49 Group:          Development/Libraries
50 Requires:       %{name} = %{version}-%{release}
51 Requires:       libpng-devel
52
53 %description devel
54 Header files and documentation for the support library for the zvbi
55 library.
56
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe i dokumentacja do zvbi.
59
60 %package static
61 Summary:        Static zvbi library
62 Summary(pl.UTF-8):      Biblioteka statyczna zvbi
63 Group:          Development/Libraries
64 Requires:       %{name}-devel = %{version}-%{release}
65
66 %description static
67 Static zvbi library.
68
69 %description static -l pl.UTF-8
70 Statyczna biblioteka zvbi.
71
72 %prep
73 %setup -q
74 %patch0 -p1
75 %patch1 -p1
76
77 %build
78 %{__libtoolize}
79 %{__gettextize}
80 %{__aclocal} -I m4
81 %{__autoconf}
82 %{__automake}
83 %configure
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} install \
90         DESTDIR=$RPM_BUILD_ROOT
91
92 %find_lang %{name}
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %post   -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
99
100 %files -f %{name}.lang
101 %defattr(644,root,root,755)
102 %doc AUTHORS BUGS ChangeLog NEWS README.md TODO
103 %attr(755,root,root) %{_bindir}/zvbi-*
104 %attr(755,root,root) %{_sbindir}/zvbid
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*
111
112 %files devel
113 %defattr(644,root,root,755)
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
121
122 %files static
123 %defattr(644,root,root,755)
124 %{_libdir}/libzvbi.a
125 %{_libdir}/libzvbi-chains.a
This page took 0.144026 seconds and 4 git commands to generate.