]> git.pld-linux.org Git - packages/lcms.git/blobdiff - lcms.spec
- really fix python install
[packages/lcms.git] / lcms.spec
index 7f075adfd7699aa70e07588752e5f722ea29bc99..688a7b2f28c78ea5b552b9a2e12b1fb9dd17c7c9 100644 (file)
--- a/lcms.spec
+++ b/lcms.spec
@@ -5,19 +5,16 @@
 Summary:       Little CMS - a library to transform between colour profiles
 Summary(pl.UTF-8):     Little CMS - biblioteka do konwersji między profilami kolorów
 Name:          lcms
-Version:       1.18
-Release:       5
+Version:       1.19
+Release:       6
 License:       MIT
 Group:         Libraries
-# corrupted
-#Source0:      http://dl.sourceforge.net/lcms/%{name}-%{version}.tar.gz
-Source0:       http://www.littlecms.com/%{name}-%{version}.tar.gz
-# Source0-md5: 9f908e2dc48f76db77ac35a382e394c7
+Source0:       http://downloads.sourceforge.net/lcms/%{name}-%{version}.tar.gz
+# Source0-md5: 8af94611baf20d9646c7c2c285859818
 Patch0:                %{name}-python.patch
 URL:           http://www.littlecms.com/
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake >= 1:1.7.2
-BuildRequires: dos2unix
 BuildRequires: libjpeg-devel
 BuildRequires: libstdc++-devel
 BuildRequires: libtiff-devel
@@ -27,22 +24,27 @@ BuildRequires:      sed >= 4.0
 BuildRequires: python-devel >= 2.2
 BuildRequires: python-modules
 BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.566
 BuildRequires: swig-python >= 1.3.30
 %endif
 BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-# 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 1.x obsługuje specyfikację profili ICC w wersji 3.4.
 
 %package devel
 Summary:       Little CMS - header files and developer's documentation
@@ -97,7 +99,7 @@ Moduł Little CMS dla Pythona.
 
 %prep
 %setup -q
-dos2unix configure.ac
+%undos configure.ac
 %patch0 -p1
 
 %build
@@ -123,7 +125,7 @@ rm -rf $RPM_BUILD_ROOT
 
 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
@@ -142,7 +144,8 @@ 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
@@ -151,8 +154,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
This page took 0.032626 seconds and 4 git commands to generate.