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

Revision 8119, 5.0 KB checked in by Takemikaduchi, 10 years ago (diff)

rebuild or new upstream release

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