libxkbfile-vl.spec 7.1 KB

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