libxkbfile-vl.spec 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: X.Org X11 libxkbfile runtime library
  3. Summary(ja): X.Org X11 libxkbfile ランタイムライブラリ
  4. Name: libxkbfile
  5. Version: 1.0.8
  6. Release: 1%{?_dist_release}
  7. License: MIT
  8. Group: System Environment/Libraries
  9. URL: http://www.x.org
  10. Source0: ftp://ftp.x.org/pub/individual/lib/libxkbfile/%{name}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildRequires: xorg-x11-proto-devel
  13. BuildRequires: xorg-x11-util-macros
  14. BuildRequires: libX11-devel
  15. %description
  16. X.Org X11 libxkbfile runtime library
  17. %package devel
  18. Summary: X.Org X11 libxkbfile development package
  19. Summary(ja): X.Org X11 libxkbfile 開発パッケージ
  20. Group: Development/Libraries
  21. Requires(pre): xorg-x11-filesystem
  22. Requires: %{name} = %{version}-%{release}
  23. Requires: pkgconfig
  24. BuildRequires: xorg-x11-proto-devel
  25. %description devel
  26. X.Org X11 libxkbfile development package
  27. # compat32
  28. %package -n compat32-%{name}
  29. Summary: X.Org X11 libxkbfile runtime library
  30. Summary(ja): X.Org X11 libxkbfile ランタイムライブラリ
  31. Group: System Environment/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. %description -n compat32-%{name}
  34. X.Org X11 libxkbfile runtime library
  35. %package -n compat32-%{name}-devel
  36. Summary: X.Org X11 libxkbfile development package
  37. Summary(ja): X.Org X11 libxkbfile 開発パッケージ
  38. Group: Development/Libraries
  39. Requires(pre): xorg-x11-filesystem
  40. Requires: %{name}-devel = %{version}-%{release}
  41. Requires: compat32-%{name} = %{version}-%{release}
  42. %description -n compat32-%{name}-devel
  43. X.Org X11 libxkbfile development package
  44. %prep
  45. %setup -q
  46. # Disable static library creation by default.
  47. %define with_static 0
  48. %build
  49. # FIXME: We use -fno-strict-aliasing, to work around the following bug:
  50. # maprules.c:1373: warning: dereferencing type-punned pointer will break strict-aliasing rules)
  51. export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
  52. %configure \
  53. %if ! %{with_static}
  54. --disable-static
  55. %endif
  56. make %{?_smp_mflags}
  57. %install
  58. rm -rf $RPM_BUILD_ROOT
  59. make install DESTDIR=$RPM_BUILD_ROOT
  60. # We intentionally don't ship *.la files
  61. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  62. %clean
  63. rm -rf $RPM_BUILD_ROOT
  64. %post -p /sbin/ldconfig
  65. %postun -p /sbin/ldconfig
  66. %post -n compat32-%{name} -p /sbin/ldconfig
  67. %postun -n compat32-%{name} -p /sbin/ldconfig
  68. %files
  69. %defattr(-,root,root,-)
  70. %doc COPYING ChangeLog
  71. %{_libdir}/libxkbfile.so.1
  72. %{_libdir}/libxkbfile.so.1.0.2
  73. %files devel
  74. %defattr(-,root,root,-)
  75. %dir %{_includedir}/X11
  76. %dir %{_includedir}/X11/extensions
  77. %{_includedir}/X11/extensions/XKBbells.h
  78. %{_includedir}/X11/extensions/XKBconfig.h
  79. %{_includedir}/X11/extensions/XKBfile.h
  80. %{_includedir}/X11/extensions/XKBrules.h
  81. %{_includedir}/X11/extensions/XKM.h
  82. %{_includedir}/X11/extensions/XKMformat.h
  83. %if %{with_static}
  84. %{_libdir}/libxkbfile.a
  85. %endif
  86. %{_libdir}/libxkbfile.so
  87. %{_libdir}/pkgconfig/xkbfile.pc
  88. # compat32
  89. %if %{build_compat32}
  90. %files -n compat32-%{name}
  91. %defattr(-,root,root,-)
  92. %{_libdir}/libxkbfile.so.1
  93. %{_libdir}/libxkbfile.so.1.0.2
  94. %files -n compat32-%{name}-devel
  95. %defattr(-,root,root,-)
  96. %if %{with_static}
  97. %{_libdir}/libxkbfile.a
  98. %endif
  99. %{_libdir}/libxkbfile.so
  100. %{_libdir}/pkgconfig/xkbfile.pc
  101. %endif
  102. %changelog
  103. * Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
  104. - new upstream release
  105. - add BuildRequires: xorg-x11-util-macros
  106. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
  107. - new upstream release
  108. * Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-2
  109. - rebuild with rpm-4.8.1 for pkg-config file
  110. * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1
  111. - new upstream release
  112. * Sat Jul 11 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.5-2
  113. - added compat32 package for x86_64 arch support
  114. * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1
  115. - new upstream release
  116. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
  117. - new versioning policy
  118. * Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-0vl1
  119. - initial build for Vine Linux
  120. * Tue Jan 15 2008 parag <paragn@fedoraproject.org> - 1.0.4-4
  121. - Merge-Review #226077
  122. - Removed XFree86-libs, xorg-x11-libs XFree86-devel, xorg-x11-devel as Obsoletes
  123. - Removed BR:pkgconfig
  124. - Removed zero-length AUTHORS README file
  125. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.4-3
  126. - Rebuild for build id
  127. * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-2
  128. - Don't install INSTALL
  129. * Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.4-1.fc7
  130. - Update to 1.0.4
  131. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.3-3.1
  132. - rebuild
  133. * Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.3-3
  134. - Added "Requires: xorg-x11-proto-devel" to devel package for xkbfile.pc
  135. * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.3-2
  136. - Added "BuildRequires: pkgconfig" for (#193424)
  137. - Replace "makeinstall" with "make install DESTDIR=..."
  138. - Remove package ownership of mandir/libdir/etc.
  139. * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.3-1
  140. - Update to 1.0.3
  141. * Tue Feb 28 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
  142. - Updated libxkbfile to version 1.0.2
  143. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
  144. - bump again for double-long bug on ppc(64)
  145. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
  146. - rebuilt for new gcc4.1 snapshot and glibc changes
  147. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
  148. - Updated libxkbfile to version 1.0.1 from X11R7.0
  149. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  150. - Updated libxkbfile to version 1.0.0 from X11R7 RC4
  151. * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
  152. - Updated libxkbfile to version 0.99.2 from X11R7 RC3
  153. - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
  154. that /usr/lib/X11 and /usr/include/X11 pre-exist.
  155. - Removed 'x' suffix from manpage directories to match RC3 upstream.
  156. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  157. - rebuilt
  158. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-3
  159. - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
  160. - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
  161. * Thu Oct 27 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
  162. - Work around pointer aliasing problem with -fno-strict-aliasing
  163. * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
  164. - Updated libxkbfile to version 0.99.1 from X11R7 RC1
  165. * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
  166. - Renamed package to remove xorg-x11 from the name due to unanimous decision
  167. between developers.
  168. - Use Fedora Extras style BuildRoot tag.
  169. - Disable static library creation by default.
  170. - Add missing defattr to devel subpackage
  171. - Add missing documentation files to doc macro
  172. * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
  173. - Renamed package to prepend "xorg-x11" to the name for consistency with
  174. the rest of the X11R7 packages.
  175. - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
  176. subpackage to ensure the devel package matches the installed shared libs.
  177. - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
  178. allow applications to use implementation agnostic dependencies.
  179. - Added post/postun scripts which call ldconfig.
  180. - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
  181. and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
  182. * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
  183. - Initial build.