xorg-x11-resutils-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. %define pkgname resutils
  2. Summary: X.Org X11 X resource utilities
  3. Summary(ja): X.Org X11 X resource ユーティリティ
  4. Name: xorg-x11-%{pkgname}
  5. Version: 7.6
  6. Release: 1%{?_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/appres-1.0.3.tar.bz2
  11. Source1: ftp://ftp.x.org/pub/individual/app/editres-1.0.5.tar.bz2
  12. Source2: ftp://ftp.x.org/pub/individual/app/listres-1.0.2.tar.bz2
  13. Source3: ftp://ftp.x.org/pub/individual/app/viewres-1.0.3.tar.bz2
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  15. BuildRequires: pkgconfig
  16. BuildRequires: libX11-devel
  17. BuildRequires: libXt-devel
  18. BuildRequires: libXmu-devel
  19. BuildRequires: libXext-devel
  20. BuildRequires: libSM-devel
  21. BuildRequires: libICE-devel
  22. BuildRequires: libXaw-devel
  23. BuildRequires: libXdmcp-devel
  24. Requires(pre): xorg-x11-filesystem
  25. Provides: appres editres listres viewres
  26. # NOTE: appres, editres used to be in the XFree86/xorg-x11 package, whereas
  27. # oddly enough, the listres, viewres utilities were in the *-tools subpackage.
  28. Obsoletes: XFree86, XOrg
  29. Obsoletes: XFree86-tools, XOrg-tools
  30. %description
  31. A collection of utilities for managing X resources.
  32. %prep
  33. %setup -q -c %{name}-%{version} -a1 -a2 -a3
  34. %build
  35. # Build all apps
  36. {
  37. for app in * ; do
  38. pushd $app
  39. # aclocal --force ; autoconf
  40. %configure --disable-xprint
  41. make
  42. popd
  43. done
  44. }
  45. %install
  46. rm -rf $RPM_BUILD_ROOT
  47. # Install all apps
  48. {
  49. for app in * ; do
  50. pushd $app
  51. make install DESTDIR=$RPM_BUILD_ROOT
  52. popd
  53. done
  54. }
  55. %clean
  56. rm -rf $RPM_BUILD_ROOT
  57. %files
  58. %defattr(-,root,root,-)
  59. %doc
  60. %{_bindir}/appres
  61. %{_bindir}/editres
  62. %{_bindir}/listres
  63. %{_bindir}/viewres
  64. %dir %{_datadir}/X11
  65. %{_datadir}/X11/app-defaults/Editres
  66. %{_datadir}/X11/app-defaults/Editres-color
  67. %{_datadir}/X11/app-defaults/Viewres
  68. %{_datadir}/X11/app-defaults/Viewres-color
  69. %{_mandir}/man1/appres.1*
  70. %{_mandir}/man1/editres.1*
  71. %{_mandir}/man1/listres.1*
  72. %{_mandir}/man1/viewres.1*
  73. %changelog
  74. * Sun Apr 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.6-1
  75. - appres-1.0.2
  76. - editres-1.0.4
  77. - listres-1.0.2
  78. - viewres-1.0.3
  79. - fix %%files
  80. * Fri Nov 20 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.5-1
  81. - appres-1.0.2
  82. - editres-1.0.3
  83. * Thu May 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.1-1
  84. - initial build for Vine Linux
  85. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 7.1-5
  86. - Autorebuild for GCC 4.3
  87. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 7.1-4
  88. - Rebuild for build id
  89. * Tue Jan 23 2007 Adam Jackson <ajax@redhat.com> 7.1-3
  90. - appres 1.0.1
  91. * Wed Jul 19 2006 Mike A. Harris <mharris@redhat.com> 7.1-2.fc6
  92. - Remove app-defaults dir from file manifest, as it is owned by libXt (#174021)
  93. - Add 'dist' tag to package release string.
  94. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 7.1-1.1
  95. - rebuild
  96. * Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 7.1-1
  97. - Bump package version to 7.1 to match the X11 release the packages were
  98. last synced with.
  99. - Bump build dep to libXaw-devel >= 1.0.2-6, to pick up indirect dependency
  100. on libXpm-devel which was fixed in that release.
  101. * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
  102. - Fix all SourceN lines in spec file to not have to update them every time.
  103. - Remove package ownership of mandir/libdir/etc.
  104. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
  105. - bump again for double-long bug on ppc(64)
  106. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
  107. - rebuilt for new gcc4.1 snapshot and glibc changes
  108. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
  109. - Update all resource utils to version 1.0.1 from X11R7.0
  110. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  111. - Update all resource utils to version 1.0.0 from X11R7 RC4.
  112. - Move app-defaults files to _datadir
  113. - Change manpage dir from man1x to man1 to match RC4 default.
  114. - Added "BuildRequires: libX11-devel, libXt-devel"
  115. * Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> 0.99.1-3
  116. - require newer filesystem package (#172610)
  117. * Sun Nov 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
  118. - Add "Obsoletes: XFree86, XFree86-tools, xorg-x11, xorg-x11-tools", as
  119. appres, editres used to be in the XFree86/xorg-x11 package, whereas
  120. oddly enough, the listres, viewres utilities were in the *-tools subpackage.
  121. - Rebuild against new libXaw 0.99.2-2, which has fixed DT_SONAME. (#173027)
  122. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
  123. - Initial build, with all apps taken from X11R7 RC2
  124. - Use "make install DESTDIR=$RPM_BUILD_ROOT" as the makeinstall macro fails on
  125. some packages.