rxvt-unicode-vl.spec 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. Name: rxvt-unicode
  2. Version: 9.10
  3. Release: 2%{?_dist_release}
  4. Summary: Rxvt-unicode is an unicode version of rxvt
  5. Summary(ja): Rxvt-unicode は rxvt のユニコードバージョンです
  6. Group: User Interface/X
  7. License: GPLv2+
  8. URL: http://software.schmorp.de/
  9. Source0: http://dist.schmorp.de/%{name}/%{name}-%{version}.tar.bz2
  10. Patch0: rxvt-unicode-scroll-modupdown.patch
  11. #convert from rxvt origina icon
  12. Source1: urxvt.xpm
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: desktop-file-utils
  15. BuildRequires: fontconfig-devel
  16. BuildRequires: freetype2-devel
  17. BuildRequires: glib2-devel
  18. BuildRequires: libAfterImage-devel
  19. BuildRequires: libICE-devel
  20. BuildRequires: librsvg2-devel
  21. BuildRequires: libX11-devel
  22. BuildRequires: libXft-devel
  23. BuildRequires: libXrender-devel
  24. BuildRequires: libXt-devel
  25. BuildRequires: perl
  26. BuildRequires: xorg-x11-proto-devel
  27. BuildRequires: /usr/bin/tic
  28. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  29. %description
  30. rxvt-unicode is a clone of the well known terminal emulator rxvt, modified to
  31. store text in Unicode (either UCS-2 or UCS-4) and to use locale-correct input
  32. and output. It also supports mixing multiple fonts at the same time, including
  33. Xft fonts.
  34. %prep
  35. %setup -q
  36. #patch -p1 < doc/urxvt-8.2-256color.patch
  37. %patch0 -p1 -b .scroll-modupdown
  38. %build
  39. %configure --enable-xft --enable-font-styles --enable-afterimage \
  40. --enable-utmp --enable-wtmp --enable-lastlog \
  41. --enable-transparency --enable-fading \
  42. --enable-rxvt-scroll --enable-xterm-scroll --enable-next-scroll \
  43. --enable-keepscrolling --enable-selectionscrolling \
  44. --enable-mousewheel --enable-slipwheeling --enable-smart-resize \
  45. --enable-pointer-blank \
  46. --enable-xim --enable-resources \
  47. --enable-256-color \
  48. --enable-unicode3 --enable-combining --enable-perl \
  49. --with-codesets=all --enable-iso14755 --enable-frills
  50. make CFLAGS="${RPM_OPT_FLAGS}" %{?_smp_mflags}
  51. %install
  52. rm -rf $RPM_BUILD_ROOT
  53. make install DESTDIR=$RPM_BUILD_ROOT
  54. %__install -dm 755 %{buildroot}%{_datadir}/pixmaps
  55. %__install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/urxvt.xpm
  56. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
  57. cat > $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop << EOF
  58. [Desktop Entry]
  59. Encoding=UTF-8
  60. Name=urxvt
  61. Comment=a VT102 emulator for the X window system
  62. Comment[ja]=X ウィンドウシステムの VT102 エミュレータ
  63. Exec=urxvt
  64. Icon=/usr/share/pixmaps/urxvt.xpm
  65. Terminal=false
  66. Type=Application
  67. Categories=Application;System;
  68. EOF
  69. desktop-file-install \
  70. --vendor="" \
  71. --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
  72. --add-category=System \
  73. $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
  74. %clean
  75. rm -rf $RPM_BUILD_ROOT
  76. %post
  77. update-desktop-database %{_datadir}/applications
  78. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  79. %postun
  80. update-desktop-database %{_datadir}/applications
  81. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  82. %files
  83. %defattr(-,root,root,-)
  84. %doc README.FAQ INSTALL doc/README.xvt doc/etc doc/changes.txt COPYING
  85. %{_bindir}/*
  86. %{_mandir}/man*/*
  87. %{_datadir}/applications/*
  88. %{_libdir}/urxvt
  89. %{_datadir}/pixmaps/urxvt.xpm
  90. %changelog
  91. * Sun Apr 3 2011 IWAI, Masaharu <iwai@alib.jp> - 9.10-2vl6
  92. - build with perl 5.12.3
  93. * Tue Dec 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 9.10-1
  94. - new upstream release
  95. * Thu Nov 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 9.09-2
  96. - added option enable-unicode3/enable-combining/enable-perl
  97. - deleted option enable-plain-scroll
  98. * Tue Nov 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 9.09-1
  99. - new upstream release
  100. - added patch0 from Fedora development
  101. - added BuildRequires: librsvg2-devel
  102. - did not apply urxvt-8.2-256color.patch
  103. - enabled default
  104. * Sat Jun 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 9.07-1
  105. - initial build for VineLinux
  106. * Thu Dec 31 2009 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  107. - 9.07-1
  108. - version upgrade
  109. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 9.06-5
  110. - rebuild against perl 5.10.1
  111. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.06-4
  112. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  113. * Sat Apr 25 2009 Milos Jakubicek <xjakub@fi.muni.cz> - 9.06-3
  114. - Fix FTBFS: added rxvt-unicode-gcc44.patch
  115. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.06-2
  116. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  117. * Sun Nov 23 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  118. - 9.06-1
  119. - version upgrade
  120. * Mon Jun 16 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  121. - 9.05-1
  122. - version upgrade
  123. * Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com>
  124. - 9.02-2
  125. - add Requires for versioned perl (libperl.so)
  126. * Thu Feb 21 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  127. - 9.02-1
  128. - version upgrade
  129. * Mon Feb 11 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 9.0-2
  130. - Rebuilt for gcc43
  131. * Sat Jan 26 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  132. - 9.0-1
  133. - version upgrade
  134. * Thu Dec 27 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  135. - 8.9-1
  136. - version upgrade
  137. * Mon Dec 17 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  138. - 8.8-1
  139. - version upgrade
  140. * Wed Dec 12 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  141. - 8.5a-2
  142. - remove utempter patch for now
  143. * Thu Nov 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  144. - 8.5a-1
  145. - version upgrade
  146. * Wed Nov 07 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  147. - 8.4-2
  148. - fix #368921 (Rxvt.backgroundPixmap needs libAfterImage support BR now)
  149. - add patch for utempter support
  150. * Sun Oct 28 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  151. - 8.4-1
  152. - version upgrade
  153. * Wed Aug 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  154. - 8.3-1
  155. - version upgrade
  156. - new license tag
  157. * Sat Jun 02 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  158. 8.2-1
  159. - version upgrade (#239421)
  160. * Sun Jan 21 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  161. 8.1-2
  162. - drop terminfo file it is included in ncurses now
  163. * Fri Dec 08 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  164. 8.1-1
  165. - version upgrade
  166. * Thu Nov 02 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  167. 8.0-1
  168. - version upgrade
  169. * Fri Sep 15 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  170. 7.9-2
  171. - FE6 rebuild
  172. * Tue Aug 08 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  173. 7.9-1
  174. - version upgrade
  175. * Tue Jul 18 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  176. 7.8-1
  177. - version upgrade
  178. * Tue Feb 21 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  179. 7.7-1
  180. - version upgrade
  181. * Thu Feb 16 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  182. 7.6-2
  183. - Rebuild for Fedora Extras 5
  184. * Fri Feb 10 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  185. 7.6-1
  186. - version upgrade
  187. * Tue Jan 31 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  188. 7.5-1
  189. - version upgrade
  190. * Sat Jan 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  191. 7.4-1
  192. - version upgrade
  193. * Fri Jan 27 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  194. 7.3a-1
  195. - version upgrade
  196. * Mon Jan 23 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  197. 7.2-1
  198. - version upgrade (should resolve #178561)
  199. * Thu Jan 19 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  200. 7.1-1
  201. - version upgrade
  202. * Sat Jan 14 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  203. 7.0-1
  204. - version upgrade
  205. * Thu Jan 05 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  206. 6.3-1
  207. - version upgrade
  208. * Tue Jan 03 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  209. 6.2-1
  210. - version upgrade
  211. * Wed Dec 28 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  212. 6.1-1
  213. - version upgrade
  214. * Sun Dec 25 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  215. 6.0-1
  216. - version upgrade
  217. * Sun Dec 18 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  218. 5.9-1
  219. - version upgrade
  220. * Fri Nov 25 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  221. 5.8-2
  222. - modular xorg integration
  223. * Tue Oct 25 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  224. 5.8-1
  225. - version upgrade
  226. * Sun Oct 16 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  227. 5.7-3
  228. - enable frills (#170965)
  229. * Sat Sep 17 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  230. 5.7-2
  231. - enable iso14755 (#168548)
  232. * Tue Aug 23 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  233. 5.7-1
  234. - version upgrade
  235. * Sun Jun 05 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  236. 5.5-3
  237. - add dist
  238. * Thu Jun 02 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  239. 5.5-2
  240. - minor cleanups
  241. * Thu May 12 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  242. 5.5-1
  243. - Version upgrade (5.5)
  244. * Mon Mar 28 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  245. 0:5.3-1
  246. - Version upgrade (5.3)
  247. * Wed Feb 09 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  248. - Initial RPM release.