Name: libmovtar
Summary: Tools for the movtar MJPEG video format
Version: 0.1.3
Release: 4
License: GPL
Group: Applications/Multimedia
URL: http://mjpeg.sourceforge.net/
Description: This package includes libmovtar, the support library, and various
tools which together implement the movtar MJPEG video format.
The build could not start because of the following missing build requirements:
The build could not start because of the following missing build requirements:
The spec file used by the build system currently has the following contents:
# $Id$
# Authority: matthias
%define jpegmmxver 0.1.5
Summary: Tools for the movtar MJPEG video format
Name: libmovtar
Version: 0.1.3
Release: 4%{?dist}
License: GPL
Group: Applications/Multimedia
URL: http://mjpeg.sourceforge.net/
Source0: http://dl.sf.net/mjpeg/libmovtar-%{version}.tar.gz
Source1: http://dl.sf.net/mjpeg/jpeg-mmx-%{jpegmmxver}.tar.gz
Patch0: jpeg-mmx-0.1.5.patch
Patch1: libmovtar-0.1.3.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: SDL, glib
BuildRequires: SDL-devel, glib-devel
#ExclusiveArch: %{ix86}
%ifarch %{ix86}
BuildRequires: nasm
%endif
%description
This package includes libmovtar, the support library, and various
tools which together implement the movtar MJPEG video format.
%package devel
Summary: Development headers and libraries for the movtar MJPEG video format
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
This package contains static libraries and C system header files
needed to compile applications that use part of the libraries
of the mjpegtools package.
%prep
%setup -a 1
%patch0 -p0
%patch1 -p0
%{__mv} jpeg-mmx-* jpeg-mmx
%build
# For x86, we link against the bundled jpeg-mmx
%ifarch %{ix86}
(cd jpeg-mmx && %configure && %{__make} libjpeg-mmx.a)
%endif
export CFLAGS="%{optflags} -I`pwd`/jpeg-mmx"
%configure --with-jpeg-mmx="`pwd`/jpeg-mmx"
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%makeinstall
%clean
%{__rm} -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING NEWS README*
%{_bindir}/movtar_*
%{_bindir}/pnm2rtj
%{_bindir}/rtjshow
%files devel
%defattr(-, root, root, 0755)
%{_bindir}/movtar-config
%{_includedir}/*
%{_libdir}/*.a
%{_datadir}/aclocal/*
%changelog
* Wed Apr 06 2005 Dag Wieers <dag@wieers.com> - 0.1.3-4
- Updated jpeg-mmx to 0.1.5.
- Added patches from Axel Thimm.
- Removed ExclusiveArch.
* Tue Nov 11 2003 Matthias Saou <http://freshrpms.net/> 0.1.3-3
- Rebuild for Fedora Core 1.
- Added missing nasm build requirement for jpeg-mmx.
* Mon Mar 31 2003 Matthias Saou <http://freshrpms.net/>
- Initial release for Red Hat Linux 9.