libxkbfile-vl.spec 7.5 KB

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