imlib2-vl.spec 5.8 KB

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