miro.spec
Daniel Dawid Majewski
light-i at o2.pl
Sat Oct 9 21:00:48 CEST 2010
Zbudowałem i używam, więc podsyłam, udanego oglądania TV internetowej... ;)
--
Pozdrawiam,
Daniel Dawid Majewski
jabber:light-i/pld-users.org
-------------- next part --------------
# $Revision:$, $Date:$
Summary: Open-source, non-profit video player and podcast client
Summary(pl.UTF-8): Darmowy odtwarzacz video z obsĹugÄ
strumieni o otwatych ĹşrĂłdĹach.
Name: miro
Version: 3.0.3
Release: 1
License: GPL v.2
Group: X11/Applications/Multimedia
Source0: http://ftp.osuosl.org/pub/pculture.org/miro/src/%{name}-%{version}.tar.gz
# Source0-md5: 851de31dce0baf07922a22b4d29cfeac
URL: http://www.getmiro.com/
BuildRequires: boost-python-devel
BuildRequires: gettext
BuildRequires: libsepol-devel
BuildRequires: openssl-devel
BuildRequires: python-Pyrex
BuildRequires: python-pygtk-devel
BuildRequires: xine-lib-devel
BuildRequires: xorg-lib-libXv-devel
BuildRequires: xulrunner-devel
Requires: python-gnome-extras-mozilla
Requires: python-pywebkitgtk
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Miro is a open-source, non-profit application that turns home computer
into an internet TV video player.
%description -l pl.UTF-8
Miro jest darmowÄ
aplikacjÄ
open-source, zamieniajÄ
cÄ
domowy komputer
w odtwarzacz telewizji internetowej.
%prep
%setup -q
%build
cd platform/gtk-x11 && CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
# fix EOL
sed -ie 's|\r$||g' CREDITS
# remove shebangs from scripts
cd platform/gtk-x11 && \
find build/lib* -name '*.py' -exec sed -i "1{/^#!/d}" {} \; && \
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT/usr/share/locale/{ckb,lb,zu}
%find_lang miro
%clean
rm -rf $RPM_BUILD_ROOT
%post
update-desktop-database %{_desktopdir} &> /dev/null ||:
%postun
update-desktop-database %{_desktopdir} &> /dev/null ||:
%files -f platform/gtk-x11/miro.lang
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/*
%exclude %{_datadir}/miro/resources/testdata
%{_datadir}/miro
%{_iconsdir}/hicolor/*/apps/*
%{_pixmapsdir}/*
%{_desktopdir}/*.desktop
%{_mandir}/man1/*
%{_datadir}/mime/packages/*.xml
%{py_sitedir}/*egg-info
%{py_sitedir}/miro/
%doc README license.txt CREDITS
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log: miro.spec,v $
More information about the pld-devel-pl
mailing list