Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 842390d6e9cd396d0e38f0b0f264cf77 > files > 5

minitube-2.5.2-1.mga5.src.rpm

# Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys
# Note: these are for Mageia use ONLY.
# For your own builds, please get your own set of keys.
%define    google_api_key AIzaSyCV9AOzytWwWCtNE8f7ZV56fP1u9yWwhVU

Name:		minitube
Version:	2.5.2
Release:	%mkrel 1
Summary:	A native YouTube client
Group:		Video/Players
License:	GPLv3+
URL:		http://flavio.tordini.org/minitube
Source0:	https://github.com/flaviotordini/minitube/archive/%{version}/%{name}-%{version}.tar.gz
Patch0:		minitube-2.5-missing-include.patch
Patch1:		minitube-2.5-ignore-ssl-errors.patch
# Patches from debian
Patch10:	minitube-2.0-assure-quit-keybinding

BuildRequires:	pkgconfig(Qt5Core)
BuildRequires:	pkgconfig(Qt5Script)
BuildRequires:	pkgconfig(Qt5Network)
BuildRequires:	pkgconfig(Qt5Widgets)
BuildRequires:	pkgconfig(Qt5Sql)
BuildRequires:	phonon4qt5-devel
BuildRequires:	qttools5
BuildRequires:	vlc-devel
# minitube no longer supports anything other than the vlc phonon.
Requires:	phonon4qt5-vlc
Requires:	vlc-plugin-gnutls

%description
Minitube is a native YouTube client. With it you can watch YouTube videos in
a new way: you type a keyword, Minitube gives you an endless video stream.
Minitube does not require the Flash Player.

Minitube is not about cloning the original Youtube web interface, it strives
to create a new TV-like experience.

%prep
%setup -q
%apply_patches

%build
%qmake_qt5 PREFIX=%{_prefix} DEFINES+=APP_GOOGLE_API_KEY=%{google_api_key}
%make

%install
%makeinstall_std INSTALL_ROOT=%{buildroot}

# fix .desktop file
desktop-file-edit \
	%{buildroot}%{_datadir}/applications/%{name}.desktop

%files
%doc TODO CHANGES AUTHORS
%{_bindir}/minitube
%{_datadir}/minitube
%{_datadir}/applications/minitube.desktop
%{_datadir}/icons/hicolor/*/apps/minitube.*


%changelog
* Mon Jan 04 2016 zezinho <zezinho> 2.5.2-1.mga5
+ Revision: 919621
- new version 2.5.2 fixes #17444
- it is now built against QT5
- fix patch
- version 2.5.1 from cauldron to fix #17301

* Tue Apr 21 2015 solbu <solbu> 2.4-1.mga5
+ Revision: 820524
- New version
- Add Google API key
- Update dependencies

* Wed Oct 15 2014 umeabot <umeabot> 2.2-3.mga5
+ Revision: 740524
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 2.2-2.mga5
+ Revision: 682524
- Mageia 5 Mass Rebuild

  + tv <tv>
    - s/uggests:/Recommends:/

* Mon Jul 21 2014 wally <wally> 2.2-1.mga5
+ Revision: 654987
- new version 2.2

* Fri Feb 14 2014 wally <wally> 2.1.6-1.mga5
+ Revision: 591379
- new version 2.1.6
- disable update check patch temporarily

* Sat Oct 19 2013 umeabot <umeabot> 2.0-2.mga4
+ Revision: 523762
- Mageia 4 Mass Rebuild

* Fri May 24 2013 wally <wally> 2.0-1.mga4
+ Revision: 426843
- new version 2.0
- add patches from Debian
  * disable-update-check
  * proper-tempfiles
  * assure-quit-keybinding

* Sun Mar 17 2013 solbu <solbu> 1.9-3.mga3
+ Revision: 403544
- Disable update check.
- Fix Requires

* Sat Jan 12 2013 umeabot <umeabot> 1.9-2.mga3
+ Revision: 360103
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Fri Sep 28 2012 wally <wally> 1.9-1.mga3
+ Revision: 299022
- fix group
- new version 1.9

* Mon Jul 02 2012 wally <wally> 1.8-1.mga3
+ Revision: 266770
- add patch to fix build
- new version 1.8
- clean .spec a bit

* Sat Mar 17 2012 wally <wally> 1.7.1-1.mga2
+ Revision: 223744
- new version 1.7.1

* Sat Jan 07 2012 wally <wally> 1.7-1.mga2
+ Revision: 192861
- new version 1.7
- fix license

* Fri Nov 11 2011 wally <wally> 1.6-1.mga2
+ Revision: 166805
- new version 1.6

* Wed Oct 05 2011 wally <wally> 1.5-2.mga2
+ Revision: 151888
- fix requires
- new version 1.5

* Wed Jun 08 2011 wally <wally> 1.4.3-1.mga2
+ Revision: 101912
- new version 1.4.3

* Sat Apr 23 2011 wally <wally> 1.4.2-2.mga1
+ Revision: 89967
- require phonon-backend

* Fri Apr 22 2011 wally <wally> 1.4.2-1.mga1
+ Revision: 89779
- new version 1.4.2
- add some doc files
- clean .spec
- imported package minitube


* Thu Jan 06 2011 Jani Välimaa <wally@mandriva.org> 1.3-1mdv2011.0
+ Revision: 629074
- new version 1.3

* Sun Oct 17 2010 Sandro Cazzaniga <kharec@mandriva.org> 1.2-1mdv2011.0
+ Revision: 586300
- new version 1.2

* Sat Aug 28 2010 Jani Välimaa <wally@mandriva.org> 1.1-1mdv2011.0
+ Revision: 573766
- new version 1.1
- use qmake_qt4 macro
- make description lines shorter (max 79 chars)
- fix file list

  + Sandro Cazzaniga <kharec@mandriva.org>
    - fix licence
    - clean $RPM_BUILD_ROOT at beginning of %%install

* Sun Jan 31 2010 Anne Nicolas <ennael@mandriva.org> 0.9-1mdv2010.1
+ Revision: 498727
- Fix group
- First release for Mandriva
- import minitube