libXt-vl.spec 11 KB

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