[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 |
---|
[8119] | 7 | Release: 2%{?_dist_release} |
---|
[1916] | 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 | |
---|
[8119] | 22 | Vendor: Project Vine |
---|
| 23 | Distribution: Vine Linux |
---|
| 24 | |
---|
[521] | 25 | %description |
---|
| 26 | Little cms intends to be a small-footprint, speed optimized color management |
---|
| 27 | engine in open source form. |
---|
| 28 | |
---|
| 29 | %package devel |
---|
| 30 | Summary: Header files and library for development with LCMS |
---|
| 31 | Group: Development/Libraries |
---|
[1916] | 32 | Requires: %{name} = %{version}-%{release} |
---|
[521] | 33 | |
---|
| 34 | %description devel |
---|
| 35 | Development files for development with LCMS |
---|
| 36 | |
---|
| 37 | %package static |
---|
| 38 | Summary: Static library for development with LCMS |
---|
| 39 | Group: Development/Libraries |
---|
[1916] | 40 | Requires: %{name}-devel = %{version}-%{release} |
---|
[521] | 41 | |
---|
| 42 | %description static |
---|
| 43 | Static libraries for development with LCMS |
---|
| 44 | |
---|
| 45 | %package utils |
---|
| 46 | Summary: Additional Command Line Utilities for littlecms |
---|
[1916] | 47 | Group: Applications/Graphics |
---|
| 48 | Requires: %{name} = %{version}-%{release} |
---|
[521] | 49 | |
---|
| 50 | %description utils |
---|
| 51 | Command line utilities which can perform icc transforms and provide info |
---|
| 52 | about icc profiles. |
---|
| 53 | |
---|
| 54 | # compat32 |
---|
| 55 | %package -n compat32-%{name} |
---|
| 56 | Summary: Little CMS - color management engine |
---|
| 57 | Summary(ja): Little CMS - カラーマネージメントエンジン |
---|
[1916] | 58 | Group: System Environment/Libraries |
---|
[521] | 59 | Requires: %{name} = %{version}-%{release} |
---|
| 60 | |
---|
| 61 | %description -n compat32-%{name} |
---|
| 62 | Little cms intends to be a small-footprint, speed optimized color management |
---|
| 63 | engine in open source form. |
---|
| 64 | |
---|
| 65 | %package -n compat32-%{name}-devel |
---|
| 66 | Summary: Header files and library for development with LCMS |
---|
| 67 | Group: Development/Libraries |
---|
| 68 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 69 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 70 | |
---|
| 71 | %description -n compat32-%{name}-devel |
---|
| 72 | Development files for development with LCMS |
---|
| 73 | |
---|
| 74 | %prep |
---|
| 75 | %setup -q |
---|
| 76 | |
---|
| 77 | %patch100 -p1 -b .CVE-2009-0793 |
---|
| 78 | |
---|
| 79 | %build |
---|
| 80 | %configure |
---|
| 81 | make all |
---|
| 82 | |
---|
| 83 | %install |
---|
| 84 | rm -rf $RPM_BUILD_ROOT |
---|
| 85 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 86 | |
---|
| 87 | rm $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 88 | |
---|
| 89 | %clean |
---|
| 90 | rm -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 |
---|
[8119] | 133 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.19-2 |
---|
| 134 | - rebuild with VineSeed environment |
---|
| 135 | |
---|
[1916] | 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 | |
---|
[521] | 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 | |
---|
[8119] | 147 | * Sat Apr 04 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.18-1 |
---|
[521] | 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 |
---|