libAfterImage-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. Name: libAfterImage
  2. Version: 1.18
  3. Release: 3%{?_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-turbo-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-turbo-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. * Wed Sep 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.18-3
  93. - rebuilt with rpm-4.8.1 for pkg-config
  94. - changed BuildRequires: libjpeg-devel to libjpeg-turbo-devel
  95. * Sun Jun 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.18-2
  96. - fixed release number
  97. * Sat Jun 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.18-1
  98. - initial build for VineLinux
  99. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-4
  100. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  101. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3
  102. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  103. * Thu Nov 27 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  104. - 1.18-2
  105. - add glx context patch (suggested by Frank Schmitt)
  106. * Sat Oct 04 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  107. - 1.18-1
  108. - version upgrade
  109. * Mon Feb 11 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 1.15-4
  110. - Rebuilt for gcc43
  111. * Sat Jan 05 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  112. - 1.15-3
  113. - fix #341871 multiarch
  114. * Wed Aug 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  115. - 1.15-2
  116. - upgrade BR
  117. * Wed Aug 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  118. - 1.15-1
  119. - version upgrade
  120. - new license tag
  121. * Mon Sep 11 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  122. 1.07-8
  123. - FE6 rebuild
  124. * Wed Feb 15 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  125. 1.07-7
  126. - Rebuild for Fedora Extras 5
  127. * Thu Dec 15 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  128. 1.07-6
  129. - fix typo
  130. * Thu Dec 15 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  131. 1.07-5
  132. - modular X
  133. * Sat Aug 20 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  134. 1.07-4
  135. - add -fPIC
  136. * Sat Aug 20 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  137. 1.07-3
  138. - build with debug information
  139. - add dist tag
  140. * Thu Aug 18 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  141. 1.07-2
  142. - fix issues mentioned in #166046 #1
  143. * Tue Aug 16 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  144. 1.07-1
  145. - Initial Release
  146. -