Name: minitube Version: 0.8.1 Release: 2%{?dist} Summary: A native YouTube client. Group: Applications/Multimedia License: GPLv3 URL: http://flavio.tordini.org/minitube Source0: http://flavio.tordini.org/files/minitube/minitube-%{version}.tar.gz #Patch0: minitube.desktop_categorysemicolon.patch #Patch1: minitube.desktop_name.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: phonon-devel BuildRequires: qt-devel BuildRequires: gcc-c++ BuildRequires: desktop-file-utils %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. Minitu be 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. %prep %setup -q -n %{name} #%patch0 #%patch1 ## to prevent spurious-executable-perm in -debuginfo. chmod -x src/Constants.h chmod -x src/main.cpp chmod -x src/MainWindow.cpp chmod -x src/ListModel.cpp chmod -x src/MainWindow.h chmod -x src/ListModel.h %build qmake-qt4 PREFIX=%{_prefix} && make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT INSTALL_ROOT=$RPM_BUILD_ROOT \ make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_kde4_iconsdir}/hicolor &>/dev/null gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &>/dev/null || : update-desktop-database -q &> /dev/null fi %posttrans gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || : update-desktop-database -q &> /dev/null %files %defattr(-,root,root,-) %doc INSTALL CHANGES COPYING TODO AUTHORS %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/*/*/*/minitube* %{_datadir}/%{name} %changelog * Mon Jan 04 2010 Adam Miller 0.8.1-2 - New package the merges Thomas Janssen and my separate spec files * Wed Nov 18 2009 Thomas Janssen 0.8.1-1 - Initial Fedora release * Wed Sep 02 2009 Adam Miller - 0.5-2 - Patch for the desktop file entry as the desktop-file-validate errored * Wed Sep 02 2009 Adam Miller - 0.5-1 - First attempt at building minitube for Fedora