]> git.pld-linux.org Git - packages/libvpx.git/blob - libvpx.spec
- BR: doxygen, php-pcre, php-program (for doc generator), yasm
[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 BuildRequires:  doxygen
13 BuildRequires:  php-pcre
14 BuildRequires:  php-program
15 BuildRequires:  yasm
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 VP8, a high-quality video codec.
20
21 %package devel
22 Summary:        Header files and develpment documentation for libvpx
23 Group:          Development/Libraries
24 Requires:       %{name} = %{epoch}:%{version}-%{release}
25
26 %description devel
27 Header files and documentation for libvpx.
28
29 %package static
30 Summary:        Static libvpx library
31 Group:          Development/Libraries
32 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
33
34 %description static
35 Static libvpx library.
36
37 %prep
38 %setup -q
39
40 %build
41 install -d build
42 cd build
43 # not autoconf configure
44 ../configure \
45 %ifarch %{x8664}
46         --target=x86_64-linux-gcc \
47 %endif
48 %ifarch %{ix86}
49         --target=x86-linux-gcc \
50 %endif
51         --enable-install-docs \
52         --enable-vp8 \
53         --enable-postproc \
54         --enable-runtime-cpu-detect
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} -C build install
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post   -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
67
68 %files
69 %defattr(644,root,root,755)
70 %attr(755,root,root) %{_bindir}/vainfo
71 %attr(755,root,root) %{_libdir}/libvpx*.so.*.*
72 %attr(755,root,root) %ghost %{_libdir}/libvpx*.so.1
73 %dir %{_libdir}/%{name}
74 %dir %{_libdir}/%{name}/dri
75 %attr(755,root,root) %{_libdir}/%{name}/dri/*.so
76
77 %files devel
78 %defattr(644,root,root,755)
79 %attr(755,root,root) %{_libdir}/libvpx*.so
80 %{_includedir}/va
81 %{_libdir}/libvpx*.la
82 %{_pkgconfigdir}/*.pc
83
84 %files static
85 %defattr(644,root,root,755)
86 %{_libdir}/libvpx*.a
This page took 0.943178 seconds and 3 git commands to generate.