]> git.pld-linux.org Git - packages/libvpx.git/blob - libvpx.spec
- initial
[packages/libvpx.git] / libvpx.spec
1 Summary:        VP8, a high-quality video codec
2 Name:           libvpx
3 Version:        0.9.0
4 Release:        0.1
5 License:        BSD
6 Group:          Libraries
7 Source0:        http://webm.googlecode.com/files/%{name}-%{version}.tar.bz2
8 # Source0-md5:  9eb8e818d2f3263623c258fe66924082
9 URL:            http://www.webmproject.org/
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 VP8, a high-quality video codec.
16
17 %package devel
18 Summary:        Header files and develpment documentation for libvpx
19 Group:          Development/Libraries
20 Requires:       %{name} = %{epoch}:%{version}-%{release}
21
22 %description devel
23 Header files and documentation for libvpx.
24
25 %package static
26 Summary:        Static libvpx library
27 Group:          Development/Libraries
28 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
29
30 %description static
31 Static libvpx library.
32
33 %prep
34 %setup -q
35
36 %build
37 install -d build
38 cd build
39 # not autoconf configure
40 ../configure \
41 %ifarch %{x8664}
42         --target=x86_64-linux-gcc \
43 %endif
44 %ifarch %{ix86}
45         --target=x86-linux-gcc \
46 %endif
47         --enable-install-docs \
48         --enable-vp8 \
49         --enable-postproc \
50         --enable-runtime-cpu-detect
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} -C build install
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %post   -p /sbin/ldconfig
62 %postun -p /sbin/ldconfig
63
64 %files
65 %defattr(644,root,root,755)
66 %attr(755,root,root) %{_bindir}/vainfo
67 %attr(755,root,root) %{_libdir}/libvpx*.so.*.*
68 %attr(755,root,root) %ghost %{_libdir}/libvpx*.so.1
69 %dir %{_libdir}/%{name}
70 %dir %{_libdir}/%{name}/dri
71 %attr(755,root,root) %{_libdir}/%{name}/dri/*.so
72
73 %files devel
74 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_libdir}/libvpx*.so
76 %{_includedir}/va
77 %{_libdir}/libvpx*.la
78 %{_pkgconfigdir}/*.pc
79
80 %files static
81 %defattr(644,root,root,755)
82 %{_libdir}/libvpx*.a
This page took 0.280009 seconds and 4 git commands to generate.