File epymc.spec of Package epymc

#
# spec file for package epour
#
# Copyright (c) 2015 SUSE LINUX Products 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:           epymc
Version:        1.1.0.1
Release:        0
Summary:        A Media Center designed to run on a large number of devices
License:        GPL-3.0+
Group:          Productivity/Multimedia/Video/Players
Url:			https://github.com/DaveMDS/epymc
Source0:        %{name}-%{version}.tar.gz
BuildArchitectures: noarch
BuildRequires:	python-efl
BuildRequires:	efl-devel
BuildRequires:	python-distutils-extra
BuildRequires:	intltool
buildroot:      %{_tmppath}/%{name}-1.1.0-build
%if 0%{?suse_version}
BuildRequires:  fdupes
BuildRequires:  update-desktop-files
%endif

%description


EpyMC is a Media Center application written in python that use the Enlightenment Foundation Library as
the living base. 
%prep
%setup -q -n  %{name}-%{version}

%build
python setup.py build

%install
python setup.py install --root "%{buildroot}"
%if 0%{?suse_version}
%fdupes %{buildroot}/%{_datadir}
%suse_update_desktop_file epymc "Video;Player"
%endif

%files
%defattr(-,root,root,-)
%doc README.md COPYING TODO
%{_bindir}/epymc
%{_bindir}/epymc_standalone
%{python_sitelib}/epymc*
%{python_sitelib}/EpyMC*
%{_datadir}/icons/*
%{_datadir}/applications/epymc.desktop
%{_datadir}/xsessions/epymc_xsession.desktop

%changelog
openSUSE Build Service is sponsored by