Name: libjpeg Version: 8c Release: 1mamba Summary: A library for manipulating JPEG image format files Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.ijg.org Source: http://www.ijg.org/files/jpegsrc.v%{version}.tar.gz Patch0: %{name}-6b-ojpeg.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %debug_package %description This package contains the library needed to run programs dynamically linked with libjpeg. %package devel Group: Development/Libraries Summary: Devel files for a library for manipulating JPEG image format files Requires: %{name} = %{version}-%{release} %description devel This package contains the library needed to run programs dynamically linked with libjpeg. This package contains static libraries and header files need for development. %prep %setup -q -n jpeg-%{version} %patch0 -p1 %build %configure \ --enable-static \ --enable-shared \ --enable-maxmem %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" install -d %{buildroot}%{_includedir} install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_libdir} install -d %{buildroot}%{_mandir}/man3 %makeoldinstall mandir=%{buildroot}%{_mandir} install jpegint.h %{buildroot}%{_includedir} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/* %{_libdir}/libjpeg.so.* %{_mandir}/man1/* %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/libjpeg.a %{_libdir}/libjpeg.la %{_libdir}/libjpeg.so %changelog * Fri Feb 11 2011 Silvan Calarco 8c-1mamba - update to 8c - rebuilt with debug package * Fri Jan 15 2010 Automatic Build System 8-1mamba - automatic update by autodist * Mon Jul 13 2009 Automatic Build System 7-1mamba - automatic update by autodist * Sat Jun 13 2009 Silvan Calarco 6b-5mamba - rebuilt with old jpeg support patch for libtiff - install jpegint.h * Tue Jun 03 2008 Silvan Calarco 6b-4mamba - specfile updated * Tue Jun 13 2006 Davide Madrisan 6b-3qilnx - rebuilt with `--enable-maxmem' enabled to avoid Denial of Service issues due to memory exhaustion * Fri May 19 2006 Davide Madrisan 6b-2qilnx - specfile fixed * Wed May 21 2003 Silvan Calarco 6b-1qilnx - first build