Hello community, here is the log from the commit of package minitube for openSUSE:Factory checked in at 2019-05-22 11:11:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/minitube (Old) and /work/SRC/openSUSE:Factory/.minitube.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "minitube" Wed May 22 11:11:32 2019 rev:12 rq:701720 version:3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/minitube/minitube.changes 2018-01-09 14:52:18.570287905 +0100 +++ /work/SRC/openSUSE:Factory/.minitube.new.5148/minitube.changes 2019-05-22 11:11:34.586592327 +0200 @@ -1,0 +2,8 @@ +Wed May 8 21:35:19 UTC 2019 - Alexei Sorokin <[email protected]> + +- Update to version 3.0: + * Port from Phonon to MPV. + * Support all YouTube video resolutions up to 4K. +- Switch to SOURCE_DATE_EPOCH for fake build dates. + +------------------------------------------------------------------- @@ -21,0 +30 @@ + Old: ---- minitube-2.9.tar.gz New: ---- _service minitube-3.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ minitube.spec ++++++ --- /var/tmp/diff_new_pack.5mtNP5/_old 2019-05-22 11:11:35.166592153 +0200 +++ /var/tmp/diff_new_pack.5mtNP5/_new 2019-05-22 11:11:35.166592153 +0200 @@ -1,7 +1,7 @@ # # spec file for package minitube # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,36 +12,39 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: minitube -Version: 2.9 +Version: 3.0 Release: 0 Summary: Native YouTube Client -License: GPL-3.0+ +License: GPL-3.0-or-later 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 +URL: https://flavio.tordini.org/minitube +Source: %{name}-%{version}.tar.xz # Manpage written by Jakob Haufe <[email protected]> for the Debian project. Source1: minitube.1 +%if 0%{?suse_version} < 1500 Source99: %{name}.changes +%endif # PATCH-FIX-OPENSUSE minitube-no-update-check.patch [email protected] -- Disable update check. Patch0: %{name}-no-update-check.patch BuildRequires: fdupes BuildRequires: hicolor-icon-theme BuildRequires: libqt5-linguist BuildRequires: libqt5-qtdeclarative-devel +BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5Script) BuildRequires: pkgconfig(Qt5Sql) BuildRequires: pkgconfig(Qt5Widgets) +BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(Qt5Xml) -BuildRequires: pkgconfig(phonon4qt5) -Requires: phonon4qt5-backend +BuildRequires: pkgconfig(mpv) >= 0.29.0 Recommends: %{name}-lang %description @@ -57,23 +60,28 @@ %prep %setup -q %patch0 -p1 + +%if 0%{?suse_version} < 1500 +SOURCE_DATE="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" +export SOURCE_DATE_EPOCH="$(date -d "$SOURCE_DATE" '+%%s')" +%endif # 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 +FAKE_BUILDDATE="$(LC_ALL=C date -u -d "@${SOURCE_DATE_EPOCH}" '+%%b %%e %%Y')" +sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/aboutview.cpp %build %qmake5 \ "DEFINES+=APP_GOOGLE_API_KEY=AIzaSyBs1wuIgc-QDnk5u7OavF1loJVO0r89B4Y" \ PREFIX=%{_prefix} -make %{?_smp_mflags} +make %{?_smp_mflags} V=1 %install -%{qmake5_install} -install -Dm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1 +%qmake5_install +install -Dpm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1 %suse_update_desktop_file -r %{name} AudioVideo Video Player %fdupes %{buildroot}%{_datadir}/ -%if 0%{?suse_version} <= 1320 +%if 0%{?suse_version} < 1500 %post %desktop_database_post %icon_theme_cache_post @@ -84,8 +92,8 @@ %endif %files -%doc AUTHORS COPYING TODO -%license CHANGES +%license COPYING +%doc AUTHORS CHANGES TODO %{_bindir}/%{name} %{_datadir}/%{name}/ %exclude %{_datadir}/%{name}/locale/ @@ -93,12 +101,11 @@ %dir %{_datadir}/icons/hicolor/*/ %dir %{_datadir}/icons/hicolor/*/apps/ %{_datadir}/icons/hicolor/*/apps/%{name}* -%{_mandir}/man?/%{name}.?%{?ext_man} -%dir %{_datadir}/appdata +%dir %{_datadir}/appdata/ %{_datadir}/appdata/%{name}.appdata.xml +%{_mandir}/man?/%{name}.?%{?ext_man} %files lang -%defattr(-,root,root) %{_datadir}/%{name}/locale/ %changelog ++++++ _service ++++++ <services> <service mode="disabled" name="tar_scm"> <param name="scm">git</param> <param name="url">https://github.com/flaviotordini/minitube.git</param> <param name="filename">minitube</param> <param name="versionformat">@PARENT_TAG@</param> <param name="revision">3.0</param> </service> <service mode="disabled" name="recompress"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service mode="disabled" name="set_version" /> </services>
