Группа :: Видео
Пакет: devede
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: devede
Version: 3.16.8
Release: alt0.M51.1
Summary: A program to create video DVDs and CDs (VCD, sVCD or CVD)
License: GPLv3+
Group: Video
Url: http://www.rastersoft.com/programas/devede.html
Packager: Dmitriy Khanzhin <jinn at altlinux.ru>
Source: http://www.rastersoft.com/descargas/%name-%version.tar.bz2
Source1: devede-16.png
Source2: devede-32.png
Source3: devede-48.png
Patch1: devede-decimal_point.patch
Patch2: devede-desktop.patch
BuildArch: noarch
Requires: mplayer
Requires: mencoder
Requires: vcdimager
Requires: mkisofs
Requires: dvdauthor
Requires: ImageMagick
Requires: python-module-pygtk
Requires: python-module-pygtk-libglade
Requires: fonts-ttf-dejavu
%description
DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD)
suitable for home players, from any number of video files, in any
of the formats supported by Mplayer. The big advantage over other
utilities is that it only needs Mplayer, Mencoder, DVDAuthor, VCDImager
and MKisofs (well, and Python 2.4, PyGTK and PyGlade), so its
dependencies are really small.
%prep
%setup -n devede-%version
%patch1 -p1 -b .point
%patch2 -p1 -b .desk
# Fix devede module directory
sed -i 's!/usr/lib/!%python_tooldir/!' devede.py
%build
%install
./install.sh \
--uninstall=no \
--targeted=yes \
--DESTDIR=%buildroot \
--prefix=%_prefix \
--libdir=%python_tooldir
# remove debian files from doc
rm -f %buildroot%_docdir/%name/{copyright,changelog.Debian}
# remove debug files
rm -f %buildroot%_bindir/%{name}?debug
# remove builtin font, be replaced in %%post
rm -f %buildroot%_datadir/%name/devedesans.ttf
# fd.o icons
mkdir -p %buildroot%_iconsdir/hicolor/{16x16,32x32,48x48,scalable}/apps
cp %buildroot%_pixmapsdir/%name.svg %buildroot%_iconsdir/hicolor/scalable/apps/%name.svg
install -m 644 %SOURCE1 %buildroot%_iconsdir/hicolor/16x16/apps/%name.png
install -m 644 %SOURCE2 %buildroot%_iconsdir/hicolor/32x32/apps/%name.png
install -m 644 %SOURCE3 %buildroot%_iconsdir/hicolor/48x48/apps/%name.png
%find_lang %name
%post
# replace devedesans.ttf with a symlink to DejaVuSans.ttf
ln -s %_datadir/fonts/ttf/dejavu/DejaVuSans.ttf %_datadir/%name/devedesans.ttf
%preun
rm -f %_datadir/%name/devedesans.ttf
%files -f %name.lang
%_bindir/%name
%_desktopdir/%name.desktop
%dir %python_tooldir/%name
%defattr(0644,root,root,0755)
%python_tooldir/%name/*
%_datadir/%name
%_pixmapsdir/*
%_iconsdir/*/*/*/%name.*
%doc %_docdir/%name
%changelog
…
Полный changelog можно просмотреть здесь
Version: 3.16.8
Release: alt0.M51.1
Summary: A program to create video DVDs and CDs (VCD, sVCD or CVD)
License: GPLv3+
Group: Video
Url: http://www.rastersoft.com/programas/devede.html
Packager: Dmitriy Khanzhin <jinn at altlinux.ru>
Source: http://www.rastersoft.com/descargas/%name-%version.tar.bz2
Source1: devede-16.png
Source2: devede-32.png
Source3: devede-48.png
Patch1: devede-decimal_point.patch
Patch2: devede-desktop.patch
BuildArch: noarch
Requires: mplayer
Requires: mencoder
Requires: vcdimager
Requires: mkisofs
Requires: dvdauthor
Requires: ImageMagick
Requires: python-module-pygtk
Requires: python-module-pygtk-libglade
Requires: fonts-ttf-dejavu
%description
DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD)
suitable for home players, from any number of video files, in any
of the formats supported by Mplayer. The big advantage over other
utilities is that it only needs Mplayer, Mencoder, DVDAuthor, VCDImager
and MKisofs (well, and Python 2.4, PyGTK and PyGlade), so its
dependencies are really small.
%prep
%setup -n devede-%version
%patch1 -p1 -b .point
%patch2 -p1 -b .desk
# Fix devede module directory
sed -i 's!/usr/lib/!%python_tooldir/!' devede.py
%build
%install
./install.sh \
--uninstall=no \
--targeted=yes \
--DESTDIR=%buildroot \
--prefix=%_prefix \
--libdir=%python_tooldir
# remove debian files from doc
rm -f %buildroot%_docdir/%name/{copyright,changelog.Debian}
# remove debug files
rm -f %buildroot%_bindir/%{name}?debug
# remove builtin font, be replaced in %%post
rm -f %buildroot%_datadir/%name/devedesans.ttf
# fd.o icons
mkdir -p %buildroot%_iconsdir/hicolor/{16x16,32x32,48x48,scalable}/apps
cp %buildroot%_pixmapsdir/%name.svg %buildroot%_iconsdir/hicolor/scalable/apps/%name.svg
install -m 644 %SOURCE1 %buildroot%_iconsdir/hicolor/16x16/apps/%name.png
install -m 644 %SOURCE2 %buildroot%_iconsdir/hicolor/32x32/apps/%name.png
install -m 644 %SOURCE3 %buildroot%_iconsdir/hicolor/48x48/apps/%name.png
%find_lang %name
%post
# replace devedesans.ttf with a symlink to DejaVuSans.ttf
ln -s %_datadir/fonts/ttf/dejavu/DejaVuSans.ttf %_datadir/%name/devedesans.ttf
%preun
rm -f %_datadir/%name/devedesans.ttf
%files -f %name.lang
%_bindir/%name
%_desktopdir/%name.desktop
%dir %python_tooldir/%name
%defattr(0644,root,root,0755)
%python_tooldir/%name/*
%_datadir/%name
%_pixmapsdir/*
%_iconsdir/*/*/*/%name.*
%doc %_docdir/%name
%changelog
…
Полный changelog можно просмотреть здесь