]> git.pld-linux.org Git - packages/lcms.git/blob - lcms.spec
- use new %doc.
[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.07
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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 # There is no pretty description in source archive... use these.
14
15 %description
16 lcms does not allow to write profiles, and profile manipulation is not
17 its goal. Instead, lcms focus on implement fast transforms between
18 profiles.
19
20 %description -l pl
21 lcms nie pozwala na tworzenie profili i obróbka profili nie jest celem
22 tej biblioteki. Natomiast lcms skupia siê na implementacji szybkiej
23 konwersji miêdzy profilami.
24
25 %package devel
26 Summary:        Little CMS - header files and developer's documentation
27 Summary(pl):    Little CMS - pliki nag³ówkowe i dokumentacja
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}
30
31 %description devel
32 Header files needed to compile programs with liblcms and some
33 documentation useful for programmers.
34
35 %description devel -l pl
36 Pliki nag³ówkowe potrzebne do linkowana z liblcms oraz dokumentacja
37 dla programistów.
38
39 %package static
40 Summary:        Little CMS - static library
41 Summary(pl):    Little CMS - biblioteka statyczna
42 Group:          Development/Libraries
43 Requires:       %{name}-devel = %{version}
44
45 %description static
46 Static version of liblcms.
47
48 %description static -l pl
49 Statyczna biblioteka liblcms.
50
51 %prep
52 %setup -q
53 %patch -p1
54
55 %build
56 %{__make} \
57         CFLAGS="%{rpmcflags}" \
58         LDFLAGS="%{rpmldflags}"
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install DESTDIR=$RPM_BUILD_ROOT
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post   -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
70
71 %files
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog README
74 %attr(755,root,root) %{_libdir}/lib*.so.*.*
75
76 %files devel
77 %defattr(644,root,root,755)
78 %doc doc/*
79 %{_libdir}/lib*.so
80 %attr(755,root,root) %{_libdir}/lib*.la
81 %{_includedir}/*
82
83 %files static
84 %defattr(644,root,root,755)
85 %{_libdir}/lib*.a
This page took 0.037475 seconds and 3 git commands to generate.