Группа :: Видео
Пакет: kmediagrab
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%undefine __libtoolize
%define objprelink 0
Name: kmediagrab
Version: 0.3
Release: alt5.1
Source0: %name-%version.tar.bz2
URL: http://sourceforge.net/projects/kmediagrab
License: GPL
Group: Video
Summary: Kmediagrab is a front end to some of mplayer/mencoder features.
Packager: Yehuda Ben-Yosef <ilar at altlinux.ru>
Requires: MPlayer
# Automatically added by buildreq on Thu Jun 10 2004
BuildRequires: XFree86-devel-static XFree86-libs fontconfig freetype2 gcc-c++ gcc-java hostinfo kde-settings
BuildRequires: kdelibs-devel libarts-devel libjpeg-devel libpng-devel libqt3-devel libstdc++-devel zlib-devel
%if %objprelink
BuildRequires: objprelink
%endif
%description
Kmediagrab is a front end to some of mplayer/mencoder features. In detail it grabs audio/video from a DVD , a Tv video card and translate a video file from one format to another. It's intended for the medium user who wants to use its video card as a vi.
%prep
%setup -q
%build
%__subst 's,\.la\>,.so,' configure
%configure \
--disable-rpath \
--with-xinerama \
--disable-debug \
--disable-static \
--enable-shared
%if %objprelink
%make CXX=g++prelink
%else
%make
%endif
%install
%make DESTDIR=%buildroot install
#create menu
cp %buildroot%_iconsdir/locolor/32x32/apps/*.png %buildroot%_iconsdir/%name.png
mkdir -p %buildroot%_menudir
kdedesktop2mdkmenu.pl %name Multimedia/Video %buildroot%_datadir/applnk/Applications/%name.desktop %buildroot%_menudir/%name
%find_lang %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%doc README
%_bindir/*
%_menudir/%name
%_datadir/applnk/Applications/*.desktop
%_iconsdir/locolor/16x16/apps/*.png
%_iconsdir/locolor/32x32/apps/*.png
%_iconsdir/*.png
%changelog
…
Полный changelog можно просмотреть здесь
%define objprelink 0
Name: kmediagrab
Version: 0.3
Release: alt5.1
Source0: %name-%version.tar.bz2
URL: http://sourceforge.net/projects/kmediagrab
License: GPL
Group: Video
Summary: Kmediagrab is a front end to some of mplayer/mencoder features.
Packager: Yehuda Ben-Yosef <ilar at altlinux.ru>
Requires: MPlayer
# Automatically added by buildreq on Thu Jun 10 2004
BuildRequires: XFree86-devel-static XFree86-libs fontconfig freetype2 gcc-c++ gcc-java hostinfo kde-settings
BuildRequires: kdelibs-devel libarts-devel libjpeg-devel libpng-devel libqt3-devel libstdc++-devel zlib-devel
%if %objprelink
BuildRequires: objprelink
%endif
%description
Kmediagrab is a front end to some of mplayer/mencoder features. In detail it grabs audio/video from a DVD , a Tv video card and translate a video file from one format to another. It's intended for the medium user who wants to use its video card as a vi.
%prep
%setup -q
%build
%__subst 's,\.la\>,.so,' configure
%configure \
--disable-rpath \
--with-xinerama \
--disable-debug \
--disable-static \
--enable-shared
%if %objprelink
%make CXX=g++prelink
%else
%make
%endif
%install
%make DESTDIR=%buildroot install
#create menu
cp %buildroot%_iconsdir/locolor/32x32/apps/*.png %buildroot%_iconsdir/%name.png
mkdir -p %buildroot%_menudir
kdedesktop2mdkmenu.pl %name Multimedia/Video %buildroot%_datadir/applnk/Applications/%name.desktop %buildroot%_menudir/%name
%find_lang %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%doc README
%_bindir/*
%_menudir/%name
%_datadir/applnk/Applications/*.desktop
%_iconsdir/locolor/16x16/apps/*.png
%_iconsdir/locolor/32x32/apps/*.png
%_iconsdir/*.png
%changelog
…
Полный changelog можно просмотреть здесь