]> git.pld-linux.org Git - packages/lcms2.git/blame - lcms2.spec
- updated to 2.15
[packages/lcms2.git] / lcms2.spec
CommitLineData
ddd38dbe 1Summary: Little CMS - a library to transform between colour profiles
2Summary(pl.UTF-8): Little CMS - biblioteka do konwersji między profilami kolorów
3Name: lcms2
bbbe49a9 4Version: 2.15
c43438e3 5Release: 1
ddd38dbe 6License: MIT
7Group: Libraries
c43438e3 8Source0: https://downloads.sourceforge.net/lcms/%{name}-%{version}.tar.gz
bbbe49a9 9# Source0-md5: d17efda96ec79ebdd5de881a93b67839
e026ae86 10URL: https://www.littlecms.com/
645a8eea 11BuildRequires: autoconf >= 2.60
bbbe49a9 12BuildRequires: automake >= 1:1.9
645a8eea 13BuildRequires: libjpeg-devel >= 6b
ddd38dbe 14BuildRequires: libstdc++-devel
15BuildRequires: libtiff-devel
bbbe49a9 16BuildRequires: libtool >= 2:2
ddd38dbe 17BuildRequires: zlib-devel
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
ddd38dbe 20%description
645a8eea
JB
21Little CMS intends to be a small-footprint color management engine,
22with special focus on accuracy and performance. It uses the
23International Color Consortium standard (ICC), which is the modern
24standard when regarding to color management.
25
7d2d0c8a 26Little CMS 2.12 supports ICC profile specification v4.3.
ddd38dbe 27
28%description -l pl.UTF-8
645a8eea
JB
29Little CMS jest lekkim silnikiem zarządzania kolorami, tworzonym
30przede wszystkim z myślą o dokładności i wydajności. Wykorzystuje
31standard International Color Consortium (ICC), będący współczesnym
32standardem zarządzania kolorami.
33
7d2d0c8a 34Little CMS 2.12 obsługuje specyfikację profili ICC w wersji 4.3.
ddd38dbe 35
36%package devel
37Summary: Little CMS - header files and developer's documentation
38Summary(pl.UTF-8): Little CMS - pliki nagłówkowe i dokumentacja
39Group: Development/Libraries
40Requires: %{name} = %{version}-%{release}
41
42%description devel
43Header files needed to compile programs with liblcms and some
44documentation useful for programmers.
45
46%description devel -l pl.UTF-8
47Pliki nagłówkowe potrzebne do konsolidacji z liblcms oraz dokumentacja
48dla programistów.
49
50%package static
51Summary: Little CMS - static library
52Summary(pl.UTF-8): Little CMS - biblioteka statyczna
53Group: Development/Libraries
54Requires: %{name}-devel = %{version}-%{release}
55
56%description static
57Static version of liblcms.
58
59%description static -l pl.UTF-8
60Statyczna biblioteka liblcms.
61
62%package progs
63Summary: Example and demonstration programs for Little CMS
64Summary(pl.UTF-8): Programy przykładowe i demonstracyjne do Little CMS
65Group: Applications/Graphics
66Requires: %{name} = %{version}-%{release}
67
68%description progs
69Example and demonstration programs for Little CMS.
70
71%description progs -l pl.UTF-8
72Programy przykładowe i demonstracyjne do Little CMS.
73
e026ae86
JB
74%package apidocs
75Summary: Little CMS 2.x API documentation and tutorial
76Summary(pl.UTF-8): Dokumentacja API i wprowadzenie do Little CMS 2.x
77Group: Documentation
78
79%description apidocs
80Little CMS 2.x API documentation and tutorial.
81
82%description apidocs -l pl.UTF-8
83Dokumentacja API i wprowadzenie do Little CMS 2.x.
84
ddd38dbe 85%prep
e793c3ce 86%setup -q
ddd38dbe 87
88%build
89%{__libtoolize}
90%{__aclocal}
91%{__autoconf}
92%{__automake}
93%configure
94
95%{__make}
96
97%install
98rm -rf $RPM_BUILD_ROOT
99
100%{__make} install \
101 DESTDIR=$RPM_BUILD_ROOT
102
e026ae86
JB
103# obsoleted by pkg-config
104%{__rm} $RPM_BUILD_ROOT%{_libdir}/liblcms2.la
105
ddd38dbe 106%clean
107rm -rf $RPM_BUILD_ROOT
108
109%post -p /sbin/ldconfig
110%postun -p /sbin/ldconfig
111
112%files
113%defattr(644,root,root,755)
d736bf90 114%doc ChangeLog AUTHORS COPYING README.1ST
ddd38dbe 115%attr(755,root,root) %{_libdir}/liblcms2.so.*.*.*
116%attr(755,root,root) %ghost %{_libdir}/liblcms2.so.2
117
118%files devel
119%defattr(644,root,root,755)
ddd38dbe 120%attr(755,root,root) %{_libdir}/liblcms2.so
645a8eea 121%{_includedir}/lcms2*.h
ddd38dbe 122%{_pkgconfigdir}/lcms2.pc
123
124%files static
125%defattr(644,root,root,755)
126%{_libdir}/liblcms2.a
127
128%files progs
129%defattr(644,root,root,755)
645a8eea
JB
130%attr(755,root,root) %{_bindir}/jpgicc
131%attr(755,root,root) %{_bindir}/linkicc
132%attr(755,root,root) %{_bindir}/psicc
133%attr(755,root,root) %{_bindir}/tificc
134%attr(755,root,root) %{_bindir}/transicc
135%{_mandir}/man1/jpgicc.1*
e026ae86
JB
136%{_mandir}/man1/linkicc.1*
137%{_mandir}/man1/psicc.1*
645a8eea 138%{_mandir}/man1/tificc.1*
e026ae86
JB
139%{_mandir}/man1/transicc.1*
140
141%files apidocs
142%defattr(644,root,root,755)
7d2d0c8a 143%doc doc/*.pdf
This page took 0.170136 seconds and 4 git commands to generate.