rxvt-unicode-vl.spec 9.7 KB

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