1
0
forked from pool/kawaii-player

Accepting request 497851 from home:alois:branches:multimedia:apps

Do not enable Leap build, runtime dependencies are fully available only on Factory

OBS-URL: https://build.opensuse.org/request/show/497851
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/kawaii-player?expand=0&rev=1
This commit is contained in:
Martin Pluskal 2017-05-23 21:14:35 +00:00 committed by Git OBS Bridge
commit 97fa672b73
5 changed files with 108 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe6fa36ee6a76c4f4b462661242cc96604c389b3cd25d26cf05282d74a02478e
size 4030413

5
kawaii-player.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sat May 20 16:37:35 UTC 2017 - aloisio@gmx.com
- Initial package (1.4.0-0)

76
kawaii-player.spec Normal file
View File

@ -0,0 +1,76 @@
#
# 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
%define _over 1.4.0-0
Name: kawaii-player
Version: 1.4.0
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%{version}.tar.gz#/%{name}-%{_over}.tar.gz
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
%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-%{version}-py%{py3_ver}.egg-info
%changelog