libAfterImage-vl.spec 5.8 KB

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