xorg-x11-resutils-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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: 2%{?_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.3.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. * Sat Mar 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.6-2
  75. - listres-1.0.3
  76. * Sun Apr 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.6-1
  77. - appres-1.0.2
  78. - editres-1.0.4
  79. - listres-1.0.2
  80. - viewres-1.0.3
  81. - fix %%files
  82. * Fri Nov 20 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.5-1
  83. - appres-1.0.2
  84. - editres-1.0.3
  85. * Thu May 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 7.1-1
  86. - initial build for Vine Linux
  87. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 7.1-5
  88. - Autorebuild for GCC 4.3
  89. * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 7.1-4
  90. - Rebuild for build id
  91. * Tue Jan 23 2007 Adam Jackson <ajax@redhat.com> 7.1-3
  92. - appres 1.0.1
  93. * Wed Jul 19 2006 Mike A. Harris <mharris@redhat.com> 7.1-2.fc6
  94. - Remove app-defaults dir from file manifest, as it is owned by libXt (#174021)
  95. - Add 'dist' tag to package release string.
  96. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 7.1-1.1
  97. - rebuild
  98. * Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 7.1-1
  99. - Bump package version to 7.1 to match the X11 release the packages were
  100. last synced with.
  101. - Bump build dep to libXaw-devel >= 1.0.2-6, to pick up indirect dependency
  102. on libXpm-devel which was fixed in that release.
  103. * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
  104. - Fix all SourceN lines in spec file to not have to update them every time.
  105. - Remove package ownership of mandir/libdir/etc.
  106. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
  107. - bump again for double-long bug on ppc(64)
  108. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
  109. - rebuilt for new gcc4.1 snapshot and glibc changes
  110. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
  111. - Update all resource utils to version 1.0.1 from X11R7.0
  112. * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  113. - Update all resource utils to version 1.0.0 from X11R7 RC4.
  114. - Move app-defaults files to _datadir
  115. - Change manpage dir from man1x to man1 to match RC4 default.
  116. - Added "BuildRequires: libX11-devel, libXt-devel"
  117. * Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> 0.99.1-3
  118. - require newer filesystem package (#172610)
  119. * Sun Nov 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
  120. - Add "Obsoletes: XFree86, XFree86-tools, xorg-x11, xorg-x11-tools", as
  121. appres, editres used to be in the XFree86/xorg-x11 package, whereas
  122. oddly enough, the listres, viewres utilities were in the *-tools subpackage.
  123. - Rebuild against new libXaw 0.99.2-2, which has fixed DT_SONAME. (#173027)
  124. * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
  125. - Initial build, with all apps taken from X11R7 RC2
  126. - Use "make install DESTDIR=$RPM_BUILD_ROOT" as the makeinstall macro fails on
  127. some packages.