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