source: projects/specs/branches/6/lib/libv/libv4l/libv4l-vl.spec @ 1901

Revision 1901, 2.8 KB checked in by Takemikaduchi, 14 years ago (diff)

rebuild with rpm-4.8.1

Line 
1Summary:        Collection of video4linux support libraries
2Summary(ja):    video4linux サポートライブラリ集
3Name:           libv4l
4Version:        0.4.2
5Release:        2%{?_dist_release}
6Group:          System Environment/Libraries
7License:        LGPLv2+
8URL:            http://hansdegoede.livejournal.com/3636.html
9Source0:        http://people.atrpms.net/~hdegoede/%{name}-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
11BuildRequires:  kernel-headers
12
13%description
14libv4l is a collection of libraries which adds a thin abstraction layer on
15top of video4linux2 devices. The purpose of this (thin) layer is to make it
16easy for application writers to support a wide variety of devices without
17having to write separate code for different devices in the same class. libv4l
18consists of 3 different libraries: libv4lconvert, libv4l1 and libv4l2.
19
20libv4lconvert offers functions to convert from any (known) pixelformat
21to V4l2_PIX_FMT_BGR24 or V4l2_PIX_FMT_YUV420.
22
23libv4l1 offers the (deprecated) v4l1 API on top of v4l2 devices, independent
24of the drivers for those devices supporting v4l1 compatibility (which many
25v4l2 drivers do not).
26
27libv4l2 offers the v4l2 API on top of v4l2 devices, while adding for the
28application transparent libv4lconvert conversion where necessary.
29
30
31%package        devel
32Summary:        Development files for %{name}
33Summary(ja):    %{name} の開発ファイル
34Group:          Development/Libraries
35Requires:       %{name} = %{version}-%{release}, pkgconfig
36
37%description    devel
38The %{name}-devel package contains libraries and header files for
39developing applications that use %{name}.
40
41
42%prep
43%setup -q
44
45
46%build
47make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \
48  PREFIX=%{_prefix} LIBDIR=%{_libdir}
49
50
51%install
52rm -rf $RPM_BUILD_ROOT
53make install PREFIX=%{_prefix} LIBDIR=%{_libdir} DESTDIR=$RPM_BUILD_ROOT
54
55
56%clean
57rm -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
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
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
Note: See TracBrowser for help on using the repository browser.