libxkbfile-vl.spec 7.6 KB

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