From ec9536c2b1c12e43ff047ecb2ec52dea6f5b90ba Mon Sep 17 00:00:00 2001 From: troyev Date: Wed, 22 May 2019 19:18:53 +0000 Subject: Added 'make rpm' target --- build/libva.spec | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 build/libva.spec (limited to 'build') diff --git a/build/libva.spec b/build/libva.spec new file mode 100644 index 0000000..0a54b18 --- /dev/null +++ b/build/libva.spec @@ -0,0 +1,39 @@ +Name: libva +Version: %{_version} +Release: el7 +Summary: Intel libva +License: MIT +Source0: %{_sourcefile} + +%package devel +Group: Development/Libraries +Summary: Development files for libva + +%description devel +Development files for libva + +BuildRequires: automake +BuildRequires: autoconf + +%description +Intel libva + +%prep + +%setup + +%build +./autogen.sh +make -j12 + +%install +make install DESTDIR=%{buildroot} +#mkdir -p %{buildroot}/usr/bin/ +#install -m 755 hello-world.sh %{buildroot}/usr/bin/hello-world.sh + +%files +/usr/local/lib/*.so* +%files devel +/usr/local/include/va/*.h +/usr/local/lib/pkgconfig/*.pc +/usr/local/lib/*.la -- cgit v1.2.1