File minitube.spec of Package minitube

#
# spec file for package minitube (Version 1.4)
#
# Copyright 2009-2011 Buschmann <buschmann23@opensuse.org>
#
# 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.

# norootforbuild

Name:           minitube
Summary:        Native Youtube Client
Version:        1.4
Release:        1
Group:          Productivity/Multimedia/Video/Players
License:        GPLv3+
Url:            http://flavio.tordini.org/minitube
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  libqt4-devel >= 4.5.0
BuildRequires:  phonon-devel
BuildRequires:  update-desktop-files
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}
# Requires phonon, because libphonon4 is not enough. Phonon package will pull a phonon-backend-* package.
Requires:       phonon

%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

%build
qmake PREFIX=%{_prefix}
%__make %{?_smp_mflags}

%install
%__make INSTALL_ROOT=%buildroot install
%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
%{_datadir}/icons/*
%dir %{_datadir}/minitube
%dir %{_datadir}/minitube/locale
%{_datadir}/minitube/locale/*

%changelog
openSUSE Build Service is sponsored by