]> git.pld-linux.org Git - packages/smalltalk.git/blob - smalltalk.spec
bc52772df0c43029f088be76ab9f54ce82dc4f45
[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.9
5 Release:        1
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}-PACKAGE.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 autoconf
75 automake -a -c
76 %configure
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Development,%{_pixmapsdir}}
82
83 %{__make} DESTDIR=$RPM_BUILD_ROOT install
84
85 ln -sf ../../bin/gst $RPM_BUILD_ROOT%{_datadir}/gnu-smalltalk/gst
86
87 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Development
88 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
89
90 gzip -9nf AUTHORS NEWS README THANKS
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %post
96 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
97
98 %postun
99 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
100
101 %files
102 %defattr(644,root,root,755)
103 %attr (755,root,root) %{_bindir}/gst
104 %{_datadir}/gnu-smalltalk
105 %{_infodir}/*
106 %{_mandir}/man1/*
107 %{_applnkdir}/Development/*
108 %{_prefix}/X11R6/share/pixmaps/*
109
110 %files devel
111 %defattr(644,root,root,755)
112 %doc *.gz
113 %attr (755,root,root) %{_bindir}/gst-config
114 %attr (755,root,root) %{_bindir}/gst-package
115 %{_includedir}/*
116
117 %files static
118 %defattr(644,root,root,755)
119 %{_libdir}/libgst.a
This page took 0.03178 seconds and 2 git commands to generate.