source: projects/specs/branches/6/l/lcms/lcms-vl.spec @ 1916

Revision 1916, 4.9 KB checked in by inagaki, 14 years ago (diff)

rebuilt with rpm-4.8.1: arts, cln, dotconf, dbusmenu-qt, dbus-python, eet, eigen2, kdegraphics, kdebindings, lcms
updated: dbus-python, eigen2, lcms

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name: lcms
4Summary: Little CMS - color management engine
5Summary(ja): Little CMS - カラーマネージメントエンジン
6Version: 1.19
7Release: 1%{?_dist_release}
8
9Group: System Environment/Libraries
10License: MIT
11URL: http://www.littlecms.com/
12
13Source0: http://www.littlecms.com/%{name}-%{version}.tar.gz
14Patch100: lcms-1.18_cmsxfrom_CVE-2009-0793.patch
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17BuildRequires: zlib-devel
18BuildRequires: libtiff-devel
19BuildRequires: libjpeg-turbo-devel
20BuildRequires: pkgconfig
21
22%description
23Little cms intends to be a small-footprint, speed optimized color management
24engine in open source form.
25
26%package devel
27Summary: Header files and library for development with LCMS
28Group: Development/Libraries
29Requires: %{name} = %{version}-%{release}
30
31%description devel
32Development files for development with LCMS
33
34%package static
35Summary: Static library for development with LCMS
36Group: Development/Libraries
37Requires: %{name}-devel = %{version}-%{release}
38
39%description static
40Static libraries for development with LCMS
41
42%package utils
43Summary: Additional Command Line Utilities for littlecms
44Group: Applications/Graphics
45Requires: %{name} = %{version}-%{release}
46
47%description utils
48Command line utilities which can perform icc transforms and provide info
49about icc profiles.
50
51# compat32
52%package -n compat32-%{name}
53Summary: Little CMS - color management engine
54Summary(ja): Little CMS - カラーマネージメントエンジン
55Group: System Environment/Libraries
56Requires: %{name} = %{version}-%{release}
57
58%description -n compat32-%{name}
59Little cms intends to be a small-footprint, speed optimized color management
60engine in open source form.
61
62%package -n compat32-%{name}-devel
63Summary: Header files and library for development with LCMS
64Group: Development/Libraries
65Requires: %{name}-devel = %{version}-%{release}
66Requires: compat32-%{name} = %{version}-%{release}
67
68%description -n compat32-%{name}-devel
69Development files for development with LCMS
70
71%prep
72%setup -q
73
74%patch100 -p1 -b .CVE-2009-0793
75
76%build
77%configure
78make all
79
80%install
81rm -rf $RPM_BUILD_ROOT
82make install DESTDIR=$RPM_BUILD_ROOT
83
84rm $RPM_BUILD_ROOT%{_libdir}/*.la
85
86%clean
87rm -rf $RPM_BUILD_ROOT
88
89%post -p /sbin/ldconfig
90
91%postun -p /sbin/ldconfig
92
93%post -n compat32-%{name} -p /sbin/ldconfig
94
95%postun -n compat32-%{name} -p /sbin/ldconfig
96
97%files
98%defattr(-,root,root)
99%doc AUTHORS COPYING ChangeLog README.1ST doc/
100%{_libdir}/*.so.*
101
102%files devel
103%defattr(-,root,root)
104%{_includedir}/*
105%{_libdir}/*.so
106%{_libdir}/pkgconfig/lcms.pc
107
108%files static
109%defattr(-,root,root)
110%{_libdir}/*.a
111
112%files utils
113%defattr(-,root,root)
114%{_bindir}/*
115%{_mandir}/man1/*.gz
116
117# compat32
118%if %{build_compat32}
119%files -n compat32-%{name}
120%defattr(-,root,root)
121%{_libdir}/*.so.*
122
123%files -n compat32-%{name}-devel
124%defattr(-,root,root)
125%{_libdir}/*.so
126%{_libdir}/pkgconfig/lcms.pc
127%endif
128
129%changelog
130* Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.19-1
131- new upstream release
132- built with rpm-4.8.1 for pkg-config
133- BR: libjpeg-turbo-devel instead of libjpeg-devel
134
135* Mon Jul 20 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.18-3
136- added compat32 package for x86_64 arch support
137
138* Sat Apr 11 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.18-2
139- add patch100 for fix CVE-2009-0793 (Monochrome Profiles Transform DoS)
140
141* Tue Apr 04 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.18-1
142- new upstream release with security fixes (CVE-2009-0581, 0723, 0733)
143
144* Fri Mar 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.17-2
145- add lcms-static which is needed by tuxonice-userui
146
147* Wed Mar 19 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.17-1
148- new upstream release
149- delete *.la
150- add --disable-static
151
152* Wed May 16 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.16-0vl1
153- new upstream release
154
155* Mon Mar  6 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.15-0vl2
156- rebuid for VineSeed
157
158* Mon Mar  6 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.15-0vl1
159- new upstream release
160- add %%{_mandir}/man1/*.gz to utils package
161
162* Wed May 11 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.14-0vl1
163- new upstream release
164
165* Tue Aug 10 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.13-0vl1
166- source upgrade
167- add BuildPrereq: pkgconfig
168- add %%{_libdir}/pkgconfig/lcms.pc to devel package
169
170* Sat May  1 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.12-0vl1
171- source upgrade
172- change build method, %%files and Group for VineSeed
173
174* Sat May 10 2003 Peter Linnell
175- more spec file tweaks
176- no need to patch makefiles - wtpt executible is obsoleted per Marti
177
178* Sat Apr 26 2003 Peter Linnell
179- split out and compile utils separately
180- add RH80 versioning to avoid confusion with 9 packages
181- needs patched samples makefile
182
183* Wed Apr 23 2003  Peter Linnell
184- new package with 1.10 final
185- takeout profiles - add later
186
187* Fri Mar 14 2003  Peter Linnell
188- rebuild - test target= option works
Note: See TracBrowser for help on using the repository browser.