File mikutube.spec of Package mikutube

# norootforbuild

Name: mikutube
Version: 1.8.0.2
Release: 1.0
Summary: The video of Hatsune Miku is downloaded from youtube.
Source: %{name}-%{version}.tar.gz
Source1: mikutube.desktop
Patch:   systray.patch
URL: http://kaoru-linux.cocolog-nifty.com/blog/
Group: Productivity/Multimedia/Video/Players
License: GNU General Public License v3
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires: python-gtk, gnome-python-desktop, python-notify
Requires: python-gdata, python-gstreamer-0_10
Requires: mplayer, ffmpeg, gstreamer-0_10-ffmpeg
Requires: youtube-dl

%description
MikuTube is an application that continuously reproduces the animation acquired from YouTube according to a specified key word.

Maintainer: kaoru konno (kaorin).

%prep
%setup -q -c -n %{name}-%{version}
%patch

%build

%install
%__install -dm 755 %{buildroot}%{_datadir}/%{name}
%__install -m 755 MikuTube.py %{buildroot}%{_datadir}/%{name}
%__install -m 644 README.txt %{buildroot}%{_datadir}/%{name}
%__install -m 644 splash.jpg %{buildroot}%{_datadir}/%{name}
%__install -m 644 MikuTube.png %{buildroot}%{_datadir}/%{name}

%__install -dm 755 %{buildroot}%{_datadir}/applications
%__install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications

%clean
%__rm -rf "%{buildroot}"

%files
%defattr(-,root,root)
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
%{_datadir}/applications/mikutube.desktop

%changelog
* Tue May 01 2012 kobayashi
- Update 1.8.0.2
- Add system tray patch. 

* Sat Mar 03 2012 kobayashi
- Update 1.8.0.0
- Symbolic link to Mikutube.py is removed. 

* Mon May 15 2011 kobayashi
- Update 1.6.3.0

* Thu Dec 23 2010 kobayashi
- Update 1.6.2.0 no Requires: youtube-dl

* Wed Apr 29 2010 kobayashi
- new package from Upstream