[Bug 174377] Review Request:gnu-smalltalk - GNU Smalltalk

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 9 00:52:15 UTC 2006


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request:gnu-smalltalk - GNU Smalltalk


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=174377


michel.salim at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #125851|1                           |0
           is patch|                            |




------- Additional Comments From michel.salim at gmail.com  2006-03-08 19:52 EST -------
(From update of attachment 125851)
Summary: GNU Smalltalk
Name: smalltalk
Version: 2.2
Release: 8%{?dist}
Source: ftp://ftp.gnu.org/gnu/smalltalk/smalltalk-%{version}.tar.gz
License: GPL
Group: Development/Languages
URL: http://www.gnu.org/software/smalltalk/smalltalk.html
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)

Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info

BuildRequires: tk-devel
BuildRequires: gtk2-devel
BuildRequires: gdbm-devel
BuildRequires: gmp-devel
BuildRequires: readline-devel
BuildRequires: emacs

%description
GNU Smalltalk is an implementation that closely follows the
Smalltalk-80 language as described in the book `Smalltalk-80: the
Language and its Implementation' by Adele Goldberg and David Robson.
The Smalltalk programming language is an object oriented programming
language.

Unlike other Smalltalks (including Smalltalk-80), GNU Smalltalk
emphasizes Smalltalk's rapid prototyping features rather than the
graphical and easy-to-use nature of the programming environment.

Therefore, even though we have a nice GUI environment including a
class browser, the goal of the GNU Smalltalk project is currently to
produce a complete system to be used to write your scripts in a clear,
aesthetically pleasing, and philosophically appealing programming
language.

%package emacs
Summary: Emacs mode for GNU Smalltalk
Group: Applications/Editors
Requires: %{name} = %{version}, emacs

%description emacs
This Package contains the Smalltalk mode for Emacs.

%package devel
Summary: Development Stuff for the GNU Smalltalk package
Group: Development/Libraries
Requires: %{name} = %{version}

%description devel
This Package contains header files and other stuff provided by
GNU Smalltalk.

You will need this package, if you want to extent GNU Smalltalk
with functions written in C.

%prep
%setup -q -n smalltalk-%{version}

%build
%configure --with-tcl=%{_libdir} --with-tk=%{_libdir} \
#  --enable-static=no --with-pic=yes

make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

rm -rf $RPM_BUILD_ROOT/%{_includedir}/sigsegv.h

find $RPM_BUILD_ROOT/%{_libdir}/smalltalk -name '*.st' \
 -print >files.list
find $RPM_BUILD_ROOT/%{_datadir}/smalltalk -type f \
 -print >>files.list

#
# Fix broken Shebangs
#

cat files.list | (
  while read file; do
    sed 's|@bindir@|%{_bindir}|g' <$file >$file.new
    mv -f $file.new $file
    if grep '^#!' $file; then
      chmod 0755 $file
    fi
  done
)

%check
make check

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/install-info %{_infodir}/gst.info %{_infodir}/dir || :
/sbin/install-info %{_infodir}/gst-base.info %{_infodir}/dir || :
/sbin/install-info %{_infodir}/gst-libs.info %{_infodir}/dir || :
/sbin/ldconfig

%post devel -p /sbin/ldconfig

%preun
if [ $1 = 0 ]; then
  /sbin/install-info --delete %{_infodir}/gst.info %{_infodir}/dir || :
  /sbin/install-info --delete %{_infodir}/gst-base.info %{_infodir}/dir || :
  /sbin/install-info --delete %{_infodir}/gst-libs.info %{_infodir}/dir || :
fi

%postun -p /sbin/ldconfig

%postun devel -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%{_bindir}/gst
%{_bindir}/gst-load
%{_bindir}/gst-package
%{_bindir}/gst-reload
%{_bindir}/gst-sunit

%{_libdir}/libgst.so.*

%dir %{_libdir}/smalltalk/
%{_libdir}/smalltalk/*.so
%{_datadir}/smalltalk/

%{_infodir}/gst.info*
%{_infodir}/gst-*.info*

%{_mandir}/man1/gst.1*

%doc AUTHORS COPYING COPYING.DOC COPYING.LIB ChangeLog
%doc NEWS README THANKS TODO

%files devel
%defattr(-,root,root,-)
%{_bindir}/gst-config
%{_libdir}/libgst.so
%{_libdir}/libgst.a
%{_libdir}/smalltalk/*.a
%ghost %{_libdir}/*.la
%ghost %{_libdir}/smalltalk/*.la
%{_libdir}/pkgconfig/gnu-smalltalk.pc

%{_datadir}/aclocal/*.m4

%{_includedir}/gst.h
%{_includedir}/gstpub.h

%doc COPYING

%files emacs
%defattr(-,root,root,-)
%{_datadir}/emacs/site-lisp/*

%doc COPYING

%changelog
* Wed Mar  8 2006 Michel Salim <michel.salim at gmail.com> 2.2-8
- Reverted name to smalltalk to avoid rpath oddities and test failures
- Spec cleanup

* Tue Jan 31 2006 Jochen Schmitt <jochen herr-schmitt de> 2.2-7
- Fix rpmlint errors

* Tue Jan 10 2006 Jochen Schmitt <Jochen herr-schmitt de> 2.2-6
- Added --disable-rpath
- Added --enable-static=no
- fix broken Shebangs

* Tue Dec 13 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.2-5
- Deps from -devel and -emacs more strict
- Move libgst.so.* to main package

* Wed Dec  7 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.2-4
- remove dep to lightning

* Sun Dec  4 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.2-3
- Add aclocal
- Add depend to lightning

* Tue Nov 29 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.2-2
- Rename package
- install-info for gst-base and gst-libs
- move libgst.so to devel package

* Thu Nov 24 2005 Jochen Schmitt <Jochen herr-schmitt de> 2.2-1
- Initial RPM


-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-extras-list mailing list