#
-# TODO: create lcms2.spec
-#
# Conditional build:
%bcond_without python # don't build python bindings
#
# There is no pretty description in source archive... use these.
%description
-lcms does not allow to write profiles, and profile manipulation is not
-its goal. Instead, lcms focus on implement fast transforms between
-profiles.
+Little CMS intends to be a small-footprint color management engine,
+with special focus on accuracy and performance. It uses the
+International Color Consortium standard (ICC), which is the modern
+standard when regarding to color management.
+
+Little CMS 1.x supports ICC profile specification v3.4.
%description -l pl.UTF-8
-lcms nie pozwala na tworzenie profili i obróbka profili nie jest celem
-tej biblioteki. Natomiast lcms skupia się na implementacji szybkiej
-konwersji między profilami.
+Little CMS jest lekkim silnikiem zarządzania kolorami, tworzonym
+przede wszystkim z myślą o dokładności i wydajności. Wykorzystuje
+standard International Color Consortium (ICC), będący współczesnym
+standardem zarządzania kolorami.
+
+Little CMS obsługuje specyfikację profili ICC w wersji 3.4.
%package devel
Summary: Little CMS - header files and developer's documentation
install samples/{icctrans,wtpt} tifficc/tifficc $RPM_BUILD_ROOT%{_bindir}
-rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{a,la}
+%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.{a,la}
%clean
rm -rf $RPM_BUILD_ROOT
%doc doc/*
%attr(755,root,root) %{_libdir}/liblcms.so
%{_libdir}/liblcms.la
-%{_includedir}/*.h
+%{_includedir}/icc34.h
+%{_includedir}/lcms.h
%{_pkgconfigdir}/lcms.pc
%files static
%files progs
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*.1*
+%attr(755,root,root) %{_bindir}/icc2ps
+%attr(755,root,root) %{_bindir}/icclink
+%attr(755,root,root) %{_bindir}/icctrans
+%attr(755,root,root) %{_bindir}/jpegicc
+%attr(755,root,root) %{_bindir}/tiffdiff
+%attr(755,root,root) %{_bindir}/tifficc
+%attr(755,root,root) %{_bindir}/wtpt
+%{_mandir}/man1/icc2ps.1*
+%{_mandir}/man1/icclink.1*
+%{_mandir}/man1/jpegicc.1*
+%{_mandir}/man1/tifficc.1*
+%{_mandir}/man1/wtpt.1*
%if %{with python}
%files -n python-lcms