File hypnotix.spec of Package hypnotix

#
# spec file for package hypnotix
#
# Copyright (c) 2024 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.6
Release:        0
Summary:        An M3U IPTV Player
License:        GPL-3.0-only
URL:            https://github.com/linuxmint/hypnotix
Source:         %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  hicolor-icon-theme
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gobject-2.0)
BuildRequires:  pkgconfig(gobject-introspection-1.0)
Requires:       iso-country-flags
Requires:       libmpv2
Requires:       yt-dlp
Requires:       python3-IMDbPY
Requires:       python3-gobject-Gdk
Requires:       python3-pycairo
Requires:       python3-requests
Requires:       python3-setproctitle
Requires:       python3-xapp
Requires:       typelib-1_0-Gtk-3_0
BuildArch:      noarch

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

%lang_package

%prep
%autosetup

%build
%make_build all

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

%files
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_prefix}/lib/%{name}
%{_datadir}/glib-2.0/schemas/org.x.hypnotix.gschema.xml
%{_datadir}/%{name}
%{_datadir}/icons/hicolor/scalable/apps/hypnotix.svg

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by