imlib2-vl.spec 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. Summary: Powerful image loading and rendering library
  2. Summary(ja): 強力な画像ロード & レンダリングライブラリ
  3. Name: imlib2
  4. Version: 1.6.1
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: BSD
  10. Source: https://downloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.bz2
  11. Patch1000: CVE-2020-12761.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: libjpeg-devel
  14. BuildRequires: libpng-devel
  15. BuildRequires: libtiff-devel
  16. BuildRequires: zlib-devel
  17. BuildRequires: bzip2-devel
  18. BuildRequires: freetype2-devel
  19. BuildRequires: libid3tag-devel
  20. BuildRequires: libX11-devel
  21. BuildRequires: libXext-devel
  22. Requires: %{name}-loaders = %{version}
  23. %description
  24. Imlib2 is an advanced replacement library for libraries like libXpm that
  25. provides many more features with much greater flexibility and speed than
  26. standard libraries, including font rasterization, rotation, RGBA space
  27. rendering and blending, dynamic binary filters, scripting, and more.
  28. %package devel
  29. Summary: Imlib2 headers, static libraries and documentation
  30. Summary(ja): Imlib2 のヘッダーファイル,静的ライブラリ,ドキュメント
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}
  33. %description devel
  34. Headers, static libraries and documentation for Imlib2.
  35. %package filters
  36. Summary: Imlib2 basic plugin filters set
  37. Group: System Environment/Libraries
  38. Requires: %{name} = %{version}
  39. %description filters
  40. Basic set of plugin filters that come with Imlib2
  41. %package loaders
  42. Summary: Imlib2 loader set
  43. Group: System Environment/Libraries
  44. #Requires: libjpeg libpng zlib libtiff
  45. Provides: %{name}-loader_jpeg %{name}-loader_png %{name}-loader_argb
  46. Provides: %{name}-loader_bmp %{name}-loader_gif %{name}-loader_pnm
  47. Provides: %{name}-loader_tga %{name}-loader_tiff %{name}-loader_xpm
  48. Provides: %{name}-loader_gz %{name}-loader_bz2
  49. Provides: %{name}-loader_lbm %{name}-loader_id3
  50. Provides: %{name}-loader = %{version}-%{release}
  51. Obsoletes: %{name}-loader < %{version}-%{release}
  52. %description loaders
  53. Set of image loader/saver of Imlib2. This package contains
  54. the following loader.
  55. loader_lbm - LBM image loader/saver
  56. loader_jpeg - JPEG image loader/saver
  57. loader_png - PNG image loader/saver
  58. loader_argb - ARGB image loader/saver
  59. loader_bmp - BMP image loader/saver
  60. loader_gif - GIF image loader
  61. loader_pnm - PNM image loader/saver
  62. loader_tga - TGA image loader/saver
  63. loader_tiff - TIFF image loader/saver
  64. loader_xpm - XPM image loader/saver
  65. loader_bz2 - Bzip2 compressed image loader/saver
  66. loader_gz - gz compressed image loader/saver
  67. loader_id3 - id3 tag image loader/saver
  68. %prep
  69. %setup -q
  70. %patch1000 -p1
  71. %build
  72. %configure --disable-static
  73. make %{?_smp_mflags}
  74. %install
  75. rm -rf $RPM_BUILD_ROOT
  76. make DESTDIR=$RPM_BUILD_ROOT install
  77. # remove unpackage files
  78. rm -f $RPM_BUILD_ROOT%{_libdir}/imlib2/*/*.la
  79. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  80. %clean
  81. rm -rf $RPM_BUILD_ROOT
  82. %post -p /sbin/ldconfig
  83. %postun -p /sbin/ldconfig
  84. %files
  85. %defattr(-,root,root,0755)
  86. %license COPYING
  87. %doc AUTHORS README doc/index.html doc/imlib2.gif doc/blank.gif
  88. %{_libdir}/lib*.so.*
  89. %{_bindir}/imlib2_*
  90. %{_datadir}/imlib2
  91. %files devel
  92. %defattr(-,root,root,0755)
  93. %{_bindir}/imlib2-config
  94. %{_libdir}/libImlib2.so
  95. #{_libdir}/*.a
  96. %{_libdir}/pkgconfig/imlib2.pc
  97. %{_includedir}/*
  98. %files filters
  99. %defattr(-,root,root,0755)
  100. %dir %{_libdir}/imlib2/filters
  101. %{_libdir}/imlib2/filters/*.so
  102. %files loaders
  103. %defattr(-,root,root,0755)
  104. %dir %{_libdir}/imlib2/loaders
  105. %{_libdir}/imlib2/loaders/*.so
  106. %changelog
  107. * Sat May 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6.1-1
  108. - new upstream release.
  109. - added Patch1000 to fix CVE-2020-12761.
  110. * Wed May 18 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.9-1
  111. - new upstream release.
  112. * Sun Nov 15 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.7-1
  113. - new upstream release
  114. - deleted vl4 conditional branch
  115. * Fri Jul 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.6-2
  116. - rebuilt with libpng-1.6.12
  117. * Sat Jan 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.6-1
  118. - new upstream release
  119. * Wed Jun 20 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.5-1
  120. - new upstream release
  121. - deleted Patch1
  122. * Sun Sep 26 2010 Shu KONNO <owa@bg.wakwak.com> 1.4.3-2
  123. - rebuilt with rpm-4.8.1 for pkg-config
  124. * Sun Apr 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-1
  125. - new upstream release (includeing security fix CVE-2008-6079)
  126. - added Patch1 for CVE-2010-0991
  127. - added --disable-static to %%configure
  128. - renamed "loader" subpackage to "loaders"
  129. * Tue Oct 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.1-1
  130. - new upstream release (including security fix CVE-2008-2426)
  131. * Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.2-1vl5
  132. - applied new versioning policy, spec in utf-8
  133. * Wed May 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.2-0vl1
  134. - updated to 1.2.2
  135. * Sat Feb 5 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-0vl1
  136. - updated to 1.2.0
  137. - fix typo
  138. * Wed Oct 6 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 1.1.0-1vl2
  139. - added patch imlib2-1.1.0-bmpfix.patch for CAN-2004-0817
  140. * Sat May 15 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.0-1vl1
  141. - rebuild with Vine Linux
  142. - s/Copyright/License/
  143. - collect imlib2-loader-* packages and make imlib2-loader package
  144. * Mon Jan 8 2001 The Rasterman <raster@rasterman.com>
  145. - Fix Requires & BuildRequires for freetype.
  146. * Sat Sep 30 2000 Lyle Kempler <term@kempler.net>
  147. - Bring back building imlib2 as root via autogen.sh for the lazy (me)
  148. - Some minor changes
  149. * Sat Sep 30 2000 Joakim Bodin <bodin@dreamhosted.com>
  150. - Linux-Mandrake:ise the spec file
  151. * Tue Sep 12 2000 The Rasterman <raster@rasterman.com>
  152. - Redo spec file
  153. * Wed Aug 30 2000 Lyle Kempler <kempler@utdallas.edu>
  154. - Include imlib2-config
  155. * Sat May 20 2000 Lyle Kempler <kempler@utdallas.edu>
  156. - Fixed problems with requiring imlib2_view
  157. - Went back to imlib2_view (not imlib2-view)
  158. * Tue Nov 2 1999 Lyle Kempler <kempler@utdallas.edu>
  159. - Mangled imlib 1.9.8 imlib spec file into imlib2 spec file