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