/[packages]/cauldron/zvvonlinetv/current/SPECS/zvvonlinetv.spec
ViewVC logotype

Contents of /cauldron/zvvonlinetv/current/SPECS/zvvonlinetv.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1819353 - (show annotations) (download)
Tue Mar 22 20:45:44 2022 UTC (2 years ago) by umeabot
File size: 1393 byte(s)
Mageia 9 Mass Rebuild
1 %global __python %{__python3}
2 %define app_name ZVVOnlineTV
3
4 Name: zvvonlinetv
5 Version: 3.2
6 Release: %mkrel 3
7 Summary: IPTV player and watch online TV streams
8 License: GPLv3
9 Group: Video/Television
10 Url: http://zvvubuntu.blogspot.com/2016/06/zvvonlinetv.html
11 Source0: %{name}-%{version}.tar.gz
12 BuildArch: noarch
13 BuildRequires: hicolor-icon-theme
14 Requires: python3-qt5-widgets
15 Requires: python3-qt5-gui
16 Requires: python3-qt5-multimedia
17 Requires: python3-qt5-multimediawidgets
18 Requires: mpv
19 Requires: ffmpeg
20 Requires: youtube-dl
21
22 %description
23 ZVVOnlineTV - a program for convenient work with IPTV and viewing
24 online TV, which has a simple and easy interface, not overloaded.
25
26 %prep
27 %setup -q
28 #fix Categories
29 sed -i "s|Categories=.*|Categories=AudioVideo;Player;|g" usr/share/applications/%{app_name}.desktop
30 #remove shebang
31 sed -i '1{\@^#!/usr/bin/env python@d}' usr/share/%{app_name}/%{app_name}.py
32 #fix permissions
33 find usr/share -type f -exec chmod -x {} \;
34 chmod -x docs/*
35
36 %build
37 #nothing
38
39 %install
40 cp -af usr %{buildroot}
41
42 %files
43 %doc docs/*.txt
44 %license docs/COPYING
45 %{_bindir}/%{name}
46 %{_bindir}/%{app_name}
47 %{_datadir}/icons/hicolor/*/apps/%{name}.png
48 %{_datadir}/applications/%{app_name}.desktop
49 %{_datadir}/%{app_name}

  ViewVC Help
Powered by ViewVC 1.1.30