]> git.pld-linux.org Git - packages/libiec61883.git/blob - libiec61883.spec
refresh config.sub
[packages/libiec61883.git] / libiec61883.spec
1 Summary:        Streaming library for IEEE1394
2 Summary(pl.UTF-8):      Biblioteka strumieni dla IEEE1394
3 Name:           libiec61883
4 Version:        1.2.0
5 Release:        2
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        https://www.kernel.org/pub/linux/libs/ieee1394/%{name}-%{version}.tar.gz
9 # Source0-md5:  8af39fff74988073c3ad53fbab147da9
10 URL:            https://ieee1394.wiki.kernel.org/index.php/Libraries#libiec61883
11 BuildRequires:  automake
12 BuildRequires:  libraw1394-devel >= 1.2.1
13 BuildRequires:  pkgconfig
14 Requires:       libraw1394 >= 1.2.1
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 This library is an implementation of IEC 61883, part 1 (CIP, plug
19 registers, and CMP), part 2 (DV-SD), part 4 (MPEG2-TS), and part 6
20 (AMDTP). Outside of IIDC, nearly all FireWire multimedia devices use
21 IEC 61883 protocols.
22
23 The libiec61883 library provides a higher level API for streaming DV,
24 MPEG-2 and audio over Linux IEEE 1394. This includes both reception
25 and transmission. It uses the new "rawiso" API of libraw1394, which
26 transparently provides mmap-ed DMA for efficient data transfer. It
27 also represents the third generation of I/O technology for Linux 1394
28 for these media types thereby removing the complexities of additional
29 kernel modules, /dev nodes, and procfs. It also consolidates features
30 for plug control registers and connection management that previously
31 existed in experimental form in an unreleased version of libavc1394.
32
33 %description -l pl.UTF-8
34 Ta biblioteka jest implementacją części 1 (CIP, rejestry łącz, CMP),
35 części 2 (DV-SD), części 4 (MPEG2-TS) oraz części 6 (AMDTP) standardu
36 IEC 61883. Poza IIDC prawie wszystkie urządzenia multimedialne
37 FireWire używają protokołów IEC 61883.
38
39 Biblioteka libiec61883 udostępnia wysokopoziomowe API do przekazywania
40 strumieni DV, MPEG-2 i dźwięku po linuksowym IEEE 1394. Obejmuje to
41 zarówno przyjmowanie jak i przesyłanie. Używa nowego API "rawiso" z
42 libraw1394, które w sposób przezroczysty udostępnia mmapowane DMA do
43 wydajnego przesyłania danych. Biblioteka reprezentuje także trzecią
44 generację technologii wejścia/wyjścia dla projektu Linux 1394 dla tych
45 rodzajów nośników usuwając złożoność dodatkowych modułów jądra, węzłów
46 /dev oraz procfs. Łączy możliwości rejestrów sterowania łączami i
47 zarządzania połączeniami, które wcześniej istniały w postaci
48 eksperymentalnej w niewydanej wersji libavc1394.
49
50 %package devel
51 Summary:        libiec61883 header files
52 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libiec61883
53 Group:          Development/Libraries
54 Requires:       %{name} = %{version}-%{release}
55 Requires:       libraw1394-devel >= 1.2.1
56
57 %description devel
58 libiec61883 devel package.
59
60 %description devel -l pl.UTF-8
61 Pliki nagłówkowe biblioteki libiec61883.
62
63 %package static
64 Summary:        libiec61883 static library
65 Summary(pl.UTF-8):      Statyczna biblioteka do obsługi formatu IEEE-1394
66 Group:          Development/Libraries
67 Requires:       %{name}-devel = %{version}-%{release}
68
69 %description static
70 libiec61883 static librawy.
71
72 %description static -l pl.UTF-8
73 Statyczna biblioteka libiec61883.
74
75 %prep
76 %setup -q
77
78 %build
79 cp -f /usr/share/automake/config.sub .
80 %configure
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post   -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %files
96 %defattr(644,root,root,755)
97 %doc AUTHORS ChangeLog NEWS README
98 %attr(755,root,root) %{_bindir}/plug*
99 %attr(755,root,root) %{_libdir}/libiec61883.so.*.*.*
100 %attr(755,root,root) %ghost %{_libdir}/libiec61883.so.0
101 %{_mandir}/man1/plug*.1*
102
103 %files devel
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/libiec61883.so
106 %{_libdir}/libiec61883.la
107 %{_includedir}/libiec61883
108 %{_pkgconfigdir}/libiec61883.pc
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/libiec61883.a
This page took 0.074875 seconds and 4 git commands to generate.