Репозиторий Sisyphus
Последнее обновление: 25 августа 2019 | Пакетов: 17347 | Посещений: 14703682
en ru br
Репозитории ALT
S:2.1.0-alt3
5.1: 1.9.0-alt2
4.1: 1.9.0-alt0.rc2
4.0: 1.8.0-alt1
3.0: 1.7.0-alt0.2
www.altlinux.org/Changes

Группа :: Видео
Пакет: mjpegtools

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define shver 2.1

Name: mjpegtools
Version: 2.1.0
Release: alt2

Summary: Tools for recording, editing, playing back mpeg-encoding video under linux
License: GPL
Group: Video
Url: http://mjpeg.sourceforge.net

Source: http://prdownloads.sourceforge.net/mjpeg/%name-%version.tar

%define libdv_ver 0.9

Requires: lib%name%shver = %version-%release
Requires: libdv >= %libdv_ver

BuildPreReq: libdv-devel >= %libdv_ver

BuildRequires: glibc-kernheaders libjpeg-devel libSDL_gfx-devel gcc-c++
BuildRequires: libpng-devel libXxf86dga-devel libgtk+2-devel libSDL-devel
BuildRequires: libXt-devel libv4l-devel
# explicitly added texinfo for info files
BuildRequires: texinfo

%description
The MJPEG-tools are a basic set of utilities for recording, editing,
playing back and encoding (to mpeg) video under linux. Recording can
be done with zoran-based MJPEG-boards (LML33, Iomega Buz, Pinnacle
DC10(+), Marvel G200/G400), these can also playback video using the
hardware. With the rest of the tools, this video can be edited and
encoded into mpeg1/2 or divx video.

%ifarch %ix86
NOTE:
The resultant binaries will ***NOT*** run on a K6 or Pentium CPU
%endif

%package -n lib%name%shver
Summary: Shared libraries for the mjpegtools
Group: System/Libraries
Obsoletes: %name-libs
Provides: %name-libs = %version-%release

%description -n lib%name%shver
This package contains shared libraries needed to run mjpegtools.

%ifarch %ix86
NOTE:
This binaries does ***NOT*** compatible with a K6 or Pentium CPU
%endif

%package -n lib%name-devel
Summary: Development headers and libraries for the mjpegtools
Group: Development/C
Obsoletes: %name-devel
Provides: %name-devel = %version-%release
Requires: lib%name%shver = %version-%release

%description -n lib%name-devel
This package contains libraries and header files needed to compile
applications that use part of the libraries of the mjpegtools package.

%prep
%setup

%build
%autoreconf
%configure \
%{subst_enable static} \
--enable-large-file \
--with-x \
%ifarch %ix86
--enable-simd-accel
%endif

sed -ri 's/^(hardcode_libdir_flag_spec|runpath_var)=.*/\1=/' libtool
export LD_LIBRARY_PATH=$PWD/utils/.libs
%make_build

%install
%makeinstall

# remove non-packaged files

rm -f %buildroot%_infodir/dir

%files
%_bindir/*
%_man1dir/*
%_infodir/*.info*
%doc AUTHORS BUGS CHANGES HINTS PLANS README TODO

%files -n lib%name%shver
%_libdir/*.so.*

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%_man5dir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin