imlib2-vl.spec 5.7 KB

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