source: projects/specs/trunk/l/lcms/lcms-vl.spec @ 521

Revision 521, 4.6 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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