--- /dev/null
+Summary: C++ Template Image Processing Library
+Summary(pl): Biblioteka szablonów C++ do przetwarzania obrazu
+Name: CImg
+Version: 1.1.4
+Release: 1
+License: CeCILL Free Software License
+Group: Development/Libraries
+Source0: http://dl.sourceforge.net/cimg/%{name}-1-14.zip
+# Source0-md5: 70d01cb7b2e770c989af3f88b369d9ce
+URL: http://cimg.sourceforge.net/
+BuildRequires: unzip
+Requires: libstdc++-devel
+Requires: xorg-lib-libX11-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The CImg Library is an open-source C++ toolkit for image processing.
+It consists in a single header file 'CImg.h' providing a set of C++
+classes and functions that can be used in your own sources, to
+load/save, process and display images. Very portable (Unix/X11,
+Windows, MacOS X, FreeBSD, ...), efficient, easy to use, it's a
+pleasant toolkit for coding image processing stuffs in C++.
+
+%description -l pl
+Biblioteka CImg to toolkit C++ o otwartych ¼ród³ach s³u¿±cy do
+przetwarzania obrazu. Sk³ada siê z pojedynczego pliku nag³ówkowego
+CImg.h udostêpniaj±cego zbiór klas i funkcji C++, które mo¿na
+wykorzystaæ we w³asnych ¼ród³ach do wczytywania, zapisywania,
+przetwarzania i wy¶wietlania obrazów. Jest przeno¶ny (Unix/X11,
+Windows, MacOS X, FreeBSD...), wydajny, ³atwy w u¿yciu i przyjemny do
+kodowania przetwarzania obrazu w C++.
+
+%prep
+%setup -q -n %{name}-1-14
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_includedir},%{_examplesdir}/%{name}-%{version}}
+
+install CImg.h $RPM_BUILD_ROOT%{_includedir}
+install examples/{*.cpp,Makefile} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES.txt LICENSE.txt README.txt
+%lang(fr) %doc LICENSE_FR.txt
+%{_includedir}/CImg.h
+%{_examplesdir}/%{name}-%{version}