libfontenc-vl.spec 6.7 KB

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