xorg-x11-server-utils-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. %define pkgname server-utils
  2. Summary: X.Org X11 X server utilities
  3. Summary(ja): X.Org X11 X サーバユーティリティ
  4. Name: xorg-x11-%{pkgname}
  5. Version: 7.5
  6. Release: 3%{?_dist_release}
  7. License: MIT/X11
  8. Group: User Interface/X
  9. URL: http://www.x.org
  10. Source0: ftp://ftp.x.org/pub/individual/app/iceauth-1.0.4.tar.bz2
  11. Source2: ftp://ftp.x.org/pub/individual/app/rgb-1.0.4.tar.bz2
  12. Source3: ftp://ftp.x.org/pub/individual/app/sessreg-1.0.6.tar.bz2
  13. Source4: ftp://ftp.x.org/pub/individual/app/xcmsdb-1.0.3.tar.bz2
  14. Source5: ftp://ftp.x.org/pub/individual/app/xgamma-1.0.4.tar.bz2
  15. Source6: ftp://ftp.x.org/pub/individual/app/xhost-1.0.4.tar.bz2
  16. Source7: ftp://ftp.x.org/pub/individual/app/xmodmap-1.0.5.tar.bz2
  17. Source8: ftp://ftp.x.org/pub/individual/app/xrandr-1.3.4.tar.bz2
  18. Source9: ftp://ftp.x.org/pub/individual/app/xrdb-1.0.7.tar.bz2
  19. Source10: ftp://ftp.x.org/pub/individual/app/xrefresh-1.0.4.tar.bz2
  20. Source11: ftp://ftp.x.org/pub/individual/app/xset-1.2.1.tar.bz2
  21. Source12: ftp://ftp.x.org/pub/individual/app/xsetmode-1.0.0.tar.bz2
  22. Source13: ftp://ftp.x.org/pub/individual/app/xsetpointer-1.0.1.tar.bz2
  23. Source14: ftp://ftp.x.org/pub/individual/app/xsetroot-1.1.0.tar.bz2
  24. Source15: ftp://ftp.x.org/pub/individual/app/xstdcmap-1.0.2.tar.bz2
  25. Source17: ftp://ftp.x.org/pub/individual/app/xvidtune-1.0.2.tar.bz2
  26. # NOTE: Each upstream tarball has its own "PatchN" section, taken from
  27. # multiplying the "SourceN" line times 100. Please keep them in this
  28. # order. Also, please keep each patch specific to a single upstream tarball,
  29. # so that they don't have to be split in half when submitting upstream.
  30. #
  31. # iceauth section
  32. #Patch0:
  33. # rgb section
  34. Patch1100: rgb-1.0.3-datadir-rgbpath-fix.patch
  35. # xvidtune section
  36. Patch1700: xvidtune-1.0.1-buffer-stomp.patch
  37. Patch1710: xvidtune-1.0.1-xaw7.patch
  38. # xrandr section
  39. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  40. # FIXME: Temporary build dep on automake, autoconf while they're still used
  41. # in the specfile.
  42. BuildRequires: autoconf, automake
  43. BuildRequires: pkgconfig
  44. # xsetroot requires xbitmaps-devel
  45. BuildRequires: xbitmaps-devel
  46. # xsetroot requires libX11-devel
  47. BuildRequires: libX11-devel
  48. # xsetroot requires libXmu-devel
  49. BuildRequires: libXmu-devel
  50. BuildRequires: xorg-x11-xtrans-devel libXext-devel
  51. BuildRequires: libXrandr-devel >= 1.2.0
  52. BuildRequires: xorg-x11-util-macros libXxf86vm-devel libXrandr-devel
  53. BuildRequires: libXrender-devel libXi-devel libXt-devel
  54. BuildRequires: libXaw-devel >= 1.0.5
  55. BuildRequires: libXpm-devel libXxf86misc-devel libXfontcache-devel
  56. BuildRequires: zlib-devel
  57. BuildRequires: libXcursor-devel
  58. # ENDNOTE
  59. # xrdb requires the C preprocessor to work properly
  60. Requires: cpp
  61. Requires: libXrandr
  62. Provides: iceauth rgb sessreg xcmsdb xgamma xhost
  63. Provides: xmodmap xrandr xrdb xrefresh xset xsetmode xsetpointer
  64. Provides: xsetroot xstdcmap xvidtune
  65. # NOTE: iceauth, rgb, sessreg, xcmsdb, xgamma, xhost, xmodmap,
  66. # xrandr, xrdb, xrefresh, xset, xsetmode, xsetpointer, xsetroot, xstdcmap,
  67. # xvidtune, were all in xorg-x11 and XFree86 packages, so we obsolete
  68. # them to ensure upgrades work.
  69. Obsoletes: xorg-x11, XFree86
  70. %description
  71. A collection of utilities used to tweak and query the runtime configuration
  72. of the X server.
  73. %prep
  74. %setup -q -c %{name}-%{version} -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a17
  75. ## %patch1100 -p0 -b .datadir-rgbpath-fix
  76. ## %patch1700 -p1 -b .buffer-stomp
  77. ## %patch1710 -p1 -b .xaw7
  78. %build
  79. # Build all apps
  80. {
  81. for app in * ; do
  82. pushd $app
  83. case $app in
  84. rgb-*)
  85. # FIXME: run autotools junk to kick in our patch
  86. aclocal --force
  87. automake -f
  88. autoconf
  89. %configure ;# --with-rgb-db=%{_datadir}/X11
  90. ;;
  91. xset-*)
  92. # FIXME: run autotools junk to kick in our patch
  93. aclocal --force
  94. automake -f
  95. autoconf
  96. %configure
  97. ;;
  98. xvidtune-*)
  99. # FIXME: run autotools junk to kick in our patch
  100. aclocal --force
  101. automake -f
  102. autoconf
  103. %configure
  104. ;;
  105. *)
  106. %configure
  107. ;;
  108. esac
  109. make
  110. popd
  111. done
  112. }
  113. %install
  114. rm -rf $RPM_BUILD_ROOT
  115. # Install all apps
  116. {
  117. for app in * ; do
  118. pushd $app
  119. case $app in
  120. *)
  121. make install DESTDIR=$RPM_BUILD_ROOT
  122. ;;
  123. esac
  124. popd
  125. done
  126. }
  127. %clean
  128. rm -rf $RPM_BUILD_ROOT
  129. %files
  130. %defattr(-,root,root,-)
  131. %doc
  132. %{_bindir}/iceauth
  133. %{_bindir}/sessreg
  134. %{_bindir}/showrgb
  135. %{_bindir}/xcmsdb
  136. %{_bindir}/xgamma
  137. %{_bindir}/xhost
  138. %{_bindir}/xkeystone
  139. %{_bindir}/xmodmap
  140. %{_bindir}/xrandr
  141. %{_bindir}/xrdb
  142. %{_bindir}/xrefresh
  143. %{_bindir}/xset
  144. %{_bindir}/xsetmode
  145. %{_bindir}/xsetpointer
  146. %{_bindir}/xsetroot
  147. %{_bindir}/xstdcmap
  148. %{_bindir}/xvidtune
  149. %dir %{_datadir}/X11
  150. %{_datadir}/X11/rgb.txt
  151. %{_datadir}/X11/app-defaults/Xvidtune
  152. %{_mandir}/man1/iceauth.1*
  153. %{_mandir}/man1/sessreg.1*
  154. %{_mandir}/man1/showrgb.1*
  155. %{_mandir}/man1/xcmsdb.1*
  156. %{_mandir}/man1/xgamma.1*
  157. %{_mandir}/man1/xhost.1*
  158. %{_mandir}/man1/xmodmap.1*
  159. %{_mandir}/man1/xrandr.1*
  160. %{_mandir}/man1/xrdb.1*
  161. %{_mandir}/man1/xrefresh.1*
  162. %{_mandir}/man1/xset.1*
  163. %{_mandir}/man1/xsetmode.1*
  164. %{_mandir}/man1/xsetpointer.1*
  165. %{_mandir}/man1/xsetroot.1*
  166. %{_mandir}/man1/xstdcmap.1*
  167. %{_mandir}/man1/xvidtune.1*
  168. %changelog
  169. * Sat Dec 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.5-3
  170. - xgamma-1.0.4
  171. - xrdb-1.0.7
  172. - xrefresh-1.0.4
  173. - xset-1.2.1
  174. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.5-2
  175. - iceauth-1.0.4
  176. - rgb-1.0.4
  177. - sessreg-1.0.6
  178. - xcmsdb-1.0.3
  179. - xhost-1.0.4
  180. - xmodmap-1.0.5
  181. - xrandr-1.3.4
  182. - xset-1.2.0
  183. - xsetroot-1.1.0
  184. - xstdcmap-1.0.2
  185. - xvidtune-1.0.2
  186. - drop Patch1100,1700,1710
  187. - add BuildRequires: libXcursor-devel
  188. - fix %%files
  189. * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.5-1
  190. - iceauth-1.0.3
  191. - sessreg-1.0.5
  192. - xcmsdb-1.0.2
  193. - xgamma-1.0.3
  194. - xhost-1.0.3
  195. - xmodmap-1.0.4
  196. - xrandr-1.3.2
  197. - xrdb-1.0.6
  198. - xrefresh-1.0.3
  199. - xset-1.1.0
  200. - xsetroot-1.0.3
  201. - drop xtrap (deprecated upstream)
  202. * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.4-2
  203. - xrandr-1.3.0
  204. * Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.4-1
  205. - xrandr-1.2.99.4
  206. * Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3-3
  207. - rebuild with libXaw.so.7 (libXaw-1.0.5)
  208. * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3-2
  209. - rgb 1.0.3
  210. - sessreg 1.0.4
  211. - xhost 1.0.2
  212. - xrandr 1.2.3
  213. - xrdb 1.0.5
  214. - xset 1.0.4
  215. - xsetpointer 1.0.1
  216. * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3-1
  217. - new versioning policy
  218. * Sun Jan 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3-0vl1
  219. - initial build for Vine Linux
  220. * Thu Nov 29 2007 Dave Airlie <airlied@redhat.com> 7.3-2
  221. - xrandr-1.2.2-reset-other-outputs-using-best-crtc.patch
  222. - xrandr-1.2.2-verify-crtc-against-prev-config.patch
  223. - Patches from upstream to fix some bug in xrandr app
  224. * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 7.3-1
  225. - sessreg 1.0.3
  226. - xgamma 1.0.2
  227. - xmodmap 1.0.3
  228. - xrdb 1.0.4
  229. - xset 1.0.3
  230. - xsetroot 1.0.2
  231. - Bump to 7.3
  232. * Thu Aug 23 2007 Adam Jackson <ajax@redhat.com> - 7.2-6
  233. - Rebuild for ppc toolchain bug
  234. * Wed Jul 25 2007 Jeremy Katz <katzj@redhat.com> - 7.2-5
  235. - rebuild for toolchain bug
  236. * Tue Jul 24 2007 Adam Jackson <ajax@redhat.com> 7.2-4
  237. - iceauth 1.0.2
  238. * Wed Jul 11 2007 Adam Jackson <ajax@redhat.com> 7.2-3
  239. - xrandr 1.2.2
  240. * Wed Jun 27 2007 Adam Jackson <ajax@redhat.com> 7.2-2
  241. - xrandr 1.2.1
  242. * Wed Feb 28 2007 Adam Jackson <ajax@redhat.com> 7.2-1
  243. - Superstition bump to 7.2
  244. - xrandr 1.2.0
  245. * Tue Jan 30 2007 Adam Jackson <ajax@redhat.com> 7.1-5
  246. - Fix man page globs and rebuild for FC7.
  247. * Fri Aug 4 2006 Adam Jackson <ajackson@redhat.com> 7.1-4.fc6
  248. - xvidtune-1.0.1-buffer-stomp.patch: Fix a heap smash. (#189146)
  249. * Wed Jul 19 2006 Mike A. Harris <mharris@redhat.com> 7.1-3.fc6
  250. - Remove app-defaults dir from file manifest, as it is owned by libXt (#174021)
  251. - Add 'dist' tag to package release string.
  252. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 7.1-2.1
  253. - rebuild
  254. - Update to rgb-1.0.2 from X11R7.1
  255. * Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 7.1-1
  256. - Bump the package version to 7.1 to have it match the X11 release that the
  257. tarballs came from going forward.
  258. - Update to xrefresh-1.0.2, xtrap-1.0.2 from X11R7.1
  259. - Remove build dependency on liblbxutil-devel, as LBX is no longer supported.
  260. * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-6
  261. - Clean up Source lines in spec file, and other minor cleanups.
  262. * Wed May 17 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-5
  263. - Added a whackload of BuildRequires for bug (#191987)
  264. * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-4
  265. - Updated xmodmap, xrandr, xrdb, and xset.
  266. * Tue Apr 25 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-3
  267. - Eliminate a spurious Xprint dependency from xset.
  268. * Fri Apr 14 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-2
  269. - Drop lbxproxy, LBX is deprecated upstream
  270. - Update to xhost 1.0.1
  271. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
  272. - bump again for double-long bug on ppc(64)
  273. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
  274. - rebuilt for new gcc4.1 snapshot and glibc changes
  275. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
  276. - Updated all packages to the versions from X11R7.0
  277. * Mon Nov 28 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  278. - Updated all packages to version 1.0.0 from X11R7 RC4
  279. - Changed manpage dirs from man1x to man1 to match upstream RC4 default.
  280. - Updated lbxproxy-datadir-AtomControl-fix.patch
  281. - Updated rgb-1.0.0-datadir-rgbpath-fix.patch
  282. - Removed xvidtune-0.99.1-datadir-app-defaults-fix.patch, now unneeded.
  283. * Mon Nov 28 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-6
  284. - Added "Requires: cpp" as xrdb requires it for proper operation (#174302)
  285. * Wed Nov 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-5
  286. - Bump "filesystem" Requires(pre) to 2.3.7-1.
  287. * Fri Nov 18 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-4
  288. - Added lbxproxy-0.99.2-datadir-AtomControl-fix.patch to move architecture
  289. independent data files from libdir to datadir.
  290. - Added rgb-0.99.2-datadir-rgbpath-fix.patch to move architecture independent
  291. data files from libdir to datadir.
  292. - Added xvidtune-0.99.1-datadir-app-defaults-fix.patch to move app-defaults
  293. into datadir.
  294. * Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> 0.99.2-3
  295. - require newer filesystem package (#172610)
  296. * Sun Nov 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
  297. - Added "Obsoletes: XFree86, xorg-x11", as these utilities came from there.
  298. - Rebuild against new libXaw 0.99.2-2, which has fixed DT_SONAME. (#173027)
  299. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
  300. - Initial build, with all apps taken from X11R7 RC2
  301. - Use "make install DESTDIR=$RPM_BUILD_ROOT" as the makeinstall macro fails on
  302. some packages.