Accepting request 259739 from home:Kieltux:branches:multimedia:apps

- Update to 2.3
- Removed patch to inihibit screensaver
- Removed disabled patch for video download
- Added manpage written by Jakob Haufe for the Debian project
- Minor specfile clean up

OBS-URL: https://build.opensuse.org/request/show/259739
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/minitube?expand=0&rev=14
This commit is contained in:
Matthias Mailänder
2014-11-05 08:01:05 +00:00
committed by Git OBS Bridge
parent be02cfb688
commit cec74239b9
7 changed files with 58 additions and 91 deletions

View File

@@ -15,21 +15,20 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: minitube
Version: 2.2.0
Version: 2.3.0
Release: 0
License: GPL-3.0+
Summary: Native Youtube Client
Url: http://flavio.tordini.org/minitube
License: GPL-3.0+
Group: Productivity/Multimedia/Video/Players
Source: http://flavio.tordini.org/files/minitube/%{name}-%{version}.tar.gz
Url: http://flavio.tordini.org/minitube
# Upstream doesn't provide source tarball with version in its name
Source0: http://flavio.tordini.org/files/minitube/%{name}.tar.gz
# Manpage written by Jakob Haufe <sur5r@sur5r.net> for the Debian project
Source1: minitube.1
Patch0: qtlocalpeer.patch
# https://launchpadlibrarian.net/105980691/inhibit-screensaver-during-playback
Patch1: inhibit_screensaver_during_playback.patch
# Disable online update check: from home:jetchko:fedora20 > minitube
Patch2: disable_update_check.patch
# YouTube Legal Team asked to remove the download functionality
Patch3: enable_vid_download_again.patch
Patch1: disable_update_check.patch
BuildRequires: libqt4-devel >= 4.5.0
BuildRequires: phonon-devel
BuildRequires: update-desktop-files
@@ -51,11 +50,10 @@ Author:
%prep
%setup -q -n minitube
# Missing unistd.h include in qtlocalpeer.cpp
%patch0
# Disable online update check, from home:jetchko:fedora20 > minitube
%patch1
%patch2
# enable this patch to enable video downloads
#%patch3
%build
qmake PREFIX=%{_prefix}
@@ -63,16 +61,17 @@ make %{?_smp_mflags}
%install
make INSTALL_ROOT=%{buildroot} install
install -D -m 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1
%suse_update_desktop_file -r %{name} Qt AudioVideo Video Player
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS COPYING CHANGES TODO
%{_bindir}/minitube
%{_datadir}/applications/minitube.desktop
%doc AUTHORS CHANGES COPYING TODO
%{_mandir}/man1/%{name}.1*
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/*
%dir %{_datadir}/minitube
%{_datadir}/minitube/locale/
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/locale/
%changelog