libXt-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: X.Org X11 libXt runtime library
  3. Summary(ja): X.Org X11 libXt ランタイムライブラリ
  4. Name: libXt
  5. Version: 1.1.1
  6. Release: 1%{?_dist_release}
  7. License: MIT/X11
  8. Group: System Environment/Libraries
  9. URL: http://www.x.org
  10. Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildRequires: pkgconfig
  13. BuildRequires: xorg-x11-proto-devel
  14. BuildRequires: libX11-devel
  15. BuildRequires: libSM-devel
  16. Obsoletes: XFree86-libs, XOrg-libs
  17. %description
  18. X.Org X11 libXt runtime library
  19. %package devel
  20. Summary: X.Org X11 libXt development package
  21. Group: Development/Libraries
  22. Requires(pre): xorg-x11-filesystem
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: xorg-x11-proto-devel
  25. Requires: libX11-devel
  26. Requires: libSM-devel
  27. Obsoletes: XFree86-devel, XOrg-devel
  28. %description devel
  29. X.Org X11 libXt development package
  30. # compat32
  31. %package -n compat32-%{name}
  32. Summary: X.Org X11 libXt runtime library
  33. Summary(ja): X.Org X11 libXt ランタイムライブラリ
  34. Group: System Environment/Libraries
  35. %description -n compat32-%{name}
  36. X.Org X11 libXt runtime library
  37. %package -n compat32-%{name}-devel
  38. Summary: X.Org X11 libXt development package
  39. Group: Development/Libraries
  40. Requires(pre): xorg-x11-filesystem
  41. Requires: compat32-%{name} = %{version}-%{release}
  42. Requires: %{name}-devel = %{version}-%{release}
  43. Requires: compat32-libX11-devel
  44. Requires: compat32-libSM-devel
  45. %description -n compat32-%{name}-devel
  46. X.Org X11 libXt development package
  47. %prep
  48. %setup -q
  49. # Disable static library creation by default.
  50. %define with_static 0
  51. %build
  52. # FIXME: Work around pointer aliasing warnings from compiler for now
  53. export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
  54. %configure \
  55. %if ! %{with_static}
  56. --disable-static \
  57. %endif
  58. --with-xfile-search-path="%{_sysconfdir}/X11/%%L/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%l/%%T/\%%N%%C%%S:%{_sysconfdir}/X11/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%L/%%T/%%N%%S:%{_sysconfdir}/X\11/%%l/%%T/%%N%%S:%{_sysconfdir}/X11/%%T/%%N%%S:%{_datadir}/X11/%%L/%%T/%%N%%C%%S:%{_datadir}/X1\1/%%l/%%T/%%N%%C%%S:%{_datadir}/X11/%%T/%%N%%C%%S:%{_datadir}/X11/%%L/%%T/%%N%%S:%{_datadir}/X11/%%\l/%%T/%%N%%S:%{_datadir}/X11/%%T/%%N%%S"
  59. make
  60. %install
  61. rm -rf $RPM_BUILD_ROOT
  62. make install DESTDIR=$RPM_BUILD_ROOT
  63. # NOTE: Create app-defaults directory so this package can be the canonical
  64. # owner of the directory.
  65. mkdir -p -m 0755 $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults
  66. # We intentionally don't ship *.la files
  67. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  68. %clean
  69. rm -rf $RPM_BUILD_ROOT
  70. %post -p /sbin/ldconfig
  71. %postun -p /sbin/ldconfig
  72. %post -n compat32-%{name} -p /sbin/ldconfig
  73. %postun -n compat32-%{name} -p /sbin/ldconfig
  74. %files
  75. %defattr(-,root,root,-)
  76. %doc COPYING README ChangeLog
  77. %{_libdir}/libXt.so.*
  78. %dir %{_datadir}/X11/app-defaults
  79. %files devel
  80. %defattr(-,root,root,-)
  81. %dir %{_includedir}/X11
  82. # Listed explicitly instead of with glob, in order for rpm to autodetect
  83. # when any additions or removals happen. ie: New Xprint support that we
  84. # do not want.
  85. %{_includedir}/X11/CallbackI.h
  86. %{_includedir}/X11/Composite.h
  87. %{_includedir}/X11/CompositeP.h
  88. %{_includedir}/X11/ConstrainP.h
  89. %{_includedir}/X11/Constraint.h
  90. %{_includedir}/X11/ConvertI.h
  91. %{_includedir}/X11/Core.h
  92. %{_includedir}/X11/CoreP.h
  93. %{_includedir}/X11/CreateI.h
  94. %{_includedir}/X11/EventI.h
  95. %{_includedir}/X11/HookObjI.h
  96. %{_includedir}/X11/InitialI.h
  97. %{_includedir}/X11/Intrinsic.h
  98. %{_includedir}/X11/IntrinsicI.h
  99. %{_includedir}/X11/IntrinsicP.h
  100. %{_includedir}/X11/Object.h
  101. %{_includedir}/X11/ObjectP.h
  102. %{_includedir}/X11/PassivGraI.h
  103. %{_includedir}/X11/RectObj.h
  104. %{_includedir}/X11/RectObjP.h
  105. %{_includedir}/X11/ResConfigP.h
  106. %{_includedir}/X11/ResourceI.h
  107. %{_includedir}/X11/SelectionI.h
  108. %{_includedir}/X11/Shell.h
  109. %{_includedir}/X11/ShellI.h
  110. %{_includedir}/X11/ShellP.h
  111. %{_includedir}/X11/StringDefs.h
  112. %{_includedir}/X11/ThreadsI.h
  113. %{_includedir}/X11/TranslateI.h
  114. %{_includedir}/X11/VarargsI.h
  115. %{_includedir}/X11/Vendor.h
  116. %{_includedir}/X11/VendorP.h
  117. %{_includedir}/X11/Xtos.h
  118. %if %{with_static}
  119. %{_libdir}/libXt.a
  120. %endif
  121. %{_libdir}/libXt.so
  122. %{_libdir}/pkgconfig/xt.pc
  123. %{_mandir}/man3/*.3*
  124. # compat32
  125. %if %{build_compat32}
  126. %files -n compat32-%{name}
  127. %defattr(-,root,root,-)
  128. %{_libdir}/libXt.so.6
  129. %{_libdir}/libXt.so.6.0.0
  130. %files -n compat32-%{name}-devel
  131. %defattr(-,root,root,-)
  132. %if %{with_static}
  133. %{_libdir}/libXt.a
  134. %endif
  135. %{_libdir}/libXt.so
  136. %{_libdir}/pkgconfig/xt.pc
  137. %endif
  138. %changelog
  139. * Sat Mar 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  140. - new upstream release
  141. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.9-1
  142. - new upstream release
  143. - remove Patch0
  144. * Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-2
  145. - rebuild with rpm-4.8.1 for pkg-config file
  146. * Sun Apr 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.8-1
  147. - new upstream release
  148. * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-1
  149. - new upstream release
  150. * Tue May 05 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.5-2
  151. - added compat32 package for x86_64 arch support
  152. * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1
  153. - new upstream release
  154. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
  155. - new versioning policy
  156. * Sun Jan 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-0vl1
  157. - initial build for Vine Linux
  158. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.4-3
  159. - Rebuild for build id
  160. * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-2
  161. - Don't install INSTALL
  162. * Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.4-1.fc7
  163. - Update to 1.0.4
  164. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.2-3.1.fc6
  165. - rebuild
  166. * Tue Jul 11 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-3.fc6
  167. - Add the {_datadir}/X11/app-defaults directory to the file manifest, as
  168. libXt is the canonical owner of the directory. Discovered in (#198025).
  169. * Wed Jun 28 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-2
  170. - Added libXt-1.0.2-libsm-fix.patch to remove libSM from the Requires: line
  171. in the installed pkgconfig file. Apps should link against libSM if they
  172. need it, but we shouldn't force them to link against it if they don't.
  173. * Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-1
  174. - Updated libXt to version 1.0.2 from X11R7.1
  175. * Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
  176. - Added "Requires: xorg-x11-proto-devel" to devel package for xt.pc
  177. * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
  178. - Added "BuildRequires: pkgconfig" for (#193503)
  179. - Replace "makeinstall" with "make install DESTDIR=..."
  180. - Remove package ownership of mandir/libdir/etc.
  181. * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
  182. - Update to 1.0.1
  183. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.2
  184. - bump again for double-long bug on ppc(64)
  185. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.1
  186. - rebuilt for new gcc4.1 snapshot and glibc changes
  187. * Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
  188. - Bumped and rebuilt
  189. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  190. - Updated libXt to version 1.0.0 from X11R7 RC4
  191. - Added makestrs and it's manpage to the devel subpackage.
  192. * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1
  193. - Updated libXt to version 0.99.3 from X11R7 RC3
  194. - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
  195. that /usr/lib/X11 and /usr/include/X11 pre-exist.
  196. - Removed 'x' suffix from manpage directories to match RC3 upstream.
  197. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  198. - rebuilt
  199. * Fri Dec 02 2005 Kristian H淡gsberg <krh@redhat.com> 0.99.2-3
  200. - Use the default value from configure.ac for --with-xfile-search-path
  201. except with %%{_datadir} instead of $(libdir), so Xt can search for
  202. app-default files as usual.
  203. - Move the --with-xfile-search-path outside the with_static condition.
  204. * Tue Nov 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
  205. - Invoke ./configure --with-xfile-search-path=%%{_datadir}/X11/app-defaults
  206. to make sure Xt is looking in the right place for app-defaults files.
  207. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
  208. - Updated libXt to version 0.99.2 from X11R7 RC2
  209. - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
  210. - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
  211. * Wed Nov 02 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-3
  212. - Actually spell RPM_OPT_FLAGS correctly this time.
  213. * Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
  214. - Build with -fno-strict-aliasing to work around possible pointer aliasing
  215. issue
  216. * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
  217. - Updated libXt to version 0.99.1 from X11R7 RC1
  218. - Updated file manifest to find manpages in 'man3x'
  219. * Thu Oct 06 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-5
  220. - Added Requires: libX11-devel to libXt-devel subpackage, as Xt headers
  221. include Xlib headers causing xterm and other things to fail to compile.
  222. * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-4
  223. - Renamed package to remove xorg-x11 from the name due to unanimous decision
  224. between developers.
  225. - Use Fedora Extras style BuildRoot tag.
  226. - Disable static library creation by default.
  227. - Add missing defattr to devel subpackage
  228. - Add missing documentation files to doc macro
  229. - Fix BuildRequires to use new style X library package names
  230. * Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
  231. - Changed all virtual BuildRequires to the "xorg-x11-" prefixed non-virtual
  232. package names, as we want xorg-x11 libs to explicitly build against
  233. X.Org supplied libs, rather than "any implementation", which is what the
  234. virtual provides is intended for.
  235. * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
  236. - Renamed package to prepend "xorg-x11" to the name for consistency with
  237. the rest of the X11R7 packages.
  238. - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
  239. subpackage to ensure the devel package matches the installed shared libs.
  240. - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
  241. allow applications to use implementation agnostic dependencies.
  242. - Added post/postun scripts which call ldconfig.
  243. - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
  244. and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
  245. * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
  246. - Initial build.