1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15: %define version 0.8.12
16: %define encoding utf8
17: %define threads pthreads
18:
19: Summary: Scheme script interpreter with multibyte character handling
20: Name: Gauche
21: Version: %{version}
22: Release: 1
23: Source: Gauche-%{version}.tgz
24: License: revised BSD
25: Group: Development/Languages
26: Packager: Shiro Kawai (shiro@acm.org)
27: Buildroot: %{_tmppath}/rpm
28: URL: http://practical-scheme.net/gauche/
29:
30:
31: %description
32: Gauche is a Scheme interpreter conforming Revised^5 Report on
33: Algorithmic Language Scheme. It is designed for rapid development
34: of daily tools like system management and text processing.
35: It can handle multibyte character strings natively.
36:
37: %package %{encoding}
38: Summary: Scheme script interpreter with multibyte character handling
39: Group: Development/Languages
40: Provides: Gauche libgauche.so
41: License: revised BSD
42: Requires: Gauche-common
43: %description %{encoding}
44: Gauche is a Scheme interpreter conforming Revised^5 Report on
45: Algorithmic Language Scheme. It is designed for rapid development
46: of daily tools like system management and text processing.
47: It can handle multibyte character strings natively.
48: This package is compiled with %{encoding} as the native character encoding.
49:
50: %package common
51: Summary: Scheme script interpreter with multibyte character handling
52: Group: Development/Languages
53: License: revised BSD
54: %description common
55: Gauche is a Scheme interpreter conforming Revised^5 Report on
56: Algorithmic Language Scheme. It is designed for rapid development
57: of daily tools like system management and text processing.
58: It can handle multibyte character strings natively.
59: This package includes common part that is independent from any
60: native character encoding. You need either Gauche-eucjp or Gauche-utf8
61: package as well.
62:
63: %package gdbm-%{encoding}
64: Summary: gdbm binding for Gauche Scheme system
65: Group: Development/Languages
66: License: GPL
67: Provides: Gauche-gdbm
68: Requires: gdbm >= 1.8.0, Gauche-%{encoding}
69: %description gdbm-%{encoding}
70: This package adds gdbm binding to the Gauche Scheme system.
71:
72: %prep
73: %setup
74:
75: %build
76: ./configure --prefix=/usr --mandir='${prefix}/share/man' --infodir='${prefix}/share/info' --enable-threads=%{threads} --enable-multibyte=%{encoding}
77: %ifarch i386
78: make OPTFLAGS="-fomit-frame-pointer"
79: %else
80: make
81: %endif
82:
83:
84: %install
85:
86:
87: rm -rf ${RPM_BUILD_ROOT}/usr/lib/gauche
88: rm -rf ${RPM_BUILD_ROOT}/usr/share/gauche
89: rm -rf ${RPM_BUILD_ROOT}/usr/share/man/man1
90: mkdir -p ${RPM_BUILD_ROOT}/usr
91: make DESTDIR=${RPM_BUILD_ROOT}/ install-pkg
92: make DESTDIR=${RPM_BUILD_ROOT}/ install-doc
93:
94: %clean
95:
96: %post
97:
98: %post %{encoding}
99:
100: /usr/bin/gosh -u slib -e "(require 'logical)" -e "(exit 0)" > /dev/null 2>&1 || echo
101:
102: %files common -f rpmfiles-common.txt
103: %defattr(-,root,root)
104: %doc COPYING ChangeLog INSTALL INSTALL.eucjp Gauche.spec
105: /usr/share/info/
106: /usr/share/man/man1/
107: /usr/share/gauche/site
108: /usr/share/aclocal/gauche.m4
109:
110: %files %{encoding} -f rpmfiles-encoding.txt
111: %defattr(-,root,root)
112: /usr/bin/gosh
113: /usr/bin/gauche-config
114: /usr/bin/gauche-cesconv
115: /usr/bin/gauche-install
116: /usr/bin/gauche-package
117:
118: /usr/lib/libgauche.so
119: /usr/lib/libgauche.so.0
120: /usr/lib/libgauche.so.%{version}
121: /usr/lib/gauche/site/
122:
123: %files gdbm-%{encoding} -f rpmfiles-gdbm.txt
124: %defattr(-,root,root)
125:
126: %changelog
127: * Mon Oct 29 2007 Shiro Kawai
128: - Gauche release 0.8.12.
129:
130: * Thu Aug 16 2007 Shiro Kawai
131: - Gauche release 0.8.11.
132:
133: * Wed Apr 18 2007 Shiro Kawai
134: - Gauche release 0.8.10.
135:
136: * Wed Jan 17 2007 Shiro Kawai
137: - Gauche release 0.8.9.
138:
139: * Tue Nov 11 2006 Shiro Kawai
140: - Gauche release 0.8.8.
141:
142: * Tue Apr 12 2006 Shiro Kawai
143: - Gauche release 0.8.7.
144:
145: * Tue Nov 4 2005 Shiro Kawai
146: - Gauche release 0.8.6.
147:
148: * Tue Jun 30 2005 Shiro Kawai
149: - Gauche release 0.8.5.
150:
151: * Tue May 31 2005 Shiro Kawai
152: - Gauche release 0.8.4.
153:
154: * Thu Dec 2 2004 Shiro Kawai
155: - Gauche release 0.8.3.
156:
157: * Mon Nov 29 2004 Shiro Kawai
158: - Gauche release 0.8.2.
159:
160: * Tue Aug 2 2004 Shiro Kawai
161: - Gauche release 0.8.1.
162:
163: * Tue May 22 2004 Shiro Kawai
164: - Gauche release 0.8.
165:
166: * Tue Feb 26 2004 Shiro Kawai
167: - Gauche release 0.7.4.2.
168:
169: * Tue Feb 4 2004 Shiro Kawai
170: - Gauche release 0.7.4.1.
171:
172: * Tue Feb 3 2004 Shiro Kawai
173: - Gauche release 0.7.4.
174:
175: * Tue Dec 16 2003 Shiro Kawai
176: - Gauche release 0.7.3.
177:
178: * Wed Oct 22 2003 Shiro Kawai
179: - Fix gdbm package license
180:
181: * Tue Oct 21 2003 Shiro Kawai
182: - include aclocal/gauche.m4 in common rpm
183:
184: * Sat Oct 4 2003 Shiro Kawai
185: - Gauche release 0.7.2.
186: Splitted into common, encoding-dependent part, and gdbm package.
187:
188: * Wed Jul 23 2003 Shiro Kawai
189: - Gauche release 0.7.1
190:
191: * Fri May 30 2003 Shiro Kawai
192: - Gauche release 0.7
193:
194: * Sun Mar 30 2003 Shiro Kawai
195: - Gauche release 0.6.8
196:
197: * Thu Feb 7 2003 Shiro Kawai
198: - Gauche release 0.6.7.1
199:
200: * Thu Feb 6 2003 Shiro Kawai
201: - Gauche release 0.6.7
202:
203: * Fri Dec 14 2002 Shiro Kawai
204: - Gauche release 0.6.6
205:
206: * Fri Nov 15 2002 Shiro Kawai
207: - Gauche release 0.6.5
208:
209: * Mon Oct 14 2002 Shiro Kawai
210: - Gauche release 0.6.4
211:
212: * Thu Sep 22 2002 Shiro Kawai
213: - Gauche release 0.6.3
214:
215: * Thu Sep 2 2002 Shiro Kawai
216: - Gauche release 0.6.2
217:
218: * Thu Jul 31 2002 Shiro Kawai
219: - Gauche release 0.6.1
220:
221: * Thu Jul 18 2002 Shiro Kawai
222: - Gauche release 0.6
223:
224: * Sun Jun 30 2002 Shiro Kawai
225: - Gauche release 0.5.7
226:
227: * Fri Jun 14 2002 Shiro Kawai
228: - Gauche release 0.5.6
229:
230: * Mon May 27 2002 Shiro Kawai
231: - Gauche release 0.5.5
232:
233: * Sat May 5 2002 Shiro Kawai
234: - Gauche release 0.5.4
235:
236: * Thu Apr 15 2002 Shiro Kawai
237: - Gauche release 0.5.3
238:
239: * Thu Mar 7 2002 Shiro Kawai
240: - first package release