[gforth] / gforth / gforth.spec  

gforth: gforth/gforth.spec


1 : pazsan 1.1 #
2 :     # spec file for package gforth (Version 0.7.0)
3 :     #
4 :     # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
5 :     #
6 :     # All modifications and additions to the file contributed by third parties
7 :     # remain the property of their copyright owners, unless otherwise agreed
8 :     # upon. The license for this file, and modifications and additions to the
9 :     # file, is the same license as for the pristine package itself (unless the
10 :     # license for the pristine package is not an Open Source License, in which
11 :     # case the license is the MIT License). An "Open Source License" is a
12 :     # license that conforms to the Open Source Definition (Version 1.9)
13 :     # published by the Open Source Initiative.
14 :    
15 :     # Please submit bugfixes or comments via http://bugs.opensuse.org/
16 :     #
17 :    
18 :     Name: gforth
19 :     %if 0%{?suse_version}
20 :     BuildRequires: emacs-nox libffi-devel
21 :     Requires: libffi
22 :     PreReq: %{install_info_prereq}
23 :     %endif
24 :     %if 0%{?redhat_version}
25 :     BuildRequires: emacs-nox libtool-ltdl-devel libffi-devel
26 :     Requires: libffi libtool-libs libtool-ltdl libtool-ltdl-devel libffi-devel
27 :     %endif
28 :     %if 0%{?fedora_version}
29 :     BuildRequires: emacs-nox libtool-ltdl-devel libffi-devel
30 :     Requires: libffi libtool-libs libtool-ltdl libtool-ltdl-devel libffi-devel
31 :     %endif
32 :     Url: http://www.complang.tuwien.ac.at/forth/gforth/
33 :     License: GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later
34 :     Group: Development/Languages/Other
35 :     AutoReqProv: on
36 : pazsan 1.2 Version: 0.7.9
37 :     Release: 62.1
38 : pazsan 1.1 Summary: GNU Forth
39 :     Source: gforth-%{version}.tar.gz
40 :     BuildRoot: %{_tmppath}/%{name}-%{version}-build
41 :    
42 :     %description
43 :     Gforth is a fast and portable implementation of the ANS Forth language.
44 :    
45 :    
46 :    
47 :     Authors:
48 :     --------
49 :     Anton Ertl <anton@mips.complang.tuwien.ac.at>
50 :     Bernd Paysan <bernd.paysan@gmx.de>
51 :     Jens Wilke <wilke@jwdt.com>
52 :    
53 :     %prep
54 :     %setup -q
55 :    
56 :     %build
57 :     # Fixup timestamps. Can't rebuild them without working gforth
58 :     touch engine/prim.i engine/prim_lab.i
59 :     %{?suse_update_config}
60 :     autoreconf -fi
61 :     CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" \
62 :     ./configure --prefix=/usr --mandir=%{_mandir} --infodir=%{_infodir} \
63 :     --build=%{_target_cpu}-suse-linux
64 :     make
65 :     emacs --batch --no-site-file -f batch-byte-compile gforth.el
66 :     echo > gforth-autoloads.el
67 :     emacs --batch -l autoload --eval "(setq generated-autoload-file \"$PWD/gforth-autoloads.el\")" -f batch-update-autoloads .
68 :     {
69 :     printf ';;; suse-start-gforth.el
70 :     ;;
71 :     ;;; Code:\n
72 :     (add-to-list '\''auto-mode-alist '\''("\\\\.fs\\\\'\''" . forth-mode))\n\n'
73 :     sed -n '/^;;; Generated/,/^;;;\*\*\*/p' gforth-autoloads.el
74 :     printf '\n;;; suse-start-gforth.el ends here\n'
75 :     } > suse-start-gforth.el
76 :     make install.TAGS
77 :     rm gforth.fi
78 :    
79 :     %check
80 :     make check
81 :    
82 :     %install
83 :     make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr mandir=%{_mandir} infodir=%{_infodir}
84 :     install -d $RPM_BUILD_ROOT/usr/share/emacs/site-lisp
85 :     install -m 644 gforth.el gforth.elc suse-start-gforth.el $RPM_BUILD_ROOT/usr/share/emacs/site-lisp
86 :    
87 :     %clean
88 :     rm -rf $RPM_BUILD_ROOT
89 :    
90 :     %post
91 :     %install_info --info-dir=%{_infodir} %{_infodir}/gforth.info.gz
92 :    
93 :     %postun
94 :     %install_info_delete --info-dir=%{_infodir} %{_infodir}/gforth.info.gz
95 :    
96 :     %files
97 :     %defattr(-,root,root)
98 :     %doc README BUGS NEWS
99 :     /usr/bin/*
100 :     /usr/include/gforth
101 :     /usr/lib/gforth
102 :     /usr/share/emacs/site-lisp/*.el*
103 :     /usr/share/gforth
104 :     %if 0%{?suse_version}
105 :     %dir /usr/share/gforth/site-forth
106 :     %config /usr/share/gforth/site-forth/siteinit.fs
107 :     %endif
108 :     %doc %{_infodir}/*.gz
109 :     %doc %{_mandir}/man?/*
110 :     %if 0%{?redhat_version}
111 :     /usr/share/info/dir
112 :     %endif
113 :     %if 0%{?fedora_version}
114 :     /usr/share/info/dir
115 :     %endif
116 :    
117 :     %changelog
118 :     * Thu Dec 23 2010 bernd.paysan@gmx.de
119 :     - Started buildservice project
120 :     * Thu Nov 06 2008 schwab@suse.de
121 :     - Update to gforth 0.7.0.
122 :     Requirements:
123 :     At run-time requires libtool and gcc (for the libcc C interface) and
124 :     gdb (for the disassembler (SEE)) on some platforms.
125 :     Installation:
126 :     support for DESTDIR, POST_INSTALL, INSTALL_SCRIPT
127 :     automatic performance tuning on building (--enable-force-reg unnecessary)
128 :     report performance and functionality problems at end of "make"
129 :     autogen.sh now exists
130 :     License:
131 :     Changed to GPLv3
132 :     Bug fixes
133 :     Now works with address-space randomization.
134 :     The single-step debugger works again in some engines.
135 :     Many others.
136 :     Ports:
137 :     AMD64, ARM, IA-64 (Itanium): better performance
138 :     PPC, PPC64: disassembler and assembler
139 :     Gforth EC: R8C, 4stack, misc, 8086 work
140 :     MacOS X: better support
141 :     Invocation:
142 :     New flags --ignore-async-signals, --vm-commit (default overcommit)
143 :     --print-sequences
144 :     Forth 200x:
145 :     X:extension-query: produce true for all implemented extensions
146 :     X:required REQUIRED etc. (not new)
147 :     X:defined: [DEFINED] and [UNDEFINED]
148 :     X:parse-name: PARSE-NAME (new name)
149 :     X:deferred: deferred words (new: DEFER@ DEFER! ACTION-OF)
150 :     X:structures: +FIELD FIELD: FFIELD: CFIELD: etc.
151 :     X:ekeys: new: EKEY>FKEY K-SHIFT-MASK K-CTRL-MASK K-ALT-MASK K-F1...K-F12
152 :     X:fp-stack (not new)
153 :     X:number-prefixes (partially new, see below)
154 :     Number prefixes:
155 :     0x is a hex prefix: 0xff and 0XfF now produces (decimal) 255
156 :     [#] is a decimal prefix: #10 now produces (decimal) 10
157 :     Signs after the number prefix are now accepted, e.g, #-50.
158 :     ' now only handles a single (x)char: 'ab is no longer accepted,
159 :     'a' now produces (decimal) 97
160 :     Unicode support (currently supports only uniform encoding):
161 :     added xchars words for dealing with variable-width multi-byte characters
162 :     provide 8bit (ISO Latin 1) and UTF-8 support for xchars
163 :     New words:
164 :     \C C-FUNCTION C-LIBRARY END-C-LIBRARY C-LIBRARY-NAME (libcc C interface)
165 :     LIB-ERROR (complements OPEN-LIB)
166 :     OUTFILE-EXECUTE INFILE-EXECUTE BASE-EXECUTE (limited change of global state)
167 :     16-bit and 32-bit memory acces: UW@ UL@ SW@ SL@ W! L! W@ L@ /W /L
168 :     NEXT-ARG SHIFT-ARGS (OS command-line argument processing)
169 :     NOTHROW (for backtrace control)
170 :     FTRUNC FMOD (undocumented)
171 :     SEE-CODE SEE-CODE-RANGE (show generated dynamic native code)
172 :     Improvements/changes of existing words:
173 :     S\", .\" now support \l, \m, \z, and limits hex and octal character specs.
174 :     OPEN-FILE with W/O no longer creates or truncates files (no compat. file)
175 :     OPEN-LIB now understands ~ at the start, like OPEN-FILE.
176 :     TRY...ENDTRY changed significantly, compatibility files available (see docs).
177 :     The disassembler (DISCODE) can now use gdb to disassemble code
178 :     Uninitialized defered words now give a warning when executed
179 :     Division is floored (disable with "configure --enable-force-cdiv")
180 :     Gforth (not gforth-fast) reports division by zero and overflow on division
181 :     on all platforms.
182 :     Newly documented words:
183 :     S>NUMBER? S>UNUMBER?
184 :     EKEY keypress names: K-LEFT K-RIGHT K-UP K-DOWN K-HOME K-END K-PRIOR
185 :     K-NEXT K-INSERT K-DELETE
186 :     CLEARSTACKS
187 :     FORM
188 :     Environment variable GFORTHSYSTEMPREFIX (used by word SYSTEM and friends)
189 :     C interface:
190 :     exported symbols now start with "gforth_" (for referencing them from C code)
191 :     libcc C function call interface (requires libtool and gcc at run-time)
192 :     alternative: undocumented libffi-based interface
193 :     Libraries:
194 :     depth-changes.fs: report stack depth changes during interpretation
195 :     ans-report.fs now reports CfV extensions
196 :     fsl-util.4th: FSL support files (undocumented)
197 :     regexp.fs for regular expressions (undocumented)
198 :     complex.fs for complex numbers (undocumented)
199 :     fft.fs for Fast Fourier Transform (undocumented)
200 :     wf.fs, a Wiki implementation (undocumented)
201 :     httpd.fs, a web server (undocumented)
202 :     status.fs, show interpreter status in separate xterm (undocumented)
203 :     profile.fs for profiling (undocumented, incomplete)
204 :     endtry-iferror.fs, recover-endtry.fs to ease the TRY change transition
205 :     test/tester.fs: Now works with FP numbers (undocumented)
206 :     test/ttester.fs: Version of tester.fs with improved interface (T{...}T).
207 :     compat library:
208 :     compat/execute-parsing.fs
209 :     Speed improvements:
210 :     automatic performance tuning on building
211 :     static stack caching (good speedup on PPC)
212 :     mixed-precision division is now faster
213 :     support for int128 types on AMD64
214 :     workarounds for gcc performance bugs (in particular, PR 15242)
215 :     branch target alignment (good speedup on Alpha).
216 :     * Wed Jul 09 2008 schwab@suse.de
217 :     - Fix last change.
218 :     * Sat Jul 05 2008 schwab@suse.de
219 :     - Fix use of undocumented autoconf variable.
220 :     * Thu Oct 11 2007 schwab@suse.de
221 :     - Remove obsolete options.
222 :     * Wed Jan 25 2006 mls@suse.de
223 :     - converted neededforbuild to BuildRequires
224 :     * Thu Jan 19 2006 schwab@suse.de
225 :     - Don't strip binaries.
226 :     * Tue Dec 20 2005 dmueller@suse.de
227 :     - fix file list
228 :     * Wed Jan 21 2004 schwab@suse.de
229 :     - Workaround gcc 3.3 bug.
230 :     * Fri Jan 09 2004 schwab@suse.de
231 :     - Update to gforth 0.6.2.
232 :     * Tue Oct 28 2003 schwab@suse.de
233 :     - Fix quoting in configure script.
234 :     * Wed Jul 02 2003 schwab@suse.de
235 :     - Fix references to build root.
236 :     * Tue May 13 2003 schwab@suse.de
237 :     - Fix filelist.
238 :     * Thu Apr 24 2003 ro@suse.de
239 :     - fix install_info --delete call and move from preun to postun
240 :     * Wed Apr 23 2003 schwab@suse.de
241 :     - Enable use of long long on ppc.
242 :     - Fix and compile gforth.el.
243 :     - Add suse-start-gforth.el.
244 :     - Include all gforth variants.
245 :     * Tue Apr 22 2003 schwab@suse.de
246 :     - Use BuildRoot.
247 :     * Mon Apr 07 2003 schwab@suse.de
248 :     - Only delete info entries when removing last version.
249 :     * Thu Mar 27 2003 schwab@suse.de
250 :     - Update to gforth 0.6.1.
251 :     * Thu Feb 06 2003 schwab@suse.de
252 :     - Use %%install_info.
253 :     * Tue Sep 17 2002 ro@suse.de
254 :     - removed bogus self-provides
255 :     * Thu Apr 18 2002 schwab@suse.de
256 :     - Fix alpha port for gcc3.
257 :     * Thu Apr 18 2002 schwab@suse.de
258 :     - Fix i386 port for gcc3.
259 :     * Mon Feb 25 2002 schwab@suse.de
260 :     - Fix permissions.
261 :     * Tue May 08 2001 mfabian@suse.de
262 :     - bzip2 sources
263 :     * Sun Apr 15 2001 schwab@suse.de
264 :     - Fix pointer <-> int clash.
265 :     * Fri Oct 06 2000 schwab@suse.de
266 :     - Update to version 0.5.0.
267 :     * Thu Aug 17 2000 schwab@suse.de
268 :     - Fix ia64 configuration.
269 :     * Thu Aug 17 2000 schwab@suse.de
270 :     - Basic support for ia64.
271 :     * Tue Jan 18 2000 schwab@suse.de
272 :     - /usr/{info,man} -> /usr/share/{info,man}
273 :     * Mon Sep 13 1999 bs@suse.de
274 :     - ran old prepare_spec on spec file to switch to new prepare_spec.
275 :     * Mon Aug 30 1999 schwab@suse.de
276 :     - specfile cleanup
277 :     - fix prims2x.fs:read-whole-file for make check
278 :     * Fri May 21 1999 ro@suse.de
279 :     - update to 0.4.0
280 :     * Sat Jun 07 1997 florian@suse.de
281 :     - first version of GNU forth 0.3 for S.u.S.E.

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help