]> git.pld-linux.org Git - packages/smalltalk.git/blob - smalltalk.spec
- release 3
[packages/smalltalk.git] / smalltalk.spec
1 Summary:        GNU smalltalk (No X support)
2 Summary(pl):    GNU smalltalk (Bez wsparcia dla X)
3 Name:           smalltalk
4 Version:        1.95.1
5 Release:        3
6 License:        GPL
7 Group:          Development/Languages
8 Group(de):      Entwicklung/Sprachen
9 Group(pl):      Programowanie/Jêzyki
10 Source0:        ftp://prep.ai.mit.edu/pub/gnu/smalltalk/%{name}-%{version}.tar.gz
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 Patch0:         %{name}-info.patch
14 Patch1:         %{name}-install.patch
15 Icon:           smalltalk.xpm
16 BuildRequires:  readline-devel >= 4.2
17 BuildRequires:  ncurses-devel >= 5.0
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 GNU Smalltalk is a Free (or Open Source) implementation that closely
22 follows the Smalltalk-80 language as described in the book
23 Smalltalk-80: the Language and its Implementation by Adele Goldberg
24 and David Robson. GNUSmalltalk runs on most versions of Unix or Unix
25 like systems (GNU/Linux, FreeBSD, etc...). There is even a version for
26 commercial operating systems like MS-NT.
27
28 %description -l pl
29 GNU Smalltalk jest Woln± (lub Open Source) implementacj± tak blisk±
30 jêzykowi Smalltalk-80 jak to jest opisane w ksi±¿ce
31 Smalltalk-80: the Language and its Implementation napisanej przez
32 Adele Goldberg oraz David Robson. GNUSmalltalk dzia³a na wiêkszo¶ci
33 wersji Unix'ów lub systemów Unixo-podobnych (GNU/Linux, FreeBSD, etc...).
34 Jest nawet wersja dla systemów komercyjnych, takich jak M$-NT.
35
36 %package devel
37 Summary:        GNU SmallTalk header files
38 Summary(pl):    Pliki nag³ówkowe dla GNU SmallTalka
39 Group:          Libraries
40 Group(de):      Libraries
41 Group(es):      Bibliotecas
42 Group(fr):      Librairies
43 Group(pl):      Biblioteki
44 Requires:       %{name} = %{version}
45
46 %description devel
47 The GNU SmallTalk header files.
48
49 %description devel -l pl
50 Pliki nag³ówkowe dla GNU SmallTalka.
51
52 %package static
53 Summary:        Static libraries for GNU Smalltalk
54 Summary(pl):    Biblioteki statyczne dla GNU Smalltalka
55 Group:          Libraries
56 Group(de):      Libraries
57 Group(es):      Bibliotecas
58 Group(fr):      Librairies
59 Group(pl):      Biblioteki
60 Requires:       %{name}-devel = %{version}
61
62 %description static
63 The GNU SmallTalk static libraries.
64
65 %description static -l pl
66 Biblioteki statyczne dla GNU SmallTalka.
67
68 %prep
69 %setup -q
70 %patch0 -p1
71 %patch1 -p1
72
73 %build
74 %configure2_13
75 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Development,%{_pixmapsdir}}
80
81 %{__make} DESTDIR=$RPM_BUILD_ROOT install
82
83 ln -sf ../../bin/gst $RPM_BUILD_ROOT%{_datadir}/gnu-smalltalk/gst
84
85 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Development
86 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
87
88 gzip -9nf AUTHORS NEWS README THANKS
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post
94 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
95
96 %postun
97 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
98
99 %files
100 %defattr(644,root,root,755)
101 %attr (755,root,root) %{_bindir}/gst
102 %{_datadir}/gnu-smalltalk
103 %{_infodir}/*
104 %{_mandir}/man1/*
105 %{_applnkdir}/Development/*
106 %{_prefix}/X11R6/share/pixmaps/*
107
108 %files devel
109 %defattr(644,root,root,755)
110 %doc *.gz
111 %attr (755,root,root) %{_bindir}/gst-config
112 %attr (755,root,root) %{_bindir}/gst-package
113 %{_includedir}/*
114
115 %files static
116 %defattr(644,root,root,755)
117 %{_libdir}/libgst.a
This page took 0.044287 seconds and 4 git commands to generate.