minitube/minitube.spec
Matthias Mailänder cec74239b9 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
2014-11-05 08:01:05 +00:00

78 lines
2.5 KiB
RPMSpec

#
# spec file for package minitube
#
# Copyright (c) 2014 SUSE LINUX Products 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.3.0
Release: 0
Summary: Native Youtube Client
License: GPL-3.0+
Group: Productivity/Multimedia/Video/Players
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
Patch1: disable_update_check.patch
BuildRequires: libqt4-devel >= 4.5.0
BuildRequires: phonon-devel
BuildRequires: update-desktop-files
# Requires phonon, because libphonon4 is not enough. Phonon package will pull a phonon-backend-* package.
Requires: phonon
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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 does not require the Flash Player.
Minitube is not about cloning the original YouTube web interface, it
strives to create a new TV-like experience.
Author:
-------
Flavio Tordini
%prep
%setup -q -n minitube
# Missing unistd.h include in qtlocalpeer.cpp
%patch0
# Disable online update check, from home:jetchko:fedora20 > minitube
%patch1
%build
qmake PREFIX=%{_prefix}
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
%files
%defattr(-,root,root)
%doc AUTHORS CHANGES COPYING TODO
%{_mandir}/man1/%{name}.1*
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/*
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/locale/
%changelog