Группа :: Видео
Пакет: Miro
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: Miro
Version: 3.5.0
Release: alt0.M51.2
Summary: Miro - Internet TV Player
Group: Video
License: GPLv2+
URL: http://www.getmiro.com/
Packager: Evgeny Sinelnikov <sin at altlinux.ru>
Source0: http://ftp.osuosl.org/pub/pculture.org/miro/src/%name-%version.tar.gz
Provides: miro = %version-%release
BuildRequires: gcc-c++
BuildRequires: python-devel xulrunner-devel
BuildRequires: gettext libgtk+2-devel libssl-devel
BuildRequires: xorg-xextproto-devel libXv-devel
BuildRequires: boost-devel boost-python-devel boost-filesystem-devel boost-asio-devel
BuildRequires: python-module-Pyrex
BuildRequires: python-module-pygtk-devel
BuildRequires: python-module-libtorrent-rasterbar
BuildRequires: python-module-pygnome-gtkmozembed
BuildRequires: python-module-pygnome-gconf
BuildRequires: python-module-dbus
BuildRequires: libwebkit-devel
Requires: python-module-libtorrent-rasterbar
%description
Miro is a free application that turns your computer into an
internet TV video player. This release is still a beta version, which means
that there are some bugs, but we're moving quickly to fix them and will be
releasing bug fixes on a regular basis.
%prep
%setup -q -n %name-%version
# Intentionally not using -b .<descr> :
# Otherwise, the unpatched files get re-added into Miro
# (and '.' breaks Python imports)
%build
cd linux && CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%install
#mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version}
# fix EOL
sed -ie 's|\r$||g' CREDITS
# remove shebangs from scripts
cd linux && \
find ../lib -name '*.py' -exec sed -i "1{/^#!/d}" {} \; && \
python setup.py install -O1 --skip-build --root "%buildroot"
%find_lang miro
%files -f linux/miro.lang
%doc README license.txt CREDITS
%_bindir/*
%exclude %_datadir/miro/resources/testdata
%_datadir/miro
%_datadir/pixmaps/*
%_datadir/applications/*.desktop
%_mandir/man1/*
%_datadir/mime/packages/*.xml
%_iconsdir/hicolor/*/apps/miro.png
%python_sitelibdir/*egg-info
%python_sitelibdir/miro/
%changelog
…
Полный changelog можно просмотреть здесь
Version: 3.5.0
Release: alt0.M51.2
Summary: Miro - Internet TV Player
Group: Video
License: GPLv2+
URL: http://www.getmiro.com/
Packager: Evgeny Sinelnikov <sin at altlinux.ru>
Source0: http://ftp.osuosl.org/pub/pculture.org/miro/src/%name-%version.tar.gz
Provides: miro = %version-%release
BuildRequires: gcc-c++
BuildRequires: python-devel xulrunner-devel
BuildRequires: gettext libgtk+2-devel libssl-devel
BuildRequires: xorg-xextproto-devel libXv-devel
BuildRequires: boost-devel boost-python-devel boost-filesystem-devel boost-asio-devel
BuildRequires: python-module-Pyrex
BuildRequires: python-module-pygtk-devel
BuildRequires: python-module-libtorrent-rasterbar
BuildRequires: python-module-pygnome-gtkmozembed
BuildRequires: python-module-pygnome-gconf
BuildRequires: python-module-dbus
BuildRequires: libwebkit-devel
Requires: python-module-libtorrent-rasterbar
%description
Miro is a free application that turns your computer into an
internet TV video player. This release is still a beta version, which means
that there are some bugs, but we're moving quickly to fix them and will be
releasing bug fixes on a regular basis.
%prep
%setup -q -n %name-%version
# Intentionally not using -b .<descr> :
# Otherwise, the unpatched files get re-added into Miro
# (and '.' breaks Python imports)
%build
cd linux && CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%install
#mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version}
# fix EOL
sed -ie 's|\r$||g' CREDITS
# remove shebangs from scripts
cd linux && \
find ../lib -name '*.py' -exec sed -i "1{/^#!/d}" {} \; && \
python setup.py install -O1 --skip-build --root "%buildroot"
%find_lang miro
%files -f linux/miro.lang
%doc README license.txt CREDITS
%_bindir/*
%exclude %_datadir/miro/resources/testdata
%_datadir/miro
%_datadir/pixmaps/*
%_datadir/applications/*.desktop
%_mandir/man1/*
%_datadir/mime/packages/*.xml
%_iconsdir/hicolor/*/apps/miro.png
%python_sitelibdir/*egg-info
%python_sitelibdir/miro/
%changelog
…
Полный changelog можно просмотреть здесь