libAfterImage-vl.spec 5.7 KB

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