rxvt-unicode-vl.spec 9.2 KB

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