File helia.spec of Package helia

#
# spec file for package helia
#
# Copyright (c) 2019 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:           helia
Version:        9.4
Release:        0
Summary:        Digital TV (DVB-T2/S2/C, ATSC, DTMB, ISDB) & Media Player & IPTV
License:        LGPL-3.0
Group:          Productivity/Multimedia/Video/Players
Url:            https://www.opencode.net/vl-nix/helia
Source0:        https://www.opencode.net/vl-nix/helia/-/archive/%{version}/helia-%{version}.tar.bz2
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  libxml2-tools
BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gstreamer-1.0)
BuildRequires:  pkgconfig(gstreamer-mpegts-1.0)
BuildRequires:  pkgconfig(gstreamer-plugins-bad-1.0)
BuildRequires:  pkgconfig(gstreamer-plugins-base-1.0)
BuildRequires:  pkgconfig(gstreamer-video-1.0)
BuildRequires:  pkgconfig(gtk+-3.0)

%description
Digital TV
  + DVB-T2/S2/C, ATSC, DTMB, ISDB
  + Multifrontend
  + Scrambling
Media Player
  + Drag and Drop
      - files, folders, playlists - M3U, M3U8
  + Record IPTV

%prep
%setup -q -n helia-%{version}
chmod 755 autogen.sh

%build
./autogen.sh
%configure
make %{?_smp_mflags}

%install
%makeinstall
install -Dm 644 data/icons/helia-display.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
sed -i -e 's|Icon=display|Icon=%{name}|g' %{buildroot}%{_datadir}/applications/%{name}.desktop

%files
%defattr(-,root,root)
%doc Readme.md
%license License
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png

%changelog