1
0
forked from pool/kawaii-player
kawaii-player/kawaii-player.spec

80 lines
2.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package kawaii-player
#
# Copyright (c) 2017 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/
#
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Accepting request 519953 from home:alois:branches:multimedia:apps - Update to version 2.2.0-1 * Improved video management functionalities. * Allows creating new video categories * Allows renaming of title and playlist entries * Group rename of playlist entries * Improved contextmenu with grouping of various categories * Allows getting information for entire collection * TMDB support added * Supports both duckduckgo and google as search engine backend for getting information from either TVDB or TMDB. * Keyboard shortcuts have been changed * Allows direct jump on title starting with letter when keyboard button pertaining to that letter is pressed * Firefox related bug fixed when loading subtitles * New background image modes with shortcuts (ctrl+0 and ctrl+9) added * Some image resizing issues fixed with python-pillow * Allows using the application as both server as well as client * Added new MyServer addon for managing peer-to-peer mode. * Servers can broadcast themselves in the local network so that clients can discover it without having to remember local IP address of each media server. * Allows modifying broadcast message of server * Users can manually set server's upload speed * mpv now remembers last aspect ratio * Better OSD display on changing aspect ratio * Critical bug fixed in deleting bookmarked playlist version 2.0.0-0: * Various modules separated and major overhaul of large codebase * Headless browser included * Proper support added for qtwebkit along with qtwebengine as backend for headless browser * Multiple bug fixes OBS-URL: https://build.opensuse.org/request/show/519953 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/kawaii-player?expand=0&rev=4
2017-08-31 15:29:29 +00:00
%define _over 2.2.0-1
%define _bver 2.2.0
Name: kawaii-player
Version: 2.2.0.1
Release: 0
Summary: Multimedia player, library manager and media server
License: GPL-3.0
Group: Productivity/Multimedia/Video/Players
Url: https://github.com/kanishka-linux/kawaii-player
Source0: https://github.com/kanishka-linux/kawaii-player/archive/v%{_over}.tar.gz#/%{name}-%{_over}.tar.gz
Accepting request 519953 from home:alois:branches:multimedia:apps - Update to version 2.2.0-1 * Improved video management functionalities. * Allows creating new video categories * Allows renaming of title and playlist entries * Group rename of playlist entries * Improved contextmenu with grouping of various categories * Allows getting information for entire collection * TMDB support added * Supports both duckduckgo and google as search engine backend for getting information from either TVDB or TMDB. * Keyboard shortcuts have been changed * Allows direct jump on title starting with letter when keyboard button pertaining to that letter is pressed * Firefox related bug fixed when loading subtitles * New background image modes with shortcuts (ctrl+0 and ctrl+9) added * Some image resizing issues fixed with python-pillow * Allows using the application as both server as well as client * Added new MyServer addon for managing peer-to-peer mode. * Servers can broadcast themselves in the local network so that clients can discover it without having to remember local IP address of each media server. * Allows modifying broadcast message of server * Users can manually set server's upload speed * mpv now remembers last aspect ratio * Better OSD display on changing aspect ratio * Critical bug fixed in deleting bookmarked playlist version 2.0.0-0: * Various modules separated and major overhaul of large codebase * Headless browser included * Proper support added for qtwebkit along with qtwebengine as backend for headless browser * Multiple bug fixes OBS-URL: https://build.opensuse.org/request/show/519953 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/kawaii-player?expand=0&rev=4
2017-08-31 15:29:29 +00:00
BuildRequires: fdupes
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: ffmpegthumbnailer
Requires: mpv
Requires: python3-Pillow
Requires: python3-base
Requires: python3-beautifulsoup4
Requires: python3-libtorrent-rasterbar
Requires: python3-lxml
Requires: python3-mutagen
Requires: python3-pycurl
Requires: python3-pytaglib
Requires: python3-qt5
# The one below only until the patched python-qt5 reaches Factory
Requires: python3-sip
Requires: python3-youtube-dl
BuildArch: noarch
%description
Kawaii-Player is an audio/video manager and multimedia player based on mpv
and can also work as media server.
%prep
%setup -q -n %{name}-%{_over}
sed -e '/^Icon/cIcon = %{name}' -e '/^Exec/cExec = %{name} %f' -e '1d' -i ubuntu/%{name}.desktop
sed -e "s/bs4/beautifulsoup4/g" -e "s/'PyQt5',//g" -i setup.py
%build
python3 setup.py build
%install
python3 setup.py install --root=%{buildroot} --prefix=%{_prefix}
mkdir -pv %{buildroot}/%{_datadir}/applications %{buildroot}/%{_datadir}/pixmaps
install -m 0644 ubuntu/%{name}.desktop %{buildroot}/%{_datadir}/applications/%{name}.desktop
install -m 0644 kawaii_player/tray.png %{buildroot}/%{_datadir}/pixmaps/%{name}.png
Accepting request 519953 from home:alois:branches:multimedia:apps - Update to version 2.2.0-1 * Improved video management functionalities. * Allows creating new video categories * Allows renaming of title and playlist entries * Group rename of playlist entries * Improved contextmenu with grouping of various categories * Allows getting information for entire collection * TMDB support added * Supports both duckduckgo and google as search engine backend for getting information from either TVDB or TMDB. * Keyboard shortcuts have been changed * Allows direct jump on title starting with letter when keyboard button pertaining to that letter is pressed * Firefox related bug fixed when loading subtitles * New background image modes with shortcuts (ctrl+0 and ctrl+9) added * Some image resizing issues fixed with python-pillow * Allows using the application as both server as well as client * Added new MyServer addon for managing peer-to-peer mode. * Servers can broadcast themselves in the local network so that clients can discover it without having to remember local IP address of each media server. * Allows modifying broadcast message of server * Users can manually set server's upload speed * mpv now remembers last aspect ratio * Better OSD display on changing aspect ratio * Critical bug fixed in deleting bookmarked playlist version 2.0.0-0: * Various modules separated and major overhaul of large codebase * Headless browser included * Proper support added for qtwebkit along with qtwebengine as backend for headless browser * Multiple bug fixes OBS-URL: https://build.opensuse.org/request/show/519953 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/kawaii-player?expand=0&rev=4
2017-08-31 15:29:29 +00:00
%fdupes -s %{buildroot}%{python3_sitelib}
%files
%defattr(-,root,root)
%doc LICENSE README.md
%{_bindir}/%{name}
%{_bindir}/%{name}-console
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/applications/%{name}.desktop
%{python3_sitelib}/kawaii_player
%{python3_sitelib}/kawaii_player-%{_bver}-py%{py3_ver}.egg-info
%changelog