# -*- mode: rpm-spec ; mode: font-lock -*- # $Id: freeimage.spec,v 1.1 2006/04/04 09:42:58 mok Exp $ #---------------------------------- %define comp xray #---------------------------------- Summary: Easy-to-use library supporting many graphics image formats Name: freeimage Version: 3.11.0 Release: 1%{?reltag}%{?repotag} License: GPL+ or MPLv1.0 URL: http://freeimage.sourceforge.net Source0: FreeImage3110.zip Source1: FreeImage3110.pdf Group: Development/Libraries/Graphics BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot/ %description FreeImage is a library project for developers who would like to support popular graphics image formats (PNG, JPEG, TIFF, BMP and others). Some highlights are: extremely simple in use, not limited to the local PC (unique FreeImageIO) and Plugin driven! %prep %setup -n FreeImage %build make cp %{SOURCE1} . %install install -d %{buildroot}%{_libdir} install -d %{buildroot}%{_includedir} for f in Dist/lib*; do install $f %{buildroot}%{_libdir} done for f in Dist/*.h; do install $f %{buildroot}%{_includedir} done %files %defattr(-,bin,bin,-) %doc FreeImage3110.pdf %{_includedir} %{_libdir}/lib* %changelog * Mon Jan 12 2008 Vitalie Cherpec - 3.11.0 * Wed Aug 9 2006 Morten Kjeldgaard - 3.9.1 - New upstream version 3.9.1, new docs. * Tue Apr 4 2006 Morten Kjeldgaard - First packaged. ####