libXft-vl.spec 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: X.Org X11 libXft runtime library
  3. Summary(ja): X.Org X11 libXft ランタイムライブラリ
  4. Name: libXft
  5. Version: 2.3.1
  6. Release: 2%{?_dist_release}
  7. License: MIT/X11
  8. Group: System Environment/Libraries
  9. URL: http://www.x.org
  10. Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
  11. Patch0: libXft-2.3.1-freetype-2.5.x.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. BuildRequires: pkgconfig
  14. BuildRequires: xorg-x11-proto-devel
  15. BuildRequires: xorg-x11-util-macros
  16. BuildRequires: libX11-devel
  17. BuildRequires: libXrender-devel
  18. BuildRequires: freetype2-devel >= 2.3
  19. BuildRequires: fontconfig-devel
  20. Requires: fontconfig
  21. Obsoletes: XFree86-libs, XOrg-libs
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. Packager: Takemikaduchi
  25. %description
  26. X.Org X11 libXft runtime library
  27. %package devel
  28. Summary: X.Org X11 libXft development package
  29. Summary(ja): X.Org X11 libXft 開発パッケージ
  30. Group: Development/Libraries
  31. Requires(pre): xorg-x11-filesystem
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: xorg-x11-proto-devel
  34. Requires: libXrender-devel
  35. Requires: fontconfig-devel
  36. Requires: freetype2-devel
  37. Obsoletes: XFree86-devel, XOrg-devel
  38. %description devel
  39. X.Org X11 libXft development package
  40. # compat32
  41. %package -n compat32-%{name}
  42. Summary: X.Org X11 libXft runtime library
  43. Summary(ja): X.Org X11 libXft ランタイムライブラリ
  44. Group: System Environment/Libraries
  45. %description -n compat32-%{name}
  46. X.Org X11 libXft runtime library
  47. %package -n compat32-%{name}-devel
  48. Summary: X.Org X11 libXft development package
  49. Summary(ja): X.Org X11 libXft 開発パッケージ
  50. Group: Development/Libraries
  51. Requires(pre): xorg-x11-filesystem
  52. Requires: compat32-%{name} = %{version}-%{release}
  53. Requires: %{name}-devel = %{version}-%{release}
  54. Requires: compat32-libXrender-devel
  55. Requires: compat32-fontconfig-devel
  56. Requires: compat32-freetype2-devel
  57. %description -n compat32-%{name}-devel
  58. X.Org X11 libXft development package
  59. %prep
  60. %setup -q
  61. %patch0 -p1 -b .ft
  62. # Disable static library creation by default.
  63. %define with_static 0
  64. %build
  65. %configure \
  66. %if ! %{with_static}
  67. --disable-static
  68. %endif
  69. make
  70. %install
  71. rm -rf $RPM_BUILD_ROOT
  72. make install DESTDIR=$RPM_BUILD_ROOT
  73. # FIXME: There's no real good reason to ship these anymore, as pkg-config
  74. # is the official way to detect flags, etc. now.
  75. rm -f $RPM_BUILD_ROOT%{_bindir}/xft-config
  76. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/xft-config*
  77. # We intentionally don't ship *.la files
  78. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  79. %clean
  80. rm -rf $RPM_BUILD_ROOT
  81. %post -p /sbin/ldconfig
  82. %postun -p /sbin/ldconfig
  83. %post -n compat32-%{name} -p /sbin/ldconfig
  84. %postun -n compat32-%{name} -p /sbin/ldconfig
  85. %files
  86. %defattr(-,root,root,-)
  87. %doc AUTHORS COPYING README ChangeLog NEWS
  88. %{_libdir}/libXft.so.*
  89. %files devel
  90. %defattr(-,root,root,-)
  91. #%{_bindir}/xft-config
  92. %dir %{_includedir}/X11
  93. %dir %{_includedir}/X11/Xft
  94. %{_includedir}/X11/Xft/Xft.h
  95. %{_includedir}/X11/Xft/XftCompat.h
  96. %if %{with_static}
  97. %{_libdir}/libXft.a
  98. %endif
  99. %{_libdir}/libXft.so
  100. %{_libdir}/pkgconfig/xft.pc
  101. #%{_mandir}/man1/xft-config.1.gz
  102. %{_mandir}/man3/Xft.3*
  103. # compat32
  104. %if %{build_compat32}
  105. %files -n compat32-%{name}
  106. %defattr(-,root,root,-)
  107. %{_libdir}/libXft.so.*
  108. %files -n compat32-%{name}-devel
  109. %defattr(-,root,root,-)
  110. %if %{with_static}
  111. %{_libdir}/libXft.a
  112. %endif
  113. %{_libdir}/libXft.so
  114. %endif
  115. %changelog
  116. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.1-2
  117. - rebuild with VineSeed environment
  118. - add Patch0 (libXft-2.3.1-freetype-2.5.x.patch)
  119. * Wed Jun 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.1-1
  120. - new upstream release
  121. * Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.0-1
  122. - new upstream release
  123. - add BuildRequires: xorg-x11-util-macros
  124. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-1
  125. - new upstream release
  126. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.1.14-2
  127. - build with rpm-4.8.1-1 for pkg-config file
  128. * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.14-1
  129. - new upstream release
  130. * Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.1.13-2
  131. - added compat32 package for x86_64 arch support
  132. * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.13-1
  133. - new upstream release
  134. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.12-1
  135. - new versioning policy
  136. * Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.12-0vl1
  137. - initial build for Vine Linux
  138. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 2.1.12-3
  139. - Rebuild for build id
  140. * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 2.1.12-2
  141. - Don't install INSTALL
  142. * Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 2.1.12-1.fc7
  143. - Update to 2.1.12
  144. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
  145. - rebuild
  146. * Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 2.1.10
  147. - Updated libXft to version 2.1.10
  148. - Specify freetype dependencies as >= 2.1.9-1
  149. - Futureproof builds by adding release number to fontconfig dependencies.
  150. * Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 2.1.8.2-4
  151. - Replace "makeinstall" with "make install DESTDIR=..."
  152. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 2.1.8.2-3.2
  153. - bump again for double-long bug on ppc(64)
  154. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 2.1.8.2-3.1
  155. - rebuilt for new gcc4.1 snapshot and glibc changes
  156. * Thu Feb 02 2006 Mike A. Harris <mharris@redhat.com> 2.1.8.2-3
  157. - Added missing dependencies to devel subpackage to fix (#176744)
  158. * Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 2.1.8.2-2
  159. - Bumped and rebuilt
  160. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 2.1.8.2-1
  161. - Updated libXft to version 2.1.8.2 from X11R7 RC4
  162. * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 2.1.8.1-1
  163. - Updated libXft to version 2.1.8.1 from X11R7 RC3
  164. - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
  165. that /usr/lib/X11 and /usr/include/X11 pre-exist.
  166. - Removed 'x' suffix from manpage directories to match RC3 upstream.
  167. - Added "Requires: libXrender-devel" to -devel subpackage for (#175465)
  168. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  169. - rebuilt
  170. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 2.1.8-2
  171. - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
  172. - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
  173. * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 2.1.8-1
  174. - Updated libXft to version 2.1.8 from X11R7 RC1
  175. * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 2.1.7-5
  176. - Renamed package to remove xorg-x11 from the name due to unanimous decision
  177. between developers.
  178. - Use Fedora Extras style BuildRoot tag.
  179. - Disable static library creation by default.
  180. - Add missing defattr to devel subpackage
  181. - Add missing documentation files to doc macro
  182. - Fix BuildRequires to use new style X library package names
  183. * Sun Sep 04 2005 Mike A. Harris <mharris@redhat.com> 2.1.7-4
  184. - Added "BuildRequires: fontconfig-devel >= 2.2" dependency that was
  185. previously missed. Also added "Requires: fontconfig >= 2.2" runtime
  186. dependency.
  187. - Added missing defattr to devel subpackage.
  188. * Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 2.1.7-3
  189. - Added freetype-devel build dependency.
  190. * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 2.1.7-2
  191. - Renamed package to prepend "xorg-x11" to the name for consistency with
  192. the rest of the X11R7 packages.
  193. - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
  194. subpackage to ensure the devel package matches the installed shared libs.
  195. - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
  196. allow applications to use implementation agnostic dependencies.
  197. - Added post/postun scripts which call ldconfig.
  198. - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
  199. and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
  200. * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 2.1.7-1
  201. - Initial build.