1 |
# Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys |
2 |
# Note: these are for Mageia use ONLY. |
3 |
# For your own builds, please get your own set of keys. |
4 |
%define google_api_key AIzaSyCV9AOzytWwWCtNE8f7ZV56fP1u9yWwhVU |
5 |
|
6 |
Name: minitube |
7 |
Version: 2.5.1 |
8 |
Release: %mkrel 1 |
9 |
Summary: A native YouTube client |
10 |
Group: Video/Players |
11 |
License: GPLv3+ |
12 |
URL: http://flavio.tordini.org/minitube |
13 |
Source0: https://github.com/flaviotordini/minitube/archive/%{version}/%{name}-%{version}.tar.gz |
14 |
Patch0: minitube-1.8-missing-include.patch |
15 |
Patch1: minitube-2.5-ignore-ssl-errors.patch |
16 |
# Patches from debian |
17 |
Patch10: minitube-2.0-assure-quit-keybinding |
18 |
|
19 |
BuildRequires: qt4-devel |
20 |
BuildRequires: phonon-devel |
21 |
BuildRequires: vlc-devel |
22 |
# minitube no longer supports anything other than the vlc phonon. |
23 |
Requires: phonon-vlc |
24 |
Requires: vlc-plugin-gnutls |
25 |
|
26 |
%description |
27 |
Minitube is a native YouTube client. With it you can watch YouTube videos in |
28 |
a new way: you type a keyword, Minitube gives you an endless video stream. |
29 |
Minitube does not require the Flash Player. |
30 |
|
31 |
Minitube is not about cloning the original Youtube web interface, it strives |
32 |
to create a new TV-like experience. |
33 |
|
34 |
%prep |
35 |
##%setup -q -n minitube |
36 |
%setup -q |
37 |
%apply_patches |
38 |
|
39 |
%build |
40 |
%qmake_qt4 PREFIX=%{_prefix} DEFINES+=APP_GOOGLE_API_KEY=%{google_api_key} |
41 |
%make |
42 |
|
43 |
%install |
44 |
%makeinstall_std INSTALL_ROOT=%{buildroot} |
45 |
|
46 |
# fix .desktop file |
47 |
desktop-file-edit \ |
48 |
%{buildroot}%{_datadir}/applications/%{name}.desktop |
49 |
|
50 |
%files |
51 |
%doc TODO CHANGES AUTHORS |
52 |
%{_bindir}/minitube |
53 |
%{_datadir}/minitube |
54 |
%{_datadir}/applications/minitube.desktop |
55 |
%{_datadir}/icons/hicolor/*/apps/minitube.* |