1 Summary: Little CMS - a library to transform between colour profiles
2 Summary(pl): Little CMS - biblioteka do konwersji miêdzy profilami kolorów
8 Source0: http://dl.sourceforge.net/lcms/%{name}-%{version}.tar.gz
9 # Source0-md5: 5a803460aeb10e762d97e11a37462a69
10 URL: http://www.littlecms.com/
11 BuildRequires: autoconf >= 2.57
12 BuildRequires: automake >= 1.7.2
13 BuildRequires: libjpeg-devel
14 BuildRequires: libstdc++-devel
15 BuildRequires: libtiff-devel
16 BuildRequires: libtool >= 1:1.4.2-9
17 BuildRequires: python-devel >= 1.5
18 BuildRequires: rpm-pythonprov
19 BuildRequires: swig >= 1.3.12
20 BuildRequires: zlib-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 # There is no pretty description in source archive... use these.
26 lcms does not allow to write profiles, and profile manipulation is not
27 its goal. Instead, lcms focus on implement fast transforms between
31 lcms nie pozwala na tworzenie profili i obróbka profili nie jest celem
32 tej biblioteki. Natomiast lcms skupia siê na implementacji szybkiej
33 konwersji miêdzy profilami.
36 Summary: Little CMS - header files and developer's documentation
37 Summary(pl): Little CMS - pliki nag³ówkowe i dokumentacja
38 Group: Development/Libraries
39 Requires: %{name} = %{version}-%{release}
42 Header files needed to compile programs with liblcms and some
43 documentation useful for programmers.
45 %description devel -l pl
46 Pliki nag³ówkowe potrzebne do konsolidacji z liblcms oraz dokumentacja
50 Summary: Little CMS - static library
51 Summary(pl): Little CMS - biblioteka statyczna
52 Group: Development/Libraries
53 Requires: %{name}-devel = %{version}-%{release}
56 Static version of liblcms.
58 %description static -l pl
59 Statyczna biblioteka liblcms.
62 Summary: Example and demonstration programs for Little CMS
63 Summary(pl): Programy przyk³adowe i demonstracyjne do Little CMS
64 Group: Applications/Graphics
65 Requires: %{name} = %{version}-%{release}
68 Example and demonstration programs for Little CMS.
70 %description progs -l pl
71 Programy przyk³adowe i demonstracyjne do Little CMS.
73 %package -n python-lcms
74 Summary: Little CMS module for Python
75 Summary(pl): Modu³ Little CMS dla Pythona
76 Group: Libraries/Python
77 Requires: %{name} = %{version}-%{release}
80 %description -n python-lcms
81 Little CMS module for Python.
83 %description -n python-lcms -l pl
84 Modu³ Little CMS dla Pythona.
100 rm -rf $RPM_BUILD_ROOT
103 DESTDIR=$RPM_BUILD_ROOT
105 install samples/{icctrans,wtpt} tifficc/tifficc $RPM_BUILD_ROOT%{_bindir}
107 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{a,la}
110 rm -rf $RPM_BUILD_ROOT
112 %post -p /sbin/ldconfig
113 %postun -p /sbin/ldconfig
116 %defattr(644,root,root,755)
117 %doc AUTHORS NEWS README.1ST
118 %attr(755,root,root) %{_libdir}/lib*.so.*.*
121 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_libdir}/lib*.so
126 %{_pkgconfigdir}/*.pc
129 %defattr(644,root,root,755)
133 %defattr(644,root,root,755)
134 %attr(755,root,root) %{_bindir}/*
137 %files -n python-lcms
138 %defattr(644,root,root,755)
139 %attr(755,root,root) %{py_sitedir}/_lcms.so
140 %{py_sitedir}/lcms.py