[521] | 1 | Summary: Collection of video4linux support libraries |
---|
| 2 | Summary(ja): video4linux サポートライブラリ集 |
---|
| 3 | Name: libv4l |
---|
| 4 | Version: 0.4.2 |
---|
[1901] | 5 | Release: 2%{?_dist_release} |
---|
[521] | 6 | Group: System Environment/Libraries |
---|
| 7 | License: LGPLv2+ |
---|
| 8 | URL: http://hansdegoede.livejournal.com/3636.html |
---|
| 9 | Source0: http://people.atrpms.net/~hdegoede/%{name}-%{version}.tar.gz |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 11 | BuildRequires: kernel-headers |
---|
| 12 | |
---|
| 13 | %description |
---|
| 14 | libv4l is a collection of libraries which adds a thin abstraction layer on |
---|
| 15 | top of video4linux2 devices. The purpose of this (thin) layer is to make it |
---|
| 16 | easy for application writers to support a wide variety of devices without |
---|
| 17 | having to write separate code for different devices in the same class. libv4l |
---|
| 18 | consists of 3 different libraries: libv4lconvert, libv4l1 and libv4l2. |
---|
| 19 | |
---|
| 20 | libv4lconvert offers functions to convert from any (known) pixelformat |
---|
| 21 | to V4l2_PIX_FMT_BGR24 or V4l2_PIX_FMT_YUV420. |
---|
| 22 | |
---|
| 23 | libv4l1 offers the (deprecated) v4l1 API on top of v4l2 devices, independent |
---|
| 24 | of the drivers for those devices supporting v4l1 compatibility (which many |
---|
| 25 | v4l2 drivers do not). |
---|
| 26 | |
---|
| 27 | libv4l2 offers the v4l2 API on top of v4l2 devices, while adding for the |
---|
| 28 | application transparent libv4lconvert conversion where necessary. |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | %package devel |
---|
| 32 | Summary: Development files for %{name} |
---|
| 33 | Summary(ja): %{name} の開発ファイル |
---|
| 34 | Group: Development/Libraries |
---|
| 35 | Requires: %{name} = %{version}-%{release}, pkgconfig |
---|
| 36 | |
---|
| 37 | %description devel |
---|
| 38 | The %{name}-devel package contains libraries and header files for |
---|
| 39 | developing applications that use %{name}. |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %prep |
---|
| 43 | %setup -q |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %build |
---|
| 47 | make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \ |
---|
| 48 | PREFIX=%{_prefix} LIBDIR=%{_libdir} |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | %install |
---|
| 52 | rm -rf $RPM_BUILD_ROOT |
---|
| 53 | make install PREFIX=%{_prefix} LIBDIR=%{_libdir} DESTDIR=$RPM_BUILD_ROOT |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %clean |
---|
| 57 | rm -rf $RPM_BUILD_ROOT |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %post -p /sbin/ldconfig |
---|
| 61 | |
---|
| 62 | %postun -p /sbin/ldconfig |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | %files |
---|
| 66 | %defattr(-,root,root,-) |
---|
| 67 | %doc COPYING.LIB ChangeLog README TODO |
---|
| 68 | %{_libdir}/libv4l*.so.* |
---|
| 69 | %{_libdir}/libv4l |
---|
| 70 | |
---|
| 71 | %files devel |
---|
| 72 | %defattr(-,root,root,-) |
---|
| 73 | %doc README.multi-threading |
---|
| 74 | %{_includedir}/libv4l*.h |
---|
| 75 | %{_libdir}/libv4l*.so |
---|
| 76 | %{_libdir}/pkgconfig/libv4l*.pc |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | %changelog |
---|
[1901] | 80 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.2-2 |
---|
| 81 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 82 | |
---|
[521] | 83 | * Mon Sep 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.2-1 |
---|
| 84 | - initial build for Vine Linux |
---|
| 85 | |
---|
| 86 | * Fri Aug 29 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4.2-1 |
---|
| 87 | - New upstream release 0.4.2 |
---|
| 88 | |
---|
| 89 | * Tue Aug 26 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4.1-1 |
---|
| 90 | - New upstream release 0.4.1 |
---|
| 91 | |
---|
| 92 | * Sun Aug 3 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.4.0-1 |
---|
| 93 | - New upstream release 0.4.0 |
---|
| 94 | |
---|
| 95 | * Tue Jul 30 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.3.8-1 |
---|
| 96 | - New upstream release 0.3.8 |
---|
| 97 | |
---|
| 98 | * Sat Jul 26 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.3.7-1 |
---|
| 99 | - Initial Fedora package |
---|