LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File Miro2.0.1.spec of Package Miro2.0.1 (Project home:msounhein)

# norootforbuild

Name:		miro
Version:	2.0.1
Summary:	The client-side component of the Democracy platform for Internet TV.
Source:		Miro-%{version}.tar.gz
URL:		http://www.getmiro.com/
Group:		Productivity/Multimedia/Video/Players
License:	GNU General Public License (GPL)
Release:    0 
BuildRoot:	%{_tmppath}/build-%{name}-%{version}
BuildRequires:	python-gtk-devel python-gnome-devel python-devel pyrex python-xml 
BuildRequires:	libstdc++-devel update-desktop-files boost-devel
BuildRequires:	mozilla-xulrunner190-devel gtk2-devel gcc-c++ openssl-devel boost-devel
BuildRequires:	xine-devel libjack-devel jack
Provides:	Democracy = %{version}-%{release}
Requires:	python-gnome python-gtk python-gnome-extras
%py_requires

%description
Miro is a free application that turns your computer into an internet TV video
player.

It's a free, open source Internet TV and video player that can automatically
download videos from RSS-based channels. Features a built-in BitTorrent
client.

%debug_package
%prep
%setup -q -n "Miro-%{version}

%build
pushd "platform/gtk-x11"
%__python ./setup.py build
popd

%install
pushd "platform/gtk-x11"
%__python ./setup.py install --root="%{buildroot}" --prefix="%{_prefix}"
popd
%ifarch x86_64
cd %{buildroot}%{_prefix}
mv lib/miro lib64
rmdir lib
cd -
%endif

%suse_update_desktop_file -r miro AudioVideo Player

%find_lang miro 

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

%files -f miro.lang
%defattr(-,root,root)
%doc README CREDITS
%{_bindir}/miro*
%dir %{_libdir}/miro
%{_libdir}/miro/xine_extractor
%{py_sitedir}/miro-%{version}-py%{py_ver}.egg-info
%{py_sitedir}/miro
%{_datadir}/applications/miro.desktop
%doc %{_mandir}/man1/miro.1*
%doc %{_mandir}/man1/miro.real.1*
%{_datadir}/mime/packages/miro.xml
%{_datadir}/miro
%{_datadir}/pixmaps/*
%dir %{_datadir}/locale/fil
%dir %{_datadir}/locale/fil/LC_MESSAGES