rxvt-vl.spec 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. Summary: A color VT102 terminal emulator for the X Window System.
  2. Summary(ja): X Window System のカラー VT102 端末エミュレータ
  3. Name: rxvt
  4. Version: 2.7.3
  5. Release: 1%{?_dist_release}
  6. License: distributable
  7. Group: User Interface/X
  8. URL: http://www.rxvt.org
  9. #Source: ftp://ftp.rxvt.org/pub/rxvt/%{name}-%{version}.tar.gz
  10. Source: %{name}-%{version}.tar.bz2
  11. %define conf rxvt-vine-%{version}
  12. Source1: %{conf}.tar.gz
  13. Patch0: rxvt-2.7.3-bsdel.patch
  14. Patch1: rxvt-2.7.3-xim.patch
  15. Patch2: rxvt-2.7.3-ximfix.patch
  16. Patch3: rxvt-2.7.3-mbwrap.patch
  17. # security fix patch(es)
  18. # modified rxvt-2.7.8-security.patch for RedHat-2.7.8-3.6.2.1
  19. Patch10: rxvt-2.7.3-security.patch
  20. Buildroot: %{_tmppath}/%{name}-root
  21. Distribution: Vine Linux
  22. Vendor: Project Vine
  23. BuildRequires: autoconf213
  24. %description
  25. Rxvt is a color VT102 terminal emulator for the X Window System. Rxvt
  26. is intended to be an xterm replacement for users who don't need the
  27. more esoteric features of xterm, like Tektronix 4014 emulation,
  28. session logging and toolkit style configurability. Since it doesn't
  29. support those features, rxvt uses much less swap space than xterm
  30. uses. This is a significant advantage on a machine which is serving a
  31. large number of X sessions.
  32. The rxvt package should be installed on any machine which serves a
  33. large number of X sessions, if you'd like to improve that machine's
  34. performance.
  35. %description -l ja
  36. Rxvt は軽く高機能な X ターミナルソフトです。背景に画像をはり
  37. つけたり、 メニューを設定したりすることができます。
  38. %prep
  39. %setup -q -a 1
  40. %patch0 -p1
  41. %patch1 -p1
  42. %patch2 -p1
  43. %patch3 -p1
  44. %patch10 -p1
  45. autoconf-2.13 -l autoconf autoconf/configure.in > configure
  46. %build
  47. %configure \
  48. %if 1
  49. --prefix=%{_prefix} \
  50. --exec-prefix=%{_prefix} \
  51. --mandir=%{_mandir} \
  52. %else
  53. --prefix=%{_prefix}/X11R6 \
  54. --exec-prefix=%{_prefix}/X11R6 \
  55. --mandir=%{_prefix}/X11R6/man \
  56. %endif
  57. --enable-utmp --enable-xpm-background \
  58. --enable-xgetdefault --enable-ttygid \
  59. --enable-transparency --enable-menubar \
  60. --enable-languages --with-encoding=eucj \
  61. --enable-xim --enable-kanji \
  62. --enable-delete-key --enable-backspace-key
  63. make
  64. %install
  65. rm -rf $RPM_BUILD_ROOT
  66. #mkdir -p $RPM_BUILD_ROOT%{_prefix}/X11R6/lib/X11/app-defaults
  67. #mkdir -p $RPM_BUILD_ROOT%{_prefix}/X11R6/man/man1
  68. #%makeinstall \
  69. # DESTDIR=$RPM_BUILD_ROOT \
  70. # bindir=%{_prefix}/X11R6/bin \
  71. # mandir=%{_prefix}/X11R6/man/man1
  72. mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/X11/app-defaults
  73. mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
  74. %makeinstall DESTDIR=$RPM_BUILD_ROOT bindir=%{_bindir} mandir=%{_mandir}/man1
  75. #install -m644 doc/rxvt.1 $RPM_BUILD_ROOT/%{_prefix}/X11R6/man/man1
  76. #mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Utilities
  77. #cat > $RPM_BUILD_ROOT/etc/X11/applnk/Utilities/rxvt.desktop <<EOF
  78. install -m644 doc/rxvt.1 $RPM_BUILD_ROOT/%{_mandir}/man1
  79. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
  80. cat > $RPM_BUILD_ROOT%{_datadir}/applications/rxvt.desktop <<EOF
  81. [Desktop Entry]
  82. Name=Rxvt
  83. Type=Application
  84. Comment=small, fast X terminal application
  85. Icon=rterm.xpm
  86. MiniIcon=mini-sh1.xpm
  87. Exec=rxvt
  88. EOF
  89. # Extract configuration files for Vine
  90. cd %{conf}
  91. make DESTDIR=$RPM_BUILD_ROOT install
  92. %clean
  93. rm -rf $RPM_BUILD_ROOT
  94. %files
  95. %defattr(-,root,root)
  96. %doc doc/*
  97. %attr(2755,root,utmp) %config(missingok) %{_bindir}/rxvt
  98. %{_bindir}/rclock
  99. %{_mandir}/man*/*
  100. %attr(644,root,root) %config(missingok) %{_datadir}/applications/rxvt.desktop
  101. %{_prefix}/X11R6/lib/X11/rxvt/vine.menu
  102. %{_prefix}/X11R6/lib/X11/rxvt/terminal.menu
  103. %{_prefix}/X11R6/lib/X11/app-defaults/Rxvt
  104. %changelog
  105. * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 2.7.3-1vl5
  106. - applied new versioning policy, spec in utf-8
  107. - updated configure options
  108. * Mon Aug 20 2007 Shu KONNO <owa@bg.wakwak.com> 2.7.3-0vl12
  109. - s/Copyright/License/
  110. * Thu Apr 3 2003 IWAI Masaharu <iwai@alib.jp> 2.7.3-0vl11
  111. - SECURITY FIX: add rxvt-2.7.3-security.patch (Patch10)
  112. - modified rxvt-2.7.8-security.patch for RedHat-2.7.8-3.6.2.1
  113. - fix typo in %%changelog :)
  114. * Tue Apr 1 2003 IWAI Masaharu <iwai@alib.jp> 2.7.3-0vl10
  115. - rebuild with new toolchain
  116. - add BuildRequires: autoconf213
  117. - using autoconf-2.13
  118. * Fri Nov 30 2001 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 2.7.3-0vl9
  119. - change key code of backspace and delete
  120. fixed XIM
  121. fixed a bug of multi byte character wrap
  122. * Wed Apr 11 2001 Jun Nishii <jun@vinelinux.org> 2.7.3-0vl8
  123. - put scroll bar on right side
  124. * Sat Feb 24 2001 Lisa Sagami <czs14350@mb.infoweb.ne.jp>
  125. - fixed: install location of man [2.7.3-0vl7]
  126. * Thu Feb 15 2001 Kunio Murasawa <murasawa@marineroad.com>
  127. - 2.7.3-0vl6
  128. - fixed files section changed attribute of rxvt
  129. * Mon Feb 05 2001 Lisa Sagami <czs14350@mb.infoweb.ne.jp>
  130. - fixed files section so as not to own mandir itself
  131. * Thu Feb 01 2001 Lisa Sagami <czs14350@mb.infoweb.ne.jp>
  132. - rebuild for VineSeed
  133. * Wed Jan 31 2001 Lisa Sagami <czs14350@mb.infoweb.ne.jp>
  134. - use better macros
  135. - --enable-delete-key --enable-backspace-key
  136. - fixed Rxvt resource around xim (kinput2)
  137. * Tue Jul 18 2000 Lisa Sagami <czs14350@mb.infoweb.ne.jp>
  138. - 2.7.3-0vl1
  139. - lynx -> w3m, mule -> emacs
  140. * Tue Jun 20 2000 Jun Nishii <jun@vinelinux.org>
  141. - 2.7.3-0vl1
  142. * Thu Feb 23 2000 Preston Brown <pbrown@redhat.com>
  143. - remove app defaults file, we patched keys in the source
  144. * Mon Feb 21 2000 Preston Brown <pbrown@redhat.com>
  145. - complies with debian keyboard bindings / xterm
  146. * Fri Feb 11 2000 Preston Brown <pbrown@redhat.com>
  147. - fix scrolling behaviour when scrollbar at bottom of range (#9335)
  148. * Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
  149. - color approximation patch for 8bpp from Hans (bug #9171)
  150. - gzip man pages
  151. - app defaults not config files
  152. - wmconfig -> desktop
  153. * Tue Jan 18 2000 Preston Brown <pbrown@redhat.com>
  154. - fix up key bindings
  155. * Thu Jan 13 2000 Preston Brown <pbrown@redhat.com>
  156. - fix man page doc error (#6098)
  157. * Wed Oct 06 1999 Cristian Gafton <gafton@redhat.com>
  158. - get rid of the stupid %configure macro that scrwed up the UTMP support in
  159. rxvt (--enable-everything was a devel release option only, should've
  160. checked that is still valid before reverting!!!)
  161. - why did we revert in the first place?
  162. * Mon Aug 30 1999 Preston Brown <pbrown@redhat.com>
  163. - downgraded to rxvt 2.6.1. 2.7.x is the devel. branch!
  164. - removed meta-key hotkey patch, phasing this nonstandard patch out.
  165. * Mon Aug 9 1999 Jeff Johnson <jbj@redhat.com>
  166. - upgrade to 2.7.0.
  167. * Thu Jun 16 1999 Bill Nottingham <notting@redhat.com>
  168. - turn on some stuff in configure
  169. * Tue Jun 14 1999 Bill Nottingham <notting@redhat.com>
  170. - use --enable-ttygid
  171. * Sat Jun 12 1999 Jeff Johnson <jbj@redhat.com>
  172. - update to 2.6.0.
  173. - add --enable-xgetdefault (#3309).
  174. * Thu Mar 25 1999 Erik Troan <ewt@redhat.com>
  175. - added unix98 pty support
  176. * Wed Mar 24 1999 Erik Troan <ewt@redhat.com>
  177. - updated for utmpwrap
  178. * Tue Mar 23 1999 Michael Johnson <johnsonm@redhat.com>
  179. - added back the "old" alt-< and alt-> font change behaviour
  180. - put the manpage in the right place
  181. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  182. - auto rebuild in the new build environment (release 2)
  183. * Mon Mar 08 1999 Preston Brown <pbrown@redhat.com>
  184. - upgraded to 2.6.PRE2. Marked as unstable, but rxvt is always unstable...
  185. * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
  186. - Injected new description and group.
  187. * Wed Dec 30 1998 Jeff Johnson <jbj@redhat.com>
  188. - fix glibc-2.1 utmpx compilation problem -- add -D_GNU_SOURCE (#638).
  189. * Mon Dec 21 1998 Preston Brown <pbrown@redhat.com>
  190. - bumped spec # for 6.0 build
  191. * Wed Sep 30 1998 Bill Nottingham <notting@redhat.com>
  192. - fix to enable keypad
  193. * Tue Sep 08 1998 Cristian Gafton <gafton@redhat.com>
  194. - version 2.4.7
  195. - old version used to be called 2.20, so now we are Serial: 1
  196. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  197. - translations modified for de, fr, tr
  198. * Fri Nov 07 1997 Michael K. Johnson <johnsonm@redhat.com>
  199. - no paths in wmconfig files.
  200. * Thu Oct 23 1997 Michael K. Johnson <johnsonm@redhat.com>
  201. - added wmconfig
  202. * Mon Jul 21 1997 Erik Troan <ewt@redhat.com>
  203. - built against glibc
  204. * Mon Mar 31 1997 Michael K. Johnson <johnsonm@redhat.com>
  205. - make rxvt use standard XGetDefault instead of built-in one.