1 Summary: Cross-platform, API-independent C++ video capture library
2 Summary(pl.UTF-8): Wieloplatformowa, niezależna od API biblioteka C++ do przechwytywania obrazu
8 Source0: http://downloads.sourceforge.net/libavcap/%{name}-%{version}.tar.gz
9 # Source0-md5: 7e7ba375c68ab37b984b91ae23d0f164
10 Patch0: %{name}-v4l2.patch
11 Patch1: %{name}-c++.patch
12 Patch2: %{name}-install.patch
13 URL: http://libavcap.sourceforge.net/
14 BuildRequires: autoconf >= 2.56
15 BuildRequires: automake
16 BuildRequires: libavc1394-devel
17 BuildRequires: libdv-devel
18 BuildRequires: libiec61883-devel
19 BuildRequires: libstdc++-devel
20 BuildRequires: libtool >= 2:1.5
21 BuildRequires: pkgconfig
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 The avcap-library (avcap: a video capture library) is a cross-API,
26 cross-platform simple and easy to use C++ video capture library. Its
27 aim is to provide a unified API for Linux, Windows and Mac OS X to
28 capture video from appropriate hardware. It hides the system specific
29 quirks and issues of different API's used on different systems to
30 access video capture hardware and hopefully helps to write portable
33 %description -l pl.UTF-8
34 Biblioteka avcap (biblioteka do przechwytywania obrazu) to
35 wieloplatformowa, niezależna od lokalnego API, łatwa w użyciu
36 biblioteka C++ do przechwytywania obrazu. Jej celem jest zapewnienie
37 jednolitego API dla Linuksa, Windows i Mac OS X, służącego do
38 przechwytywania obrazu z odpowiedniego sprzętu. Ukrywa zależne od
39 systemu szczegóły związane z różnymi API służącymi do dostępu do
40 urządzeń przechwytywania obrazu i ułatwia pisanie przenośnych
44 Summary: Header files for avcap library
45 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki avcap
46 Group: Development/Libraries
47 Requires: %{name} = %{version}-%{release}
48 Requires: libavc1394-devel
50 Requires: libiec61883-devel
51 Requires: libstdc++-devel
54 Header files for avcap library.
56 %description devel -l pl.UTF-8
57 Pliki nagłówkowe biblioteki avcap.
60 Summary: Static avcap library
61 Summary(pl.UTF-8): Statyczna biblioteka avcap
62 Group: Development/Libraries
63 Requires: %{name}-devel = %{version}-%{release}
68 %description static -l pl.UTF-8
69 Statyczna biblioteka avcap.
72 Summary: avcap API documentation
73 Summary(pl.UTF-8): Dokumentacja API biblioteki avcap
77 avcap API documentation.
79 %description apidocs -l pl.UTF-8
80 Dokumentacja API biblioteki avcap.
88 # keep AX_PREFIX_CONFIG_H, kill libtool macros
89 head -n 87 acinclude.m4 > acinclude.m4.tmp
90 %{__mv} acinclude.m4.tmp acinclude.m4
103 rm -rf $RPM_BUILD_ROOT
106 DESTDIR=$RPM_BUILD_ROOT
108 # .la kept, *.private dependencies are missing in .pc
111 rm -rf $RPM_BUILD_ROOT
113 %post -p /sbin/ldconfig
114 %postun -p /sbin/ldconfig
117 %defattr(644,root,root,755)
118 %doc AUTHORS ChangeLog README
119 %attr(755,root,root) %{_bindir}/captest
120 %attr(755,root,root) %{_libdir}/libavcap.so.*.*.*
121 %attr(755,root,root) %ghost %{_libdir}/libavcap.so.6
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_libdir}/libavcap.so
126 %{_libdir}/libavcap.la
128 %{_pkgconfigdir}/avcap.pc
131 %defattr(644,root,root,755)
132 %{_libdir}/libavcap.a
135 %defattr(644,root,root,755)