1 | %define pkg_name gauche |
---|
2 | %define pkg_version 0.9.7 |
---|
3 | %define pkg_release 1%{?_dist_release} |
---|
4 | |
---|
5 | Summary: An R7RS Scheme implementation developed to be a handy script interpreter |
---|
6 | Summary(ja): R7RS準拠のScheme処理系 |
---|
7 | Name: %{pkg_name} |
---|
8 | Version: %{pkg_version} |
---|
9 | Release: %{pkg_release} |
---|
10 | |
---|
11 | License: BSD-style |
---|
12 | Group: Development/Languages |
---|
13 | URL: http://practical-scheme.net/gauche/index-j.html |
---|
14 | Source: Gauche-%{version}.tgz |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | |
---|
18 | BuildRequires: zlib-devel |
---|
19 | BuildRequires: gdbm-devel |
---|
20 | BuildRequires: texinfo |
---|
21 | |
---|
22 | Requires: gdbm |
---|
23 | |
---|
24 | Vendor: Project Vine |
---|
25 | Distribution: Vine Linux |
---|
26 | Packager: ara_t |
---|
27 | |
---|
28 | |
---|
29 | %description |
---|
30 | Gauche is an R7RS Scheme implementation developed to be a handy |
---|
31 | script interpreter, which allows programmers and system administrators |
---|
32 | to write small to large scripts for their daily chores. Quick startup, |
---|
33 | built-in system interface, native multilingual support are some of my goals. |
---|
34 | |
---|
35 | %descriptionl -l ja |
---|
36 | Gauche(ゴーシュ)は、スクリプトインタプリタとしての使い易さに重点を置いて |
---|
37 | 開発を行っているR7RS準拠のScheme処理系です。日常業務の中でのちょっとした |
---|
38 | 処理を行うスクリプトを気軽にSchemeで書きたいなあ、という願望のもとに、 |
---|
39 | 起動が速いこと、システムへのアクセスが組み込まれていること、 最初から |
---|
40 | 多国語対応を考慮していること、リスト処理ライブラリとして他のC/C++プログラム |
---|
41 | から簡単にリンク可能であること、などを目標としています。 |
---|
42 | |
---|
43 | |
---|
44 | %prep |
---|
45 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
46 | %setup -q -n Gauche-%{version} |
---|
47 | |
---|
48 | %build |
---|
49 | %{configure} --enable-multibyte=utf-8 |
---|
50 | %{__perl} -pi -e "s|DESTDIR\ +\=|DESTDIR = ${RPM_BUILD_ROOT}|" src/Makefile |
---|
51 | |
---|
52 | %{__make} %{?_smp_mflags} |
---|
53 | pushd doc |
---|
54 | %{__make} |
---|
55 | popd |
---|
56 | |
---|
57 | |
---|
58 | %install |
---|
59 | export LD_LIBRARY_PATH=${RPM_BUILD_ROOT}%{_libdir}:${LD_LIBRARY_PATH} |
---|
60 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
61 | |
---|
62 | %check |
---|
63 | export LD_LIBRARY_PATH=${RPM_BUILD_ROOT}%{_libdir}:${LD_LIBRARY_PATH} |
---|
64 | %{__make} check |
---|
65 | |
---|
66 | %clean |
---|
67 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
68 | |
---|
69 | %post |
---|
70 | for doc in gauche-refe gauche-refj; do |
---|
71 | file=%{_infodir}/${doc}.info.gz |
---|
72 | if [ -e ${file} ]; then |
---|
73 | /sbin/install-info ${file} %{_infodir}/dir 2>/dev/null |
---|
74 | fi |
---|
75 | done |
---|
76 | %{_syssbindir}/ldconfig |
---|
77 | |
---|
78 | %preun |
---|
79 | if [ $1 = 0 ]; then |
---|
80 | for doc in gauche-refe gauche-refj; do |
---|
81 | file=%{_infodir}/${doc}.info.gz |
---|
82 | if [ -e ${file} ]; then |
---|
83 | /sbin/install-info --delete ${file} %{_infodir}/dir 2>/dev/null |
---|
84 | fi |
---|
85 | done |
---|
86 | fi |
---|
87 | |
---|
88 | %postun -p %{_syssbindir}/ldconfig |
---|
89 | |
---|
90 | |
---|
91 | %files |
---|
92 | %defattr(-, root, root) |
---|
93 | %doc AUTHORS COPYING ChangeLog HACKING NEWS README |
---|
94 | %{_bindir}/ |
---|
95 | %{_libdir}/gauche-* |
---|
96 | %{_libdir}/libgauche-*.a |
---|
97 | %{_libdir}/libgauche-*.so* |
---|
98 | %{_datadir}/aclocal/ |
---|
99 | %{_datadir}/gauche-* |
---|
100 | %{_infodir}/ |
---|
101 | %{_mandir}/man1/ |
---|
102 | |
---|
103 | |
---|
104 | %changelog |
---|
105 | * Fri Dec 21 2018 Toshiaki Ara <ara_t@384.jp> 0.9.7-1 |
---|
106 | - update to 0.9.7 |
---|
107 | |
---|
108 | * Thu Jul 05 2018 Toshiaki Ara <ara_t@384.jp> 0.9.6-1 |
---|
109 | - update to 0.9.6 |
---|
110 | |
---|
111 | * Sun Nov 06 2016 Toshiaki Ara <ara_t@384.jp> 0.9.5-2 |
---|
112 | - change Group to Development/Languages |
---|
113 | |
---|
114 | * Sat Oct 08 2016 Toshiaki Ara <ara_t@384.jp> 0.9.5-1 |
---|
115 | - update to 0.9.5 |
---|
116 | - drop PDF manual |
---|
117 | |
---|
118 | * Sat May 14 2016 Toshiaki Ara <ara_t@384.jp> 0.9.4-2 |
---|
119 | - make pdf manuals |
---|
120 | - add BuildRequires |
---|
121 | |
---|
122 | * Fri May 13 2016 Toshiaki Ara <ara_t@384.jp> 0.9.4-1 |
---|
123 | - new package |
---|