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