-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eglexternalplatform.spec
43 lines (34 loc) · 1.13 KB
/
eglexternalplatform.spec
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
%global date 20180914
%global debug_package %{nil}
Summary: EGL External Platform Interface headers
Name: eglexternalplatform
Version: 1.0
Release: 0.%{date}.2
Group: System/Libraries
License: MIT
URL: https://github.com/NVIDIA
# git archive --format=tar --prefix=eglexternalplatform-1.0-$(date +%Y%m%d)/ HEAD | xz -vf > eglexternalplatform-1.0-$(date +%Y%m%d).tar.xz
Source0: %{name}-%{version}-%{date}.tar.xz
BuildArch: noarch
%description
%summary.
%package devel
Summary: Development files for %{name}
Group: Development/C
%description devel
The %{name}-devel package contains the header files for
developing applications that use %{name}.
%prep
%autosetup -n %{name}-%{version}-%{date}
%build
%install
mkdir -p %{buildroot}%{_includedir}/
install -p -m 0644 interface/eglexternalplatform.h %{buildroot}%{_includedir}/
install -p -m 0644 interface/eglexternalplatformversion.h %{buildroot}%{_includedir}/
mkdir -p %{buildroot}%{_datadir}/pkgconfig/
install -p -m 0644 eglexternalplatform.pc %{buildroot}%{_datadir}/pkgconfig/
%files devel
%doc README.md samples
%license COPYING
%{_includedir}/*
%{_datadir}/pkgconfig/eglexternalplatform.pc