libxkbfile-vl.spec 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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: 2%{?_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. %endif
  101. %changelog
  102. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-2
  103. - rebuild with VineSeed environment
  104. * Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
  105. - new upstream release
  106. - add BuildRequires: xorg-x11-util-macros
  107. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
  108. - new upstream release
  109. * Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-2
  110. - rebuild with rpm-4.8.1 for pkg-config file
  111. * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1
  112. - new upstream release
  113. * Sat Jul 11 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.5-2
  114. - added compat32 package for x86_64 arch support
  115. * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1
  116. - new upstream release
  117. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
  118. - new versioning policy
  119. * Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-0vl1
  120. - initial build for Vine Linux
  121. * Tue Jan 15 2008 parag <paragn@fedoraproject.org> - 1.0.4-4
  122. - Merge-Review #226077
  123. - Removed XFree86-libs, xorg-x11-libs XFree86-devel, xorg-x11-devel as Obsoletes
  124. - Removed BR:pkgconfig
  125. - Removed zero-length AUTHORS README file
  126. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.4-3
  127. - Rebuild for build id
  128. * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-2
  129. - Don't install INSTALL
  130. * Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.4-1.fc7
  131. - Update to 1.0.4
  132. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.3-3.1
  133. - rebuild
  134. * Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.3-3
  135. - Added "Requires: xorg-x11-proto-devel" to devel package for xkbfile.pc
  136. * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.3-2
  137. - Added "BuildRequires: pkgconfig" for (#193424)
  138. - Replace "makeinstall" with "make install DESTDIR=..."
  139. - Remove package ownership of mandir/libdir/etc.
  140. * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.3-1
  141. - Update to 1.0.3
  142. * Tue Feb 28 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
  143. - Updated libxkbfile to version 1.0.2
  144. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
  145. - bump again for double-long bug on ppc(64)
  146. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
  147. - rebuilt for new gcc4.1 snapshot and glibc changes
  148. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
  149. - Updated libxkbfile to version 1.0.1 from X11R7.0
  150. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  151. - Updated libxkbfile to version 1.0.0 from X11R7 RC4
  152. * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
  153. - Updated libxkbfile to version 0.99.2 from X11R7 RC3
  154. - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
  155. that /usr/lib/X11 and /usr/include/X11 pre-exist.
  156. - Removed 'x' suffix from manpage directories to match RC3 upstream.
  157. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  158. - rebuilt
  159. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-3
  160. - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
  161. - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
  162. * Thu Oct 27 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
  163. - Work around pointer aliasing problem with -fno-strict-aliasing
  164. * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
  165. - Updated libxkbfile to version 0.99.1 from X11R7 RC1
  166. * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
  167. - Renamed package to remove xorg-x11 from the name due to unanimous decision
  168. between developers.
  169. - Use Fedora Extras style BuildRoot tag.
  170. - Disable static library creation by default.
  171. - Add missing defattr to devel subpackage
  172. - Add missing documentation files to doc macro
  173. * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
  174. - Renamed package to prepend "xorg-x11" to the name for consistency with
  175. the rest of the X11R7 packages.
  176. - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
  177. subpackage to ensure the devel package matches the installed shared libs.
  178. - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
  179. allow applications to use implementation agnostic dependencies.
  180. - Added post/postun scripts which call ldconfig.
  181. - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
  182. and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
  183. * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
  184. - Initial build.