]> git.pld-linux.org Git - packages/lcms.git/blob - lcms.spec
- qt3 patch is obsolete
[packages/lcms.git] / lcms.spec
1 Summary:        Little CMS - a library to transform between colour profiles
2 Summary(pl):    Little CMS - biblioteka do konwersji miêdzy profilami kolorów
3 Name:           lcms
4 Version:        1.09
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://www.littlecms.com/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-makefiles.patch
10 URL:            http://www.littlecms.com/
11 BuildRequires:  libjpeg-devel
12 BuildRequires:  libtiff-devel
13 BuildRequires:  libtool
14 BuildRequires:  zlib-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 # There is no pretty description in source archive... use these.
18
19 %description
20 lcms does not allow to write profiles, and profile manipulation is not
21 its goal. Instead, lcms focus on implement fast transforms between
22 profiles.
23
24 %description -l pl
25 lcms nie pozwala na tworzenie profili i obróbka profili nie jest celem
26 tej biblioteki. Natomiast lcms skupia siê na implementacji szybkiej
27 konwersji miêdzy profilami.
28
29 %package devel
30 Summary:        Little CMS - header files and developer's documentation
31 Summary(pl):    Little CMS - pliki nag³ówkowe i dokumentacja
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}
34
35 %description devel
36 Header files needed to compile programs with liblcms and some
37 documentation useful for programmers.
38
39 %description devel -l pl
40 Pliki nag³ówkowe potrzebne do linkowana z liblcms oraz dokumentacja
41 dla programistów.
42
43 %package static
44 Summary:        Little CMS - static library
45 Summary(pl):    Little CMS - biblioteka statyczna
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{version}
48
49 %description static
50 Static version of liblcms.
51
52 %description static -l pl
53 Statyczna biblioteka liblcms.
54
55 %package progs
56 Summary:        Example and demonstration programs for Little CMS
57 Summary(pl):    Programy przyk³adowe i demonstracyjne do Little CMS
58 Group:          Applications/Graphics
59 Requires:       %{name} = %{version}
60
61 %description progs
62 Example and demonstration programs for Little CMS.
63
64 %description progs -l pl
65 Programy przyk³adowe i demonstracyjne do Little CMS.
66
67 %prep
68 %setup -q
69 %patch0 -p1
70
71 %build
72 %{__make} all \
73         OPTFLAGS="%{rpmcflags}" \
74         LDFLAGS="%{rpmldflags}" \
75         CC="%{__cc}"
76 %{__make} tifficc \
77         OPTFLAGS="%{rpmcflags}" \
78         LDFLAGS="%{rpmldflags}" \
79         CC="%{__cc}"
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83 install -d $RPM_BUILD_ROOT
84
85 %{__make} install DESTDIR=$RPM_BUILD_ROOT
86
87 install samples/{icctrans,wtpt} tifficc/tifficc $RPM_BUILD_ROOT%{_bindir}
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post   -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %files
96 %defattr(644,root,root,755)
97 %doc AUTHORS NEWS README
98 %attr(755,root,root) %{_libdir}/lib*.so.*.*
99
100 %files devel
101 %defattr(644,root,root,755)
102 %doc doc/*
103 %{_libdir}/lib*.so
104 %{_libdir}/lib*.la
105 %{_includedir}/*
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/lib*.a
110
111 %files progs
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_bindir}/*
This page took 0.07794 seconds and 4 git commands to generate.