[521] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
| 3 | Name: lcms |
---|
| 4 | Summary: Little CMS - color management engine |
---|
| 5 | Summary(ja): Little CMS - カラーマネージメントエンジン |
---|
[1916] | 6 | Version: 1.19 |
---|
| 7 | Release: 1%{?_dist_release} |
---|
| 8 | |
---|
| 9 | Group: System Environment/Libraries |
---|
[521] | 10 | License: MIT |
---|
| 11 | URL: http://www.littlecms.com/ |
---|
[1916] | 12 | |
---|
[521] | 13 | Source0: http://www.littlecms.com/%{name}-%{version}.tar.gz |
---|
| 14 | Patch100: lcms-1.18_cmsxfrom_CVE-2009-0793.patch |
---|
| 15 | |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[1916] | 17 | BuildRequires: zlib-devel |
---|
| 18 | BuildRequires: libtiff-devel |
---|
| 19 | BuildRequires: libjpeg-turbo-devel |
---|
| 20 | BuildRequires: pkgconfig |
---|
[521] | 21 | |
---|
| 22 | %description |
---|
| 23 | Little cms intends to be a small-footprint, speed optimized color management |
---|
| 24 | engine in open source form. |
---|
| 25 | |
---|
| 26 | %package devel |
---|
| 27 | Summary: Header files and library for development with LCMS |
---|
| 28 | Group: Development/Libraries |
---|
[1916] | 29 | Requires: %{name} = %{version}-%{release} |
---|
[521] | 30 | |
---|
| 31 | %description devel |
---|
| 32 | Development files for development with LCMS |
---|
| 33 | |
---|
| 34 | %package static |
---|
| 35 | Summary: Static library for development with LCMS |
---|
| 36 | Group: Development/Libraries |
---|
[1916] | 37 | Requires: %{name}-devel = %{version}-%{release} |
---|
[521] | 38 | |
---|
| 39 | %description static |
---|
| 40 | Static libraries for development with LCMS |
---|
| 41 | |
---|
| 42 | %package utils |
---|
| 43 | Summary: Additional Command Line Utilities for littlecms |
---|
[1916] | 44 | Group: Applications/Graphics |
---|
| 45 | Requires: %{name} = %{version}-%{release} |
---|
[521] | 46 | |
---|
| 47 | %description utils |
---|
| 48 | Command line utilities which can perform icc transforms and provide info |
---|
| 49 | about icc profiles. |
---|
| 50 | |
---|
| 51 | # compat32 |
---|
| 52 | %package -n compat32-%{name} |
---|
| 53 | Summary: Little CMS - color management engine |
---|
| 54 | Summary(ja): Little CMS - カラーマネージメントエンジン |
---|
[1916] | 55 | Group: System Environment/Libraries |
---|
[521] | 56 | Requires: %{name} = %{version}-%{release} |
---|
| 57 | |
---|
| 58 | %description -n compat32-%{name} |
---|
| 59 | Little cms intends to be a small-footprint, speed optimized color management |
---|
| 60 | engine in open source form. |
---|
| 61 | |
---|
| 62 | %package -n compat32-%{name}-devel |
---|
| 63 | Summary: Header files and library for development with LCMS |
---|
| 64 | Group: Development/Libraries |
---|
| 65 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 66 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 67 | |
---|
| 68 | %description -n compat32-%{name}-devel |
---|
| 69 | Development files for development with LCMS |
---|
| 70 | |
---|
| 71 | %prep |
---|
| 72 | %setup -q |
---|
| 73 | |
---|
| 74 | %patch100 -p1 -b .CVE-2009-0793 |
---|
| 75 | |
---|
| 76 | %build |
---|
| 77 | %configure |
---|
| 78 | make all |
---|
| 79 | |
---|
| 80 | %install |
---|
| 81 | rm -rf $RPM_BUILD_ROOT |
---|
| 82 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 83 | |
---|
| 84 | rm $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 85 | |
---|
| 86 | %clean |
---|
| 87 | rm -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 |
---|
[1916] | 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 | |
---|
[521] | 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 |
---|