libAfterImage-vl.spec 5.6 KB

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