File emotion-generic-players.spec of Package emotion-generic-players

# spec file for package emotion-generic-players
# Copyright (c) 2015 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

%define efl_version     1.14.0

Name:           emotion-generic-players
Version:        1.14.0
Release:        0
Summary:        Set of generic players for Emotion
License:        BSD-2-Clause
Group:          Development/Libraries/C and C++
Source:         emotion_generic_players-%{version}.tar.xz
# interesting issue here
# exported devel symbols has 1.10.0_beta2, but pkgconfig() symbols are 1.10.0-beta2
BuildRequires:  pkgconfig(ecore) >= %efl_version
BuildRequires:  pkgconfig(eina) >= %efl_version
BuildRequires:  pkgconfig(libvlc)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Set of generic players (currently VLC is supported) allowing to open video files through emotion. Useful only for emotion library.

%setup -q -n emotion_generic_players-%{version}

%configure --disable-static --disable-silent-rules
make %{?_smp_mflags}

make install DESTDIR="%buildroot"

%{?buildroot:rm -rf %{buildroot}}