libjpeg-mmx/libjpeg-mmx.spec

Name: libjpeg-mmx
Summary: Tools for the movtar MJPEG video format
Version: 0.1.4
Release: 0.2
License: GPL
Group: Applications/Multimedia
URL: http://mjpeg.sourceforge.net/
Description: This package contains static libraries and C system header files needed to compile applications that use part of the libraries of the libjpeg-mmx package.

CentOS 7 x86_64

The build could not start because the following file is missing: jpeg-mmx-0.1.4.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: jpeg-mmx-0.1.4.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

%define real_name jpeg-mmx

Summary: Tools for the movtar MJPEG video format
Name: libjpeg-mmx
Version: 0.1.4
Release: 0.2%{?dist}
License: GPL
Group: Applications/Multimedia
URL: http://mjpeg.sourceforge.net/

Source: http://dl.sf.net/mjpeg/jpeg-mmx-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root


BuildRequires: libjpeg-devel, nasm

%description
This package contains static libraries and C system header files
needed to compile applications that use part of the libraries
of the libjpeg-mmx package.

%prep
%setup -n %{real_name}-%{version}

%build
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0755 libjpeg-mmx.a %{buildroot}%{_libdir}/libjpeg-mmx.a
%{__install} -Dp -m0644 jinclude.h %{buildroot}%{_includedir}/jinclude.h
%{__install} -Dp -m0644 jpegint.h %{buildroot}%{_includedir}/jpegint.h

%post
/sbin/ldconfig 2>/dev/null

%postun
/sbin/ldconfig 2>/dev/null

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc README jconfig.doc usage.doc
%{_includedir}/*.h
%{_libdir}/*.a

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.1.4-0.2
- Rebuild for Fedora Core 5.

* Tue Apr 08 2003 Dag Wieers <dag@wieers.com> - 0.1.4-0
- Split from earlier "mjpegtools" package.
- Initial package. (using DAR)