libXft-vl.spec 7.9 KB

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