libfontenc-vl.spec 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. Summary: X.Org X11 libfontenc runtime library
  2. Summary(ja): X.Org X11 libfontenc ランタイムライブラリ
  3. Name: libfontenc
  4. Version: 1.0.5
  5. Release: 2%{?_dist_release}
  6. License: MIT/X11
  7. Group: System Environment/Libraries
  8. URL: http://www.x.org
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
  11. Patch1: libfontenc-1.0.0-encodingsdir.patch
  12. BuildRequires: pkgconfig
  13. BuildRequires: xorg-x11-util-macros
  14. BuildRequires: xorg-x11-proto-devel
  15. BuildRequires: zlib-devel
  16. #BuildRequires: xorg-x11-font-utils
  17. # FIXME: temporarily require autoconf for workaround
  18. BuildRequires: autoconf
  19. Obsoletes: XFree86-libs, XOrg-libs
  20. %description
  21. X.Org X11 libfontenc runtime library
  22. %package devel
  23. Summary: X.Org X11 libfontenc development package
  24. Summary(ja): X.Org X11 libfontenc 開発パッケージ
  25. Group: Development/Libraries
  26. Requires(pre): xorg-x11-filesystem
  27. Requires: %{name} = %{version}-%{release}
  28. Obsoletes: XFree86-devel, XOrg-devel
  29. %description devel
  30. X.Org X11 libfontenc development package
  31. %prep
  32. %setup -q
  33. %patch1 -p1
  34. # Disable static library creation by default.
  35. %define with_static 0
  36. %build
  37. # FIXME: libfontenc-0.99.2-use-datadir-for-encodings.patch requires that
  38. # aclocal, automake, and autoconf get invoked to activate the changes.
  39. # These can be removed once the patch is no longer necessary.
  40. #aclocal
  41. #automake
  42. autoconf
  43. %configure \
  44. %if ! %{with_static}
  45. --disable-static
  46. %endif
  47. make
  48. %install
  49. rm -rf $RPM_BUILD_ROOT
  50. make install DESTDIR=$RPM_BUILD_ROOT
  51. # Remove all libtool archives (*.la)
  52. find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || :
  53. %clean
  54. rm -rf $RPM_BUILD_ROOT
  55. %post -p /sbin/ldconfig
  56. %postun -p /sbin/ldconfig
  57. %files
  58. %defattr(-,root,root,-)
  59. %doc AUTHORS COPYING README ChangeLog
  60. %{_libdir}/libfontenc.so.1
  61. %{_libdir}/libfontenc.so.1.0.0
  62. %files devel
  63. %defattr(-,root,root,-)
  64. %dir %{_includedir}/X11
  65. %dir %{_includedir}/X11/fonts
  66. %{_includedir}/X11/fonts/fontenc.h
  67. %if %{with_static}
  68. %{_libdir}/libfontenc.a
  69. %endif
  70. %{_libdir}/libfontenc.so
  71. %{_libdir}/pkgconfig/fontenc.pc
  72. %changelog
  73. * Sun Mar 07 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-2
  74. - add Patch1 to change encodingsdir to %%{_datadir}/fonts/X11/encodings
  75. * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1
  76. - new upstream release
  77. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-2
  78. - spec in utf-8
  79. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
  80. - new versioning policy
  81. * Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-0vl1
  82. - initial build for Vine Linux
  83. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.4-4
  84. - Rebuild for build id
  85. * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-3
  86. - Don't install INSTALL
  87. * Wed Jan 24 2007 Adam Jackson <ajax@redhat.com> 1.0.4-2
  88. - Add BuildRequires on xorg-x11-font-utils to set encodings path correctly.
  89. * Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.0.4-1
  90. - Update to 1.0.4
  91. * Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.3-1.fc7
  92. - Update to 1.0.3
  93. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.2-2.1
  94. - rebuild
  95. * Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-2
  96. - Remove package ownership of mandir/libdir/etc.
  97. - Added "BuildRequires: autoconf" temporarily as long as autoconf is needed
  98. * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
  99. - Update to 1.0.2
  100. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
  101. - bump again for double-long bug on ppc(64)
  102. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
  103. - rebuilt for new gcc4.1 snapshot and glibc changes
  104. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
  105. - Updated libfontenc to version 1.0.1 from X11R7.0
  106. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  107. - Updated libfontenc to version 1.0.0 from X11R7 RC4
  108. - Added libfontenc-1.0.0-get-fontdir-from-pkgconfig.patch which now replaces
  109. libfontenc-0.99.2-use-datadir-for-encodings.patch by using pkgconfig to
  110. query fontutil.pc for fontdir.
  111. - Added "BuildRequires: font-utils >= 1.0.0" to find fontutil.pc
  112. - Removed libfontenc-0.99.2-use-datadir-for-encodings.patch
  113. * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1
  114. - Updated libfontenc to version 0.99.3 from X11R7 RC3
  115. - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
  116. that /usr/lib/X11 and /usr/include/X11 pre-exist.
  117. - Removed 'x' suffix from manpage directories to match RC3 upstream.
  118. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  119. - rebuilt
  120. * Wed Nov 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-3
  121. - Bump xorg-x11-filesystem dep to >= 0.99.2-3 as -2 had bugs.
  122. * Tue Nov 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
  123. - Added libfontenc-0.99.2-use-datadir-for-encodings.patch and invoke aclocal
  124. and automake to activate the changes. This fixes a bug reported against
  125. mkfontscale, in which it looks in _datadir for the font encodings files,
  126. which was traced back to libfontenc (#173875).
  127. - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-2" to ensure that
  128. /usr/include/X11 is a directory rather than a symlink before this package
  129. gets installed, to avoid bug (#173384).
  130. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
  131. - Updated libfontenc to version 0.99.2 from X11R7 RC2
  132. - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
  133. - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
  134. * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
  135. - Updated libfontenc to version 0.99.1 from X11R7 RC1
  136. * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-4
  137. - Renamed package to remove xorg-x11 from the name due to unanimous decision
  138. between developers.
  139. - Use Fedora Extras style BuildRoot tag.
  140. - Disable static library creation by default.
  141. - Add missing defattr to devel subpackage
  142. - Add missing documentation files to doc macro
  143. * Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
  144. - Added zlib-devel build dependency
  145. * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
  146. - Renamed package to prepend "xorg-x11" to the name for consistency with
  147. the rest of the X11R7 packages.
  148. - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
  149. subpackage to ensure the devel package matches the installed shared libs.
  150. - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
  151. allow applications to use implementation agnostic dependencies.
  152. - Added post/postun scripts which call ldconfig.
  153. - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
  154. and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
  155. * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
  156. - Initial build.