Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
minitube
minitube.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File minitube.spec of Package minitube
# # spec file for package minitube # # Copyright (c) 2018 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/ # Name: minitube Version: 2.9 Release: 0 Summary: Native YouTube Client License: GPL-3.0+ Group: Productivity/Multimedia/Video/Players Url: http://flavio.tordini.org/minitube Source: https://github.com/flaviotordini/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Manpage written by Jakob Haufe <sur5r@sur5r.net> for the Debian project. Source1: minitube.1 Source99: %{name}.changes # 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 BuildRequires: libqt5-linguist BuildRequires: libqt5-qtdeclarative-devel BuildRequires: update-desktop-files 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 %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 is not about cloning the original YouTube web interface, it strives to create a new TV-like experience. %lang_package %prep %setup -q %patch0 -p1 # Remove build time references so build-compare can do its work FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{SOURCE99} '+%%b %%e %%Y') sed -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -i src/aboutview.cpp %build %qmake5 \ "DEFINES+=APP_GOOGLE_API_KEY=AIzaSyBs1wuIgc-QDnk5u7OavF1loJVO0r89B4Y" \ PREFIX=%{_prefix} make %{?_smp_mflags} %install %{qmake5_install} install -Dm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1 %suse_update_desktop_file -r %{name} AudioVideo Video Player %fdupes %{buildroot}%{_datadir}/ %if 0%{?suse_version} <= 1320 %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %endif %files %doc AUTHORS COPYING TODO %license CHANGES %{_bindir}/%{name} %{_datadir}/%{name}/ %exclude %{_datadir}/%{name}/locale/ %{_datadir}/applications/%{name}.desktop %dir %{_datadir}/icons/hicolor/*/ %dir %{_datadir}/icons/hicolor/*/apps/ %{_datadir}/icons/hicolor/*/apps/%{name}* %{_mandir}/man?/%{name}.?%{?ext_man} %dir %{_datadir}/appdata %{_datadir}/appdata/%{name}.appdata.xml %files lang %defattr(-,root,root) %{_datadir}/%{name}/locale/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor