File hypnotix.spec of Package hypnotix

#
# spec file for package hypnotix
#
# Copyright (c) 2021 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#


Name:           hypnotix
Version:        4.5
Release:        0
Summary:        An M3U IPTV Player 
License:        GPL-2.0-or-later
Group:          Productivity/Multimedia/Video/Players
URL:            https://github.com/linuxmint/hypnotix
Source:         https://github.com/linuxmint/hypnotix/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(gobject-2.0)
BuildRequires:  pkgconfig(gobject-introspection-1.0)
Requires:       libmpv2
Requires:       python3-IMDbPY
Requires:       python3-setproctitle
Requires:       python3-gobject-Gdk
Requires:       python3-xapp
Requires:       python3-pycairo
Requires:       typelib-1_0-Gtk-3_0
BuildArch:      noarch

%description
Hypnotix is an IPTV streaming application with support for live TV, movies and series.

%prep
%autosetup -p1

%build
make all

%install
cp -r usr %{buildroot}
%find_lang %{name}

%files -f %{name}.lang
%{_bindir}/hypnotix
%dir %{_prefix}/lib/hypnotix
%{_prefix}/lib/hypnotix/*
%{_datadir}/applications/hypnotix.desktop
%{_datadir}/glib-2.0/schemas/org.x.hypnotix.gschema.xml
%dir %{_datadir}/hypnotix
%{_datadir}/hypnotix/*
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/scalable
%dir %{_datadir}/icons/hicolor/scalable/apps
%{_datadir}/icons/hicolor/scalable/apps/hypnotix.svg
openSUSE Build Service is sponsored by