Accepting request 561449 from multimedia:apps

OBS-URL: https://build.opensuse.org/request/show/561449
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minitube?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2018-01-09 13:52:17 +00:00 committed by Git OBS Bridge
commit c6117df1e5
4 changed files with 28 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c8e7c39d5125027d076440830c6cc33d2782e0d65047d639dfa55e839e64d88c
size 995661

3
minitube-2.9.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0f51fb86d0fdfbcf00af142868ceeacb6c27eb8a1e36d856162e23d63e90eb07
size 1000060

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed Jan 3 11:19:55 UTC 2018 - aloisio@gmx.com
- Update to version 2.9
* Menu bar is now hidden by default
* New Chrome-like toolbar menu that contains actions not
available in the rest of the UI.
* A bit of code refactoring and cleanup, using more C++11
features. Minitube uses a little less memory and should be
slightly faster now.
* Usual slew of minor fixes and visual tweaks.
- Added minitube.changes as source to use as reference for the
fake build date.
-------------------------------------------------------------------
Sun Nov 5 14:41:22 UTC 2017 - michael@stroeder.com

View File

@ -1,7 +1,7 @@
#
# spec file for package minitube
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@ -17,7 +17,7 @@
Name: minitube
Version: 2.8
Version: 2.9
Release: 0
Summary: Native YouTube Client
License: GPL-3.0+
@ -26,6 +26,7 @@ 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
@ -56,6 +57,9 @@ it strives to create a new TV-like experience.
%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 \
@ -69,6 +73,7 @@ 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
@ -76,10 +81,11 @@ install -Dm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1
%postun
%desktop_database_postun
%icon_theme_cache_postun
%endif
%files
%defattr(-,root,root)
%doc AUTHORS CHANGES COPYING TODO
%doc AUTHORS COPYING TODO
%license CHANGES
%{_bindir}/%{name}
%{_datadir}/%{name}/
%exclude %{_datadir}/%{name}/locale/