Репозитории ALT
Последнее обновление в Пт, 16 апр. 2021, 10:33:42 +0000 | Пакетов: 11695
en ru
Исходные пакеты в ветвях
свернуть окно
  • 0.9.5-alt2.qa1
Группа :: Видео
Исходный пакет: arista
Необработанный spec-файл

Name: arista
Version: 0.9.5
Release: alt2

Summary: An easy to use multimedia transcoder for the GNOME Desktop
Group: Video
License: LGPLv2+
Url: http://programmer-art.org/projects/arista-transcoder

Source: %name-%version.tar
Patch0: %name-snapshot.patch
Patch1: %name-alt-fixes.patch

BuildArch: noarch

BuildRequires: python-devel nautilus-python-devel ImageMagick-tools

Requires: gst-plugins-base
Requires: gst-plugins-good
Requires: gst-plugins-bad
Requires: gst-plugins-ugly
# add manual requires

Requires: python-module-pygi python-module-simplejson python-module-pyinotify

%description
Arista is a multimedia transcoder for the GNOME Desktop. Arista
focuses on being easy to use by making the complex task of encoding
for various devices simple. Pick your input, pick your target device,
choose a file to save to and go.

%package -n nautilus-%name
Summary: Arista transcoder Nautilus extension
Group: Graphical desktop/GNOME
Requires: %name = %version-%release
Requires: nautilus-python
Provides: %name-nautilus = %version-%release
Obsoletes: %name-nautilus

%description -n nautilus-%name
Arista is a multimedia transcoder for the GNOME Desktop. Arista focuses
on being easy to use by making the complex task of encoding for various
devices simple. Pick your input, pick your target device, choose a file
to save to and go.

This package provides the ability to create conversions of media files
directly in Nautilus.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

sed -i -e 's|Icon=/usr/share/arista/ui/icon.svg|Icon=%{name}|g' \
%{name}.desktop


%build
%python_build

%install
%python_install
mkdir -p %buildroot/%_datadir/nautilus-python/extensions
mv %buildroot/usr/lib/nautilus/extensions-2.0/python/arista-nautilus.py %buildroot/%_datadir/nautilus-python/extensions/
#icons.

mkdir -p %buildroot{%_liconsdir,%_iconsdir,%_miconsdir}
convert -scale 48 ui/icon.svg %buildroot%_liconsdir/%name.png
convert -scale 32 ui/icon.svg %buildroot%_iconsdir/%name.png
convert -scale 16 ui/icon.svg %buildroot%_miconsdir/%name.png

# cleanup

rm -rf %buildroot%_datadir/doc/%name
rm -rf %buildroot%_datadir/locale/templates

%find_lang %name

%files -f %name.lang
%doc AUTHORS README.*
%_bindir/*
%python_sitelibdir_noarch/%{name}*.egg-info
%python_sitelibdir_noarch/%name
%_desktopdir/*
%_datadir/%name
%_iconsdir/%name.png
%_liconsdir/%name.png
%_miconsdir/%name.png

%files -n nautilus-%name
%_datadir/nautilus-python/extensions/arista-nautilus.py

%changelog
* Mon Jul 05 2010 Alexey Shabalin <shaba at altlinux.ru> 0.9.5-alt2
- build snapshot
- rename arista-nautilus to nautilus-arista
- move nautilus-python arista extension to noarch path
- add icons

* Fri Jul 02 2010 Yuri N. Sedunov <aris at altlinux.org> 0.9.5-alt1
- first build for Sisyphus

 
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT