File libyami-utils.spec of Package libyami-utils
#
# spec file for package libyami-utils
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libyami-utils
Version: 1.1.0
Release: 0
Summary: Collection of tools for development and testing of Libyami
License: Apache-2.0
Group: Development/Tools/Other
Url: https://github.com/01org/libyami-utils
Source0: https://github.com/01org/libyami-utils/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
# Intel graphics hardware only available on these platforms
ExclusiveArch : %ix86 x86_64
BuildRequires : gcc-c++
BuildRequires : automake
BuildRequires : autoconf
BuildRequires : libtool
BuildRequires : pkgconfig
BuildRequires : xz
BuildRequires : libavformat-devel
BuildRequires : libva-devel
BuildRequires : libyami-devel
BuildRequires : pkgconfig(egl)
BuildRequires : pkgconfig(glesv2)
BuildRequires : pkgconfig(libdrm)
BuildRequires : pkgconfig(libdrm_intel)
BuildRequires : pkgconfig(libv4l2)
BuildRequires : pkgconfig(libva-x11)
BuildRequires : pkgconfig(libbsd)
#Requires:
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The libyami-utils package implements libyami based apps for Linux.
This package provides applications for libyami.
%prep
%setup -q -n %{name}-%{version}
%build
export LANG=C
autoreconf -fi
%configure \
--disable-static \
--with-package-name="Libyami Media Utils (Opensuse)" \
--with-package-origin="http://www.opensuse.org/" \
--enable-avformat
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
find %{buildroot} -type f -name "*.la" -delete -print
%files
%defattr(-,root,root)
%doc
%{_bindir}/*
%{_mandir}/man*/*
%changelog