libAfterImage-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. Name: libAfterImage
  2. Version: 1.18
  3. Release: 2%{?_dist_release}
  4. Summary: A generic image manipulation library
  5. Summary(ja): 一般的な画像操作ライブラリ
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://www.afterstep.org/afterimage/index.php
  9. Source0: ftp://ftp.afterstep.org/stable/%{name}/%{name}-%{version}.tar.bz2
  10. Source1: libAfterImage-COPYING
  11. Patch0: libAfterImage-Makefile-ldconfig.patch
  12. Patch1: libAfterImage-afterimage-config.patch
  13. Patch2: libAfterImage-multiarch.patch
  14. Patch3: libAfterImage-glx.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: freetype2-devel
  17. BuildRequires: zlib-devel
  18. BuildRequires: libtiff-devel
  19. BuildRequires: libpng-devel
  20. BuildRequires: giflib-devel
  21. BuildRequires: libjpeg-devel
  22. BuildRequires: libX11-devel
  23. BuildRequires: libXext-devel
  24. BuildRequires: libICE-devel
  25. BuildRequires: libSM-devel
  26. BuildRequires: gawk
  27. %description
  28. libAfterImage is a generic image manipulation library. It was initially
  29. implemented to address AfterStep Window Manager's needs for image handling,
  30. but it evolved into extremely powerful and flexible software, suitable for
  31. virtually any project that has needs for loading, manipulating, displaying
  32. images, as well as writing images in files. Most of the popular image formats
  33. are supported using standard libraries, with XCF, XPM, PPM/PNM, BMP, ICO,
  34. TGA and GIF being supported internally.
  35. PNG, JPEG and TIFF formats are supported via standard libraries.
  36. Powerful text rendering capabilities included, providing support for
  37. TrueType fonts using FreeType library, and antialiasing of standard fonts
  38. from X window system.
  39. %package devel
  40. Summary: Files needed for software development with %{name}
  41. Group: Development/Libraries
  42. Requires: %{name} = %{version}-%{release}
  43. Requires: freetype2-devel
  44. Requires: zlib-devel
  45. Requires: libtiff-devel
  46. Requires: libjpeg-devel
  47. Requires: libpng-devel
  48. Requires: libX11-devel
  49. Requires: libXext-devel
  50. Requires: libICE-devel
  51. Requires: libSM-devel
  52. %description devel
  53. The %{name}-devel package contains the files needed for development with
  54. %{name}
  55. %prep
  56. %setup -q
  57. %patch0
  58. %patch1
  59. %patch2 -b multiarch
  60. %patch3
  61. %build
  62. %configure --enable-i18n --enable-sharedlibs \
  63. --with-xpm --without-builtin-ungif --disable-staticlibs --enable-glx \
  64. --without-afterbase --disable-mmx-optimization \
  65. --x-includes=%{_includedir} --x-libraries=%{_libdir}
  66. make CCFLAGS="-DNO_DEBUG_OUTPUT -fPIC $RPM_OPT_FLAGS" %{?_smp_mflags} \
  67. LIBAFTERIMAGE_PATH=../
  68. %install
  69. rm -rf $RPM_BUILD_ROOT
  70. mkdir -p $RPM_BUILD_ROOT%{_bindir}
  71. mkdir -p $RPM_BUILD_ROOT%{_libdir}
  72. mkdir -p $RPM_BUILD_ROOT%{_includedir}
  73. make install DESTDIR=$RPM_BUILD_ROOT LIBAFTERIMAGE_PATH=../
  74. cp %{SOURCE1} %{_builddir}/%{name}-%{version}/COPYING
  75. touch -r ChangeLog $RPM_BUILD_ROOT%{_bindir}/afterimage-{config,libs}
  76. %clean
  77. rm -rf $RPM_BUILD_ROOT
  78. %post -p /sbin/ldconfig
  79. %postun -p /sbin/ldconfig
  80. %files
  81. %defattr(-,root,root,-)
  82. %doc README ChangeLog COPYING
  83. %{_libdir}/*.so.*
  84. %files devel
  85. %defattr(-,root,root,-)
  86. %{_bindir}/*
  87. %{_includedir}/libAfterImage/
  88. %{_libdir}/*.so
  89. %{_datadir}/libAfterImage/
  90. %{_mandir}/man?/*
  91. %changelog
  92. * Sun Jun 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.18-2
  93. - fixed release number
  94. * Sat Jun 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.18-1
  95. - initial build for VineLinux
  96. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-4
  97. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  98. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3
  99. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  100. * Thu Nov 27 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  101. - 1.18-2
  102. - add glx context patch (suggested by Frank Schmitt)
  103. * Sat Oct 04 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  104. - 1.18-1
  105. - version upgrade
  106. * Mon Feb 11 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 1.15-4
  107. - Rebuilt for gcc43
  108. * Sat Jan 05 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  109. - 1.15-3
  110. - fix #341871 multiarch
  111. * Wed Aug 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  112. - 1.15-2
  113. - upgrade BR
  114. * Wed Aug 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  115. - 1.15-1
  116. - version upgrade
  117. - new license tag
  118. * Mon Sep 11 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  119. 1.07-8
  120. - FE6 rebuild
  121. * Wed Feb 15 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  122. 1.07-7
  123. - Rebuild for Fedora Extras 5
  124. * Thu Dec 15 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  125. 1.07-6
  126. - fix typo
  127. * Thu Dec 15 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  128. 1.07-5
  129. - modular X
  130. * Sat Aug 20 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  131. 1.07-4
  132. - add -fPIC
  133. * Sat Aug 20 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  134. 1.07-3
  135. - build with debug information
  136. - add dist tag
  137. * Thu Aug 18 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  138. 1.07-2
  139. - fix issues mentioned in #166046 #1
  140. * Tue Aug 16 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  141. 1.07-1
  142. - Initial Release
  143. -