blob: 519ecf90b5fd75308b1956fffb04bf2f78bb5cbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
%ifarch %{ix86}
%define PKGPATH "pkgconfig_i686"
%else
%define PKGPATH "pkgconfig_arm"
%endif
Name: opengl-es
Summary: Meta Package for the OpenGL ES library
Version: 0.1.1
Release: 4
Group: Graphics/Library
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
Source1001: opengl-es.manifest
Requires: opengl-es-drv
%description
metapackage for the OpenGL ES library
This is a meta package that will point to the latest OpenGL ES driver.
.
It does not provide any drivers itself..
%package devel
Summary: Meta Package for development files of the OpenGL ES library
Group: Development/Graphics
Requires: %{name} = %{version}-%{release}
Requires: opengl-es-drv-devel
%description devel
metapackage for development files of the OpenGL ES library
This is a meta package that will point to the latest development libraries,
header files needed by programs that want to compile with OpenGL ES.
.
It does not provide any development files itself..
%prep
%setup -q
cp %{SOURCE1001} .
%build
%install
mkdir -p %{buildroot}%{_libdir}/pkgconfig
cp -a ./%{PKGPATH}/*.pc %{buildroot}%{_libdir}/pkgconfig/
%files
%manifest %{name}.manifest
%license LICENSE
%manifest opengl-es.manifest
%defattr(-,root,root,-)
%files devel
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/opengl-es-11.pc
%{_libdir}/pkgconfig/opengl-es-20.pc
|