lcms-vl.spec 5.0 KB

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