2011-05-31 09:43:49 +00:00
|
|
|
#
|
2012-10-02 22:56:21 +00:00
|
|
|
# spec file for package minitube
|
|
|
|
#
|
2017-02-13 19:36:54 +00:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-10-02 22:56:21 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2011-05-31 09:43:49 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2014-11-05 08:01:05 +00:00
|
|
|
|
2011-05-31 09:43:49 +00:00
|
|
|
Name: minitube
|
2017-06-01 07:41:25 +00:00
|
|
|
Version: 2.7
|
2014-02-07 17:35:30 +00:00
|
|
|
Release: 0
|
2015-11-01 08:51:16 +00:00
|
|
|
Summary: Native YouTube Client
|
2014-11-05 08:01:05 +00:00
|
|
|
License: GPL-3.0+
|
2011-05-31 09:43:49 +00:00
|
|
|
Group: Productivity/Multimedia/Video/Players
|
2014-11-05 08:01:05 +00:00
|
|
|
Url: http://flavio.tordini.org/minitube
|
2015-04-19 16:00:01 +00:00
|
|
|
Source: https://github.com/flaviotordini/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2015-11-01 08:51:16 +00:00
|
|
|
# Manpage written by Jakob Haufe <sur5r@sur5r.net> for the Debian project.
|
2014-11-05 08:01:05 +00:00
|
|
|
Source1: minitube.1
|
2015-02-28 14:43:40 +00:00
|
|
|
# PATCH-FIX-OPENSUSE minitube-no-update-check.patch sur5r@sur5r.net -- Disable update check.
|
|
|
|
Patch0: %{name}-no-update-check.patch
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: hicolor-icon-theme
|
2015-11-01 08:51:16 +00:00
|
|
|
BuildRequires: libqt5-linguist
|
2017-02-13 19:36:54 +00:00
|
|
|
BuildRequires: libqt5-qtdeclarative-devel
|
2011-05-31 09:43:49 +00:00
|
|
|
BuildRequires: update-desktop-files
|
2015-11-01 08:51:16 +00:00
|
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
|
|
BuildRequires: pkgconfig(Qt5Script)
|
|
|
|
BuildRequires: pkgconfig(Qt5Sql)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
|
|
|
BuildRequires: pkgconfig(phonon4qt5)
|
|
|
|
Requires: phonon4qt5-backend
|
|
|
|
Recommends: %{name}-lang
|
2011-05-31 09:43:49 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Minitube is a native YouTube client. With it you can watch YouTube
|
2015-02-28 14:43:40 +00:00
|
|
|
videos in a new way: you type a keyword, Minitube gives you an
|
|
|
|
endless video stream.
|
2011-05-31 09:43:49 +00:00
|
|
|
|
2015-02-28 14:43:40 +00:00
|
|
|
Minitube is not about cloning the original YouTube web interface,
|
|
|
|
it strives to create a new TV-like experience.
|
2011-05-31 09:43:49 +00:00
|
|
|
|
2015-02-28 14:43:40 +00:00
|
|
|
%lang_package
|
2011-05-31 09:43:49 +00:00
|
|
|
|
|
|
|
%prep
|
2015-04-19 16:00:01 +00:00
|
|
|
%setup -q
|
|
|
|
%patch0 -p1
|
2014-02-07 17:35:30 +00:00
|
|
|
|
2011-05-31 09:43:49 +00:00
|
|
|
%build
|
2015-11-01 08:51:16 +00:00
|
|
|
%qmake5 \
|
2015-06-08 12:11:51 +00:00
|
|
|
"DEFINES+=APP_GOOGLE_API_KEY=AIzaSyBs1wuIgc-QDnk5u7OavF1loJVO0r89B4Y" \
|
2015-11-01 08:51:16 +00:00
|
|
|
PREFIX=%{_prefix}
|
2011-05-31 09:43:49 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2015-11-01 08:51:16 +00:00
|
|
|
%{qmake5_install}
|
2015-02-28 14:43:40 +00:00
|
|
|
install -Dm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1
|
|
|
|
%suse_update_desktop_file -r %{name} AudioVideo Video Player
|
2015-11-01 08:51:16 +00:00
|
|
|
%fdupes %{buildroot}%{_datadir}/
|
2011-05-31 09:43:49 +00:00
|
|
|
|
2015-04-19 16:00:01 +00:00
|
|
|
%post
|
|
|
|
%desktop_database_post
|
|
|
|
%icon_theme_cache_post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%desktop_database_postun
|
|
|
|
%icon_theme_cache_postun
|
|
|
|
|
2011-05-31 09:43:49 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2014-11-05 08:01:05 +00:00
|
|
|
%doc AUTHORS CHANGES COPYING TODO
|
|
|
|
%{_bindir}/%{name}
|
2015-02-28 14:43:40 +00:00
|
|
|
%{_datadir}/%{name}/
|
|
|
|
%exclude %{_datadir}/%{name}/locale/
|
2014-11-05 08:01:05 +00:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
2015-02-28 14:43:40 +00:00
|
|
|
%dir %{_datadir}/icons/hicolor/*/
|
|
|
|
%dir %{_datadir}/icons/hicolor/*/apps/
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}*
|
2015-04-19 16:00:01 +00:00
|
|
|
%{_mandir}/man?/%{name}.?%{?ext_man}
|
2016-09-18 09:26:54 +00:00
|
|
|
%dir %{_datadir}/appdata
|
|
|
|
%{_datadir}/appdata/%{name}.appdata.xml
|
2015-02-28 14:43:40 +00:00
|
|
|
|
|
|
|
%files lang
|
|
|
|
%defattr(-,root,root)
|
2014-11-05 08:01:05 +00:00
|
|
|
%{_datadir}/%{name}/locale/
|
|
|
|
|
|
|
|
%changelog
|