1 | Name: plt-scheme |
---|
2 | Version: 4.2.1 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Epoch: 1 |
---|
5 | Summary: Graphical environment for developing programs using Scheme |
---|
6 | Summary(ja): グラフィカルな Scheme 開発環境 |
---|
7 | |
---|
8 | Group: Development/Languages |
---|
9 | License: LGPLv2+ |
---|
10 | URL: http://www.drscheme.org |
---|
11 | Source: http://download.plt-scheme.org/bundles/%{version}/plt/plt-%{version}-src-unix.tgz |
---|
12 | Source1: drscheme.png |
---|
13 | Patch0: plt-x86_64-lib.patch |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildRequires: openssl-devel |
---|
16 | BuildRequires: zlib-devel |
---|
17 | BuildRequires: libpng-devel |
---|
18 | BuildRequires: libjpeg-devel |
---|
19 | BuildRequires: freetype-devel |
---|
20 | BuildRequires: fontconfig-devel |
---|
21 | BuildRequires: libICE-devel |
---|
22 | BuildRequires: libSM-devel |
---|
23 | BuildRequires: libX11-devel |
---|
24 | BuildRequires: libXaw-devel |
---|
25 | BuildRequires: libXext-devel |
---|
26 | BuildRequires: libXft-devel |
---|
27 | BuildRequires: libXmu-devel |
---|
28 | BuildRequires: libXrender-devel |
---|
29 | BuildRequires: libXt-devel |
---|
30 | BuildRequires: mesa-libGL-devel |
---|
31 | BuildRequires: mesa-libGLU-devel |
---|
32 | BuildRequires: xorg-x11-xbitmaps |
---|
33 | BuildRequires: desktop-file-utils |
---|
34 | BuildRequires: cairo-devel |
---|
35 | BuildRequires: pkgconfig |
---|
36 | Obsoletes: plt, drscheme |
---|
37 | Provides: plt, drscheme, mzscheme, mred, mrflow |
---|
38 | |
---|
39 | |
---|
40 | %description |
---|
41 | DrScheme is an interactive, integrated, graphical programming |
---|
42 | environment for the MzScheme programming language, and the MrEd |
---|
43 | windowing toolbox. |
---|
44 | |
---|
45 | DrScheme provides source highlighting for syntax and run-time errors, |
---|
46 | support for multiple language levels, an algebraic stepper, objects, |
---|
47 | modules, a GUI library, TCP/IP, and much more. It includes an |
---|
48 | extensive, hyper-linked help system called Help Desk, available from |
---|
49 | the Help menu. |
---|
50 | |
---|
51 | You can enhance DrScheme with many add-ons, including MrFlow, a static |
---|
52 | debugger. |
---|
53 | |
---|
54 | MzScheme is R5RS-compliant, including the full numerical tower. It |
---|
55 | also provides threads (on all platforms), exceptions, modules, |
---|
56 | class-based objects, regular-expression matching, TCP/IP, and more. |
---|
57 | |
---|
58 | MrEd provides a windowing toolbox for creating windows and menus; a |
---|
59 | drawing toolbox for drawing to windows, bitmaps, and printer devices; |
---|
60 | and an editor toolbox for creating multimedia editors. |
---|
61 | |
---|
62 | |
---|
63 | %define __arch_install_post %{nil} |
---|
64 | |
---|
65 | %prep |
---|
66 | %setup -q -n plt-%{version} |
---|
67 | ##%ifarch x86_64 |
---|
68 | ##%patch0 -p1 |
---|
69 | ##%endif |
---|
70 | |
---|
71 | |
---|
72 | %build |
---|
73 | cd src |
---|
74 | ##%%ifarch x86_64 |
---|
75 | ##%%define plt_opt_flags `echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'` |
---|
76 | ##%%configure --enable-gl --enable-xrender --enable-xft CFLAGS="%plt_opt_flags" CXXFLAGS="%plt_opt_flags" |
---|
77 | ##%endif |
---|
78 | |
---|
79 | %ifarch ppc |
---|
80 | echo 'ac_cv_lib_Xaw_vendorShellClassRec=yes' > config.cache |
---|
81 | %configure -C --enable-gl --enable-xrender --enable-xft |
---|
82 | %endif |
---|
83 | |
---|
84 | %ifarch ppc64 |
---|
85 | %configure --enable-gl --enable-xrender --enable-xft --enable-cgcdefault |
---|
86 | %endif |
---|
87 | |
---|
88 | %ifnarch ppc ppc64 |
---|
89 | %configure --enable-gl --enable-xrender --enable-xft |
---|
90 | %endif |
---|
91 | |
---|
92 | make # %{?_smp_mflags} |
---|
93 | |
---|
94 | |
---|
95 | %install |
---|
96 | rm -rf $RPM_BUILD_ROOT |
---|
97 | cd src |
---|
98 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
99 | |
---|
100 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps |
---|
101 | cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/pixmaps |
---|
102 | |
---|
103 | #find $RPM_BUILD_ROOT -size 0 | xargs rm -f |
---|
104 | #fgrep -lr "$RPM_BUILD_ROOT" $RPM_BUILD_ROOT | xargs rm -f |
---|
105 | |
---|
106 | mv $RPM_BUILD_ROOT%{_bindir}/planet $RPM_BUILD_ROOT%{_bindir}/plt-planet |
---|
107 | |
---|
108 | cat > drscheme.desktop <<EOF |
---|
109 | [Desktop Entry] |
---|
110 | Name=DrScheme |
---|
111 | GenericName=Scheme programming |
---|
112 | Comment=Programming environment for the Scheme programming language |
---|
113 | Exec=drscheme |
---|
114 | Terminal=false |
---|
115 | Icon=drscheme.png |
---|
116 | Type=Application |
---|
117 | Encoding=UTF-8 |
---|
118 | X-Desktop-File-Install-Version=0.4 |
---|
119 | EOF |
---|
120 | |
---|
121 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications |
---|
122 | desktop-file-install \ |
---|
123 | --vendor vine \ |
---|
124 | --add-category Development \ |
---|
125 | --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
126 | drscheme.desktop |
---|
127 | |
---|
128 | |
---|
129 | %clean |
---|
130 | rm -rf $RPM_BUILD_ROOT |
---|
131 | |
---|
132 | |
---|
133 | %files |
---|
134 | %defattr(-,root,root,-) |
---|
135 | %doc readme.txt |
---|
136 | %{_bindir}/* |
---|
137 | %{_libdir}/plt |
---|
138 | %{_libdir}/*.a |
---|
139 | %{_mandir}/man*/* |
---|
140 | %{_datadir}/plt |
---|
141 | %{_includedir}/plt |
---|
142 | %{_datadir}/pixmaps/* |
---|
143 | %{_datadir}/applications/* |
---|
144 | |
---|
145 | |
---|
146 | %changelog |
---|
147 | * Sun Sep 27 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1:4.2.1-1 |
---|
148 | - new upstream release |
---|
149 | |
---|
150 | * Thu Apr 30 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1:4.1.5-3 |
---|
151 | - really drop optimization settings expected on 4.1.5-2 (see below) |
---|
152 | |
---|
153 | * Wed Apr 15 2009 Shu KONNO <owa@bg.wakwak.com> 1:4.1.5-2 |
---|
154 | - dropt plt-x86_64-lib.patch |
---|
155 | - dropt special optimize setting "s/-O2/-O1/" for only x86_64 |
---|
156 | |
---|
157 | * Fri Mar 27 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1:4.1.5-1 |
---|
158 | - new upstream release |
---|
159 | - add Epoch due to upstream versioning scheme change |
---|
160 | - spec heavily revised based on Fedora 1:4.1-1 |
---|
161 | (different configure options for each arch) |
---|
162 | |
---|
163 | * Sun Nov 09 2008 Shu KONNO <owa@bg.wakwak.com> 370-2vl5 |
---|
164 | - rebuild with libXaw.so.7 (libXaw-1.0.5) |
---|
165 | |
---|
166 | * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 370-1vl5 |
---|
167 | - applied new versioning policy, spec in utf-8 |
---|
168 | |
---|
169 | * Wed Aug 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 370-0vl2 |
---|
170 | - rebuilt for VineSeed |
---|
171 | |
---|
172 | * Wed Aug 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 370-0vl1 |
---|
173 | - new upstream release |
---|
174 | |
---|
175 | * Sat May 12 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 360-0vl2 |
---|
176 | - rebuilt with new toolchain |
---|
177 | |
---|
178 | * Sat Feb 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 360-0vl1 |
---|
179 | - new upstream release |
---|
180 | |
---|
181 | * Fri Aug 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 352-2vl2 |
---|
182 | - rebuilt for VineSeed (4.0) |
---|
183 | |
---|
184 | * Fri Aug 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 352-2vl1 |
---|
185 | - new upstream release |
---|
186 | - removed %post section |
---|
187 | |
---|
188 | * Wed May 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 301-2vl2 |
---|
189 | - Rebuild for VineSeed Plus |
---|
190 | |
---|
191 | * Wed May 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 301-2vl1 |
---|
192 | - Rebuild for Vine Linux |
---|
193 | |
---|
194 | * Fri Feb 17 2006 Gerard Milmeister <gemi@bluewin.ch> - 301-2 |
---|
195 | - Rebuild for Fedora Extras 5 |
---|
196 | |
---|
197 | * Sat Jan 28 2006 Gerard Milmeister <gemi@bluewin.ch> - 301-1 |
---|
198 | - new version 301 |
---|
199 | |
---|
200 | * Wed Dec 21 2005 Gerard Milmeister <gemi@bluewin.ch> - 300-2 |
---|
201 | - xft patch no longer necessary |
---|
202 | |
---|
203 | * Mon Dec 19 2005 Gerard Milmeister <gemi@bluewin.ch> - 300-1 |
---|
204 | - New Version 300 |
---|
205 | |
---|
206 | * Sat Nov 26 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.400-1 |
---|
207 | - New Version 299.400 |
---|
208 | |
---|
209 | * Mon Nov 21 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-16 |
---|
210 | - patch to use pkg-config instead of xft-config |
---|
211 | |
---|
212 | * Wed Nov 16 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-13 |
---|
213 | - updated for modular xorg |
---|
214 | |
---|
215 | * Tue Nov 15 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-11 |
---|
216 | - replaced XFree86-devel by xorg-x11-devel |
---|
217 | |
---|
218 | * Sat Oct 15 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-9 |
---|
219 | - use lib64 instead of lib |
---|
220 | |
---|
221 | * Thu Oct 6 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-8 |
---|
222 | - try x86_64 again using patch for disabling dependency checking for openssl |
---|
223 | |
---|
224 | * Thu Oct 6 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-6 |
---|
225 | - use %%{_libdir} and %%{_lib} in creating links |
---|
226 | |
---|
227 | * Wed Aug 17 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-4 |
---|
228 | - Increase font size from 10 to 12 |
---|
229 | |
---|
230 | * Tue Aug 16 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-3 |
---|
231 | - Added openssl-devel buildreq |
---|
232 | |
---|
233 | * Tue Aug 16 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-2 |
---|
234 | - Correct post install procedure |
---|
235 | |
---|
236 | * Fri Aug 12 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.200-1 |
---|
237 | - New Version 299.200 |
---|
238 | |
---|
239 | * Sat Apr 16 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.100-1 |
---|
240 | - Renamed to plt-scheme |
---|
241 | |
---|
242 | * Sun Mar 27 2005 Gerard Milmeister <gemi@bluewin.ch> - 299.100-1 |
---|
243 | - New Version 299.100 |
---|
244 | |
---|
245 | * Sat Mar 26 2005 Gerard Milmeister <gemi@bluewin.ch> - 209-1 |
---|
246 | - Renamed package from plt to drscheme |
---|
247 | |
---|
248 | * Sat Dec 18 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:209-0.fdr.1 |
---|
249 | - New Version 209 |
---|
250 | |
---|
251 | * Sat Nov 13 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:208-0.fdr.1 |
---|
252 | - New Version 208 |
---|
253 | - Added desktop file |
---|
254 | - Added icon |
---|
255 | |
---|
256 | * Sun Nov 9 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:205-0.fdr.1 |
---|
257 | - First Fedora release |
---|