libfontenc-vl.spec 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. Summary: X.Org X11 libfontenc runtime library
  2. Summary(ja): X.Org X11 libfontenc ランタイムライブラリ
  3. Name: libfontenc
  4. Version: 1.1.1
  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. * Sat Mar 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  72. - new upstream release
  73. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  74. - new upstream release
  75. - remove Patch1
  76. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-3
  77. - rebuild with rpm-4.8.1 for pkg-config file
  78. * Sun Mar 07 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-2
  79. - add Patch1 to change encodingsdir to %%{_datadir}/fonts/X11/encodings
  80. * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1
  81. - new upstream release
  82. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-2
  83. - spec in utf-8
  84. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
  85. - new versioning policy
  86. * Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-0vl1
  87. - initial build for Vine Linux
  88. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.4-4
  89. - Rebuild for build id
  90. * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-3
  91. - Don't install INSTALL
  92. * Wed Jan 24 2007 Adam Jackson <ajax@redhat.com> 1.0.4-2
  93. - Add BuildRequires on xorg-x11-font-utils to set encodings path correctly.
  94. * Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.0.4-1
  95. - Update to 1.0.4
  96. * Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.3-1.fc7
  97. - Update to 1.0.3
  98. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.2-2.1
  99. - rebuild
  100. * Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-2
  101. - Remove package ownership of mandir/libdir/etc.
  102. - Added "BuildRequires: autoconf" temporarily as long as autoconf is needed
  103. * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
  104. - Update to 1.0.2
  105. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
  106. - bump again for double-long bug on ppc(64)
  107. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
  108. - rebuilt for new gcc4.1 snapshot and glibc changes
  109. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
  110. - Updated libfontenc to version 1.0.1 from X11R7.0
  111. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  112. - Updated libfontenc to version 1.0.0 from X11R7 RC4
  113. - Added libfontenc-1.0.0-get-fontdir-from-pkgconfig.patch which now replaces
  114. libfontenc-0.99.2-use-datadir-for-encodings.patch by using pkgconfig to
  115. query fontutil.pc for fontdir.
  116. - Added "BuildRequires: font-utils >= 1.0.0" to find fontutil.pc
  117. - Removed libfontenc-0.99.2-use-datadir-for-encodings.patch
  118. * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1
  119. - Updated libfontenc to version 0.99.3 from X11R7 RC3
  120. - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
  121. that /usr/lib/X11 and /usr/include/X11 pre-exist.
  122. - Removed 'x' suffix from manpage directories to match RC3 upstream.
  123. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  124. - rebuilt
  125. * Wed Nov 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-3
  126. - Bump xorg-x11-filesystem dep to >= 0.99.2-3 as -2 had bugs.
  127. * Tue Nov 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
  128. - Added libfontenc-0.99.2-use-datadir-for-encodings.patch and invoke aclocal
  129. and automake to activate the changes. This fixes a bug reported against
  130. mkfontscale, in which it looks in _datadir for the font encodings files,
  131. which was traced back to libfontenc (#173875).
  132. - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-2" to ensure that
  133. /usr/include/X11 is a directory rather than a symlink before this package
  134. gets installed, to avoid bug (#173384).
  135. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
  136. - Updated libfontenc to version 0.99.2 from X11R7 RC2
  137. - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
  138. - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
  139. * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
  140. - Updated libfontenc to version 0.99.1 from X11R7 RC1
  141. * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-4
  142. - Renamed package to remove xorg-x11 from the name due to unanimous decision
  143. between developers.
  144. - Use Fedora Extras style BuildRoot tag.
  145. - Disable static library creation by default.
  146. - Add missing defattr to devel subpackage
  147. - Add missing documentation files to doc macro
  148. * Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
  149. - Added zlib-devel build dependency
  150. * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
  151. - Renamed package to prepend "xorg-x11" to the name for consistency with
  152. the rest of the X11R7 packages.
  153. - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
  154. subpackage to ensure the devel package matches the installed shared libs.
  155. - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
  156. allow applications to use implementation agnostic dependencies.
  157. - Added post/postun scripts which call ldconfig.
  158. - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
  159. and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
  160. * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
  161. - Initial build.