]> git.pld-linux.org Git - packages/smalltalk.git/blob - smalltalk.spec
- release 5,
[packages/smalltalk.git] / smalltalk.spec
1 Summary:        GNU smalltalk (No X or emacs support)
2 Summary(pl):    GNU smalltalk (Bez wsparcia dla X lub emacsa)
3 Name:           smalltalk
4 Version:        1.6.2
5 Release:        5
6 Copyright:      GPL
7 Group:          Development/Languages
8 Group(pl):      Programowanie/Jêzyki
9 Source:         ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
10 Patch0:         smalltalk-makefile.patch
11 Patch1:         smalltalk-sysdep.patch
12 Patch2:         smalltalk-info.patch
13 PreReq:         /usr/sbin/fix-info-dir
14 BuildRequires:  readline-devel
15 BuildRequires:  ncurses-devel >= 5.0
16 BuildRoot:      /tmp/%{name}-%{version}-root
17
18 %description
19 The GNU smalltalk interpreter.
20
21 %description -l pl
22 GNU interpreter smalltalka
23
24 %package devel
25 Summary:        GNU SmallTalk header files
26 Summary(pl):    Pliki nag³ówkowe dla GNU SmallTalka
27 Group:          Libraries
28 Group(pl):      Biblioteki
29
30 %description devel
31 The GNU SmallTalk header files.
32
33 %description devel -l pl
34 Pliki nag³ówkowe dla GNU SmallTalka.
35
36 %package static
37 Summary:        Static libraries for GNU Smalltalk
38 Summary(pl):    Biblioteki statyczne dla GNU Smalltalka
39 Group:          Libraries
40 Group(pl):      Biblioteki
41
42 %description static
43 The GNU SmallTalk static libraries.
44
45 %description static -l pl
46 Biblioteki statyczne dla GNU SmallTalka.
47
48 %prep
49 %setup -q
50 %patch0 -p0
51 %patch1 -p0
52 %patch2 -p1
53
54 %build
55 autoconf
56 LDFLAGS="-s"; export LDFLAGS
57 %configure
58 make
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 make DESTDIR=$RPM_BUILD_ROOT install 
67
68 ln -sf ../../bin/gst $RPM_BUILD_ROOT%{_datadir}/smalltalk/gst
69
70 gzip -9nf README docs/AUTHORS \
71         $RPM_BUILD_ROOT{%{_mandir}/man1/*,%{_infodir}/*}
72
73 %post
74 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
75
76 %postun
77 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
78
79 %files
80 %defattr (644,root,root,755)
81 %doc README.gz docs/AUTHORS.gz
82 %attr (755,root,root) %{_bindir}/gst
83 %{_datadir}/smalltalk
84 %{_infodir}/*
85 %{_mandir}/man1/*
86
87 %files devel
88 %defattr (644,root,root,755)
89 %{_includedir}/*
90
91 %files static
92 %defattr (644,root,root,755)
93 %{_libdir}/libgst.a
This page took 0.029811 seconds and 4 git commands to generate.