Summary: Tools for image processing Name: CImg Version: 1.5.0 Release: 1%{?dist} License: CeCILLv2 Group: Development/Libraries URL: http://cimg.sourceforge.net/ Source0: http://prdownloads.sourceforge.net/cimg/%{name}-%{version}.zip BuildRequires: fftw3-devel libtiff-devel libpng-devel libjpeg-devel libX11-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description Image manipulation tools based on the CImg library, including the greycstoration noise reduction tool. %prep %setup -q %build pushd examples make olinux popd %install rm -rf %{buildroot} mkdir -p %{buildroot}/usr/bin pushd examples mv captcha %{buildroot}/usr/bin mv CImg_demo %{buildroot}/usr/bin mv curve_editor2d %{buildroot}/usr/bin mv dtmri_view3d %{buildroot}/usr/bin mv edge_explorer2d %{buildroot}/usr/bin mv fade_images %{buildroot}/usr/bin mv gaussian_fit1d %{buildroot}/usr/bin mv generate_loop_macros %{buildroot}/usr/bin mv hough_transform2d %{buildroot}/usr/bin mv image2ascii %{buildroot}/usr/bin mv image_registration2d %{buildroot}/usr/bin mv image_surface3d %{buildroot}/usr/bin mv jawbreaker %{buildroot}/usr/bin mv mcf_levelsets2d %{buildroot}/usr/bin mv mcf_levelsets3d %{buildroot}/usr/bin mv odykill %{buildroot}/usr/bin mv pde_TschumperleDeriche2d %{buildroot}/usr/bin mv pde_heatflow2d %{buildroot}/usr/bin mv plotter1d %{buildroot}/usr/bin mv radon_transform2d %{buildroot}/usr/bin mv scene3d %{buildroot}/usr/bin mv spherical_function3d %{buildroot}/usr/bin mv tetris %{buildroot}/usr/bin mv tron %{buildroot}/usr/bin mv tutorial %{buildroot}/usr/bin mv use_RGBclass %{buildroot}/usr/bin mv use_draw_gradient %{buildroot}/usr/bin mv use_nlmeans %{buildroot}/usr/bin mv use_skeleton %{buildroot}/usr/bin mv wavelet_atrous %{buildroot}/usr/bin popd mkdir -p %{buildroot}/usr/include/CImg mv plugins %{buildroot}/usr/include/CImg mv CImg.h %{buildroot}/usr/include/CImg ln -s CImg/CImg.h CImg.h mv CImg.h %{buildroot}/usr/include %clean rm -rf %{buildroot} %package devel Summary: Powerful image processing library Group: Development/Libraries URL: http://cimg.sourceforge.net/ %description devel The CImg Library is a C++ toolkit providing simple classes and functions to load, save, process and display images in your own C++ code. It consists only of a single header file CImg.h that must be included in your program source. It contains useful image processing algorithms for loading/saving, resizing/rotating, filtering, object drawing (text, lines, faces, ellipses, ...), etc. Images are instanciated by a class able to represent images up to 4-dimension wide (from 1-D scalar signals to 3-D volumes of vector-valued pixels), with template pixel types. It depends on a minimal number of libraries: you can compile it with only standard C libraries. No need for exotic libraries and complex dependencies. %files %defattr(-,root,root,-) %doc README.txt Licence_CeCILL* %{_bindir}/* %files devel %defattr(-,root,root,-) %doc html README.txt Licence_CeCILL* examples %{_includedir}/CImg %{_includedir}/CImg.h %changelog * Tue Jul 14 2009 CImg - 1.3.1 - Initial build