racket-vl.spec 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. Name: racket
  2. Summary: Graphical environment for developing programs using Scheme
  3. Summary(ja): グラフィカルな Scheme 開発環境
  4. Version: 6.1.1
  5. Release: 1%{?_dist_release}
  6. Group: Development/Languages
  7. License: LGPLv2+ and GPLv3
  8. URL: http://www.drscheme.org
  9. # Used distribution including pre-compiled bytecode
  10. Source: http://mirror.racket-lang.org/installers/%{version}/%{name}-%{version}-src-builtpkgs.tgz
  11. #http://download.plt-scheme.org/bundles/%{version}/plt/racket-%{version}-src.tgz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: cairo-devel
  14. BuildRequires: desktop-file-utils
  15. BuildRequires: freetype2-devel
  16. BuildRequires: fontconfig-devel
  17. BuildRequires: mesa-libGL-devel
  18. BuildRequires: mesa-libGLU-devel
  19. BuildRequires: libICE-devel
  20. BuildRequires: libSM-devel
  21. BuildRequires: libX11-devel
  22. BuildRequires: libXaw-devel
  23. BuildRequires: libXext-devel
  24. BuildRequires: libXft-devel
  25. BuildRequires: libXmu-devel
  26. BuildRequires: libXrender-devel
  27. BuildRequires: libXt-devel
  28. BuildRequires: libffi-devel
  29. BuildRequires: libjpeg-devel
  30. BuildRequires: libpng-devel
  31. BuildRequires: openssl-devel
  32. BuildRequires: pkgconfig
  33. BuildRequires: xorg-x11-xbitmaps
  34. BuildRequires: zlib-devel
  35. Obsoletes: plt, plt-scheme, drscheme
  36. Provides: plt, plt-scheme, drscheme, mzscheme, mred, mrflow
  37. %description
  38. Racket (formerly called PLT Scheme) is an interactive, integrated, graphical programming environment for the MzScheme programming language, and the MrEd windowing toolbox.
  39. Racket provides source highlighting for syntax and run-time errors, support for multiple language levels, an algebraic stepper, objects, modules, a GUI library, TCP/IP, and much more. It includes an extensive, hyper-linked help system called Help Desk, available from the Help menu.
  40. %define __arch_install_post %{nil}
  41. %prep
  42. %setup -q
  43. %build
  44. mkdir -p src/build
  45. cd src/build
  46. ../configure \
  47. --prefix=%{_prefix} \
  48. --bindir=%{_bindir} \
  49. --sysconfdir=%{_sysconfdir} \
  50. --datadir=%{_datadir} \
  51. --libdir=%{_libdir} \
  52. --libexecdir=%{_libexecdir} \
  53. --mandir=%{_mandir} \
  54. --enable-gl \
  55. --enable-xrender \
  56. --enable-xft
  57. make %{?_smp_mflags}
  58. %install
  59. rm -rf $RPM_BUILD_ROOT
  60. cd src/build
  61. make install DESTDIR=$RPM_BUILD_ROOT
  62. # COPYING will be installed as a part of %%doc
  63. rm -f $RPM_BUILD_ROOT%{_datadir}/racket/COPYING*.txt
  64. ##find $RPM_BUILD_ROOT -size 0 | xargs rm -f
  65. ##fgrep -lr "$RPM_BUILD_ROOT" $RPM_BUILD_ROOT | xargs rm -f
  66. #mv $RPM_BUILD_ROOT%{_bindir}/planet $RPM_BUILD_ROOT%{_bindir}/plt-planet
  67. desktop-file-install \
  68. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  69. --remove-category Development \
  70. --remove-key=Exec \
  71. --set-key=Exec --set-value='%{_bindir}/drracket -singleInstance' \
  72. --remove-key=Icon \
  73. --set-key=Icon --set-value=%{_datadir}/racket/drracket-exe-icon.png \
  74. $RPM_BUILD_ROOT%{_datadir}/applications/drracket.desktop
  75. # don't install slideshow.desktop
  76. rm -f $RPM_BUILD_ROOT%{_datadir}/applications/slideshow.desktop
  77. #desktop-file-install \
  78. # --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  79. # --remove-key=Exec \
  80. # --set-key=Exec --set-value=%{_bindir}/slideshow \
  81. # --remove-key=Icon \
  82. # --set-key=Icon --set-value=%{_datadir}/racket/slideshow-exe-icon.ico \
  83. # $RPM_BUILD_ROOT%{_datadir}/applications/slideshow.desktop
  84. %clean
  85. rm -rf $RPM_BUILD_ROOT
  86. %files
  87. %defattr(-,root,root,-)
  88. %doc README src/COPYING.txt src/COPYING-libscheme.txt src/COPYING_LESSER.txt
  89. %{_sysconfdir}/racket
  90. %{_bindir}/*
  91. %{_libdir}/racket
  92. %{_mandir}/man*/*
  93. %{_datadir}/racket
  94. %{_includedir}/racket
  95. %{_datadir}/applications/*
  96. %doc %{_docdir}/%{name}
  97. %changelog
  98. * Sat Nov 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 6.1.1-1
  99. - renamed from plt-sheme
  100. - updated to 6.1.1
  101. * Sun Sep 27 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1:4.2.1-1
  102. - new upstream release
  103. * Thu Apr 30 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1:4.1.5-3
  104. - really drop optimization settings expected on 4.1.5-2 (see below)
  105. * Wed Apr 15 2009 Shu KONNO <owa@bg.wakwak.com> 1:4.1.5-2
  106. - dropt plt-x86_64-lib.patch
  107. - dropt special optimize setting "s/-O2/-O1/" for only x86_64
  108. * Fri Mar 27 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1:4.1.5-1
  109. - new upstream release
  110. - add Epoch due to upstream versioning scheme change
  111. - spec heavily revised based on Fedora 1:4.1-1
  112. (different configure options for each arch)
  113. * Sun Nov 09 2008 Shu KONNO <owa@bg.wakwak.com> 370-2vl5
  114. - rebuild with libXaw.so.7 (libXaw-1.0.5)
  115. * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 370-1vl5
  116. - applied new versioning policy, spec in utf-8
  117. * Wed Aug 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 370-0vl2
  118. - rebuilt for VineSeed
  119. * Wed Aug 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 370-0vl1
  120. - new upstream release
  121. * Sat May 12 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 360-0vl2
  122. - rebuilt with new toolchain
  123. * Sat Feb 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 360-0vl1
  124. - new upstream release
  125. * Fri Aug 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 352-2vl2
  126. - rebuilt for VineSeed (4.0)
  127. * Fri Aug 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 352-2vl1
  128. - new upstream release
  129. - removed %post section
  130. * Wed May 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 301-2vl2
  131. - Rebuild for VineSeed Plus
  132. * Wed May 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 301-2vl1
  133. - Rebuild for Vine Linux
  134. * Fri Feb 17 2006 Gerard Milmeister <gemi@bluewin.ch> - 301-2
  135. - Rebuild for Fedora Extras 5
  136. * Sat Jan 28 2006 Gerard Milmeister <gemi@bluewin.ch> - 301-1
  137. - new version 301
  138. * Wed Dec 21 2005 Gerard Milmeister <gemi@bluewin.ch> - 300-2
  139. - xft patch no longer necessary
  140. * Mon Dec 19 2005 Gerard Milmeister <gemi@bluewin.ch> - 300-1
  141. - New Version 300
  142. * Sat Nov 26 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.400-1
  143. - New Version 299.400
  144. * Mon Nov 21 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-16
  145. - patch to use pkg-config instead of xft-config
  146. * Wed Nov 16 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-13
  147. - updated for modular xorg
  148. * Tue Nov 15 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-11
  149. - replaced XFree86-devel by xorg-x11-devel
  150. * Sat Oct 15 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-9
  151. - use lib64 instead of lib
  152. * Thu Oct 6 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-8
  153. - try x86_64 again using patch for disabling dependency checking for openssl
  154. * Thu Oct 6 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-6
  155. - use %%{_libdir} and %%{_lib} in creating links
  156. * Wed Aug 17 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-4
  157. - Increase font size from 10 to 12
  158. * Tue Aug 16 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-3
  159. - Added openssl-devel buildreq
  160. * Tue Aug 16 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-2
  161. - Correct post install procedure
  162. * Fri Aug 12 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-1
  163. - New Version 299.200
  164. * Sat Apr 16 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.100-1
  165. - Renamed to plt-scheme
  166. * Sun Mar 27 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.100-1
  167. - New Version 299.100
  168. * Sat Mar 26 2005 Gerard Milmeister <gemi@bluewin.ch> - 209-1
  169. - Renamed package from plt to drscheme
  170. * Sat Dec 18 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:209-0.fdr.1
  171. - New Version 209
  172. * Sat Nov 13 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:208-0.fdr.1
  173. - New Version 208
  174. - Added desktop file
  175. - Added icon
  176. * Sun Nov 9 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:205-0.fdr.1
  177. - First Fedora release