File media-downloader.spec of Package media-downloader
#
# spec file for package media-downloader
#
# Copyright (c) 2025 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: media-downloader
Version: 5.4.2
Release: 0
Summary: Qt GUI front end to youtube-dl
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Video/Players
URL: https://github.com/mhogomchungu/media-downloader
Source: https://github.com/mhogomchungu/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5Widgets)
Recommends: yt-dlp
%description
A Qt/C++ GUI frontend to youtube-dl that is capable of downloading any media supported by youtube-dl.
%prep
%setup -q
%build
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_BUILD_TYPE=RELEASE
%cmake_build
%install
%cmake_install
%fdupes %{buildroot}%{_datadir}
%files
%license LICENSE
%doc README.md
%{_bindir}/media-downloader
%{_datadir}/applications/media-downloader.desktop
%{_datadir}/pixmaps/media-downloader.png
%{_datadir}/media-downloader
%{_datadir}/media-downloader/translations
%{_datadir}/media-downloader/translations/*.qm
%changelog