libFS-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. Summary: X.Org X11 libFS runtime library
  2. Summary(ja): X.Org X11 libFS ランタイムライブラリ
  3. Name: libFS
  4. Version: 1.0.3
  5. Release: 1%{?_dist_release}
  6. License: MIT/X11
  7. Group: System Environment/Libraries
  8. URL: http://www.x.org
  9. Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: pkgconfig
  12. BuildRequires: xorg-x11-proto-devel
  13. BuildRequires: xorg-x11-xtrans-devel
  14. Obsoletes: XFree86-libs, XOrg-libs
  15. %description
  16. X.Org X11 libFS runtime library
  17. %package devel
  18. Summary: X.Org X11 libFS development package
  19. Summary(ja): X.Org X11 libFS 開発パッケージ
  20. Group: Development/Libraries
  21. Requires(pre): xorg-x11-filesystem
  22. Requires: %{name} = %{version}-%{release}
  23. Requires: xorg-x11-proto-devel
  24. Obsoletes: XFree86-devel, XOrg-devel
  25. %description devel
  26. X.Org X11 libFS development package
  27. %prep
  28. %setup -q
  29. # Disable static library creation by default.
  30. %define with_static 0
  31. %build
  32. %configure \
  33. %if ! %{with_static}
  34. --disable-static
  35. %endif
  36. make
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. make install DESTDIR=$RPM_BUILD_ROOT
  40. # We intentionally don't ship *.la files
  41. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  42. # remove xml and txt file
  43. rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %post -p /sbin/ldconfig
  47. %postun -p /sbin/ldconfig
  48. %files
  49. %defattr(-,root,root,-)
  50. %doc COPYING README ChangeLog
  51. %{_libdir}/libFS.so.6
  52. %{_libdir}/libFS.so.6.0.0
  53. %files devel
  54. %defattr(-,root,root,-)
  55. %dir %{_includedir}/X11
  56. %dir %{_includedir}/X11/fonts
  57. %{_includedir}/X11/fonts/FSlib.h
  58. %if %{with_static}
  59. %{_libdir}/libFS.a
  60. %endif
  61. %{_libdir}/libFS.so
  62. %{_libdir}/pkgconfig/libfs.pc
  63. %changelog
  64. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.3-1
  65. - new upstream release
  66. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.2-2
  67. - rebuilt with rpm-4.8.1 for pkg-config
  68. * Thu Jul 09 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
  69. - new upstream release
  70. * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
  71. - new upstream release
  72. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1
  73. - new versioning policy
  74. * Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl1
  75. - initial build for Vine Linux
  76. * Thu Sep 20 2007 Adam Jackson <ajax@redhat.com> 1.0.0-6
  77. - Update xtrans dep and rebuild.
  78. * Mon Sep 17 2007 Adam Jackson <ajax@redhat.com> 1.0.0-5
  79. - Rebuild for abstract socket support.
  80. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.0-4
  81. - Rebuild for build id
  82. * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> - 1.0.0-4
  83. - Don't install INSTALL
  84. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-3.1
  85. - rebuild
  86. * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-3
  87. - Added "Requires: xorg-x11-proto-devel" to devel package.
  88. - Remove package ownership of mandir/libdir/etc.
  89. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.2
  90. - bump again for double-long bug on ppc(64)
  91. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.1
  92. - rebuilt for new gcc4.1 snapshot and glibc changes
  93. * Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
  94. - Bumped and rebuilt
  95. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  96. - Updated libFS to version 1.0.0 from X11R7 RC4
  97. * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1
  98. - Updated libFS to version 0.99.3 from X11R7 RC3
  99. - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
  100. that /usr/lib/X11 and /usr/include/X11 pre-exist.
  101. - Removed 'x' suffix from manpage directories to match RC3 upstream.
  102. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  103. - rebuilt
  104. * Sat Nov 12 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
  105. - Removed "Provides: {name}" that got left from old package naming.
  106. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
  107. - Updated libFS to version 0.99.2 from X11R7 RC2
  108. - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
  109. - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
  110. * Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-4
  111. - Remove CFLAGS -D_XOPEN_SOURCE hack to test if upstream now builds ok.
  112. * Thu Oct 27 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-3
  113. - Add RPM_OPT_FLAGS to CFLAGS, as redefining CFLAGS lost the defaults
  114. * Thu Oct 27 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
  115. - Invoke 'make' in build stage
  116. - Add -D_XOPEN_SOURCE to CFLAGS to work around build failure
  117. * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
  118. - Updated libFS to version 0.99.1 from X11R7 RC1
  119. * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-4
  120. - Added BuildRequires: pkgconfig
  121. * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
  122. - Renamed package to remove "xorg-x11" from the name due to unanimous decision
  123. between developers.
  124. - Use Fedora Extras style BuildRoot tag.
  125. - Disable static library creation by default.
  126. - Add missing defattr to devel subpackage
  127. - Add missing documentation files to doc macro
  128. * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
  129. - Renamed package to prepend "xorg-x11" to the name for consistency with
  130. the rest of the X11R7 packages.
  131. - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
  132. subpackage to ensure the devel package matches the installed shared libs.
  133. - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
  134. allow applications to use implementation agnostic dependencies.
  135. - Added post/postun scripts which call ldconfig.
  136. - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
  137. and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
  138. * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
  139. - Initial build.