2004-09-09 12:26:02 +00:00
|
|
|
Summary: The shared library for the S-Lang extension language.
|
|
|
|
Name: slang
|
2004-09-09 12:27:43 +00:00
|
|
|
Version: 1.4.5
|
2004-09-09 12:28:13 +00:00
|
|
|
Release: 10
|
2004-09-09 12:26:02 +00:00
|
|
|
Copyright: GPL
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Source: ftp://space.mit.edu/pub/davis/slang/v1.4/slang-%{version}.tar.bz2
|
2004-09-09 12:28:13 +00:00
|
|
|
Source2: README.UTF-8
|
|
|
|
Patch: slang-debian-utf8.patch
|
|
|
|
Patch2: slang-utf8-acs.patch
|
2004-09-09 12:26:02 +00:00
|
|
|
Url: http://www.s-lang.org/
|
2004-09-09 12:28:13 +00:00
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
2004-09-09 12:26:02 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
S-Lang is an interpreted language and a programming library. The
|
|
|
|
S-Lang language was designed so that it can be easily embedded into
|
|
|
|
a program to provide the program with a powerful extension language.
|
|
|
|
The S-Lang library, provided in this package, provides the S-Lang
|
|
|
|
extension language. S-Lang's syntax resembles C, which makes it easy
|
|
|
|
to recode S-Lang procedures in C if you need to.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: The static library and header files for development using S-Lang.
|
|
|
|
Group: Development/Libraries
|
2004-09-09 12:26:33 +00:00
|
|
|
Requires: slang = %{version}
|
2004-09-09 12:26:02 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the S-Lang extension language static libraries
|
|
|
|
and header files which you'll need if you want to develop S-Lang based
|
|
|
|
applications. Documentation which may help you write S-Lang based
|
|
|
|
applications is also included.
|
|
|
|
|
|
|
|
Install the slang-devel package if you want to develop applications
|
|
|
|
based on the S-Lang extension language.
|
|
|
|
|
2004-09-09 12:28:03 +00:00
|
|
|
%prep
|
|
|
|
%setup -n slang-%{version} -q
|
2004-09-09 12:28:13 +00:00
|
|
|
%patch -p1 -b .utf8
|
|
|
|
%patch2 -p1 -b .acs
|
|
|
|
|
|
|
|
cp %{SOURCE2} .
|
2004-09-09 12:28:03 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
perl -p -i -e 's/(ELF_CFLAGS=\"[^\"]*)-O2([^\"]*\".*)/$1'"$RPM_OPT_FLAGS"' $2/gs' configure
|
|
|
|
cp /usr/share/libtool/config.{sub,guess} autoconf
|
|
|
|
%configure --includedir=/usr/include/slang
|
|
|
|
make elf all
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/include/slang
|
|
|
|
|
|
|
|
%makeinstall \
|
|
|
|
install_lib_dir=$RPM_BUILD_ROOT/usr/lib \
|
|
|
|
install_include_dir=$RPM_BUILD_ROOT/usr/include/slang install-elf
|
2004-09-09 12:28:13 +00:00
|
|
|
ln -sf libslang-utf8.so.1.4.5 $RPM_BUILD_ROOT/usr/lib/libslang-utf8.so.1
|
|
|
|
ln -sf libslang-utf8.so $RPM_BUILD_ROOT/usr/lib/libslang.so
|
|
|
|
ln -sf libslang-utf8.a $RPM_BUILD_ROOT/usr/lib/libslang.a
|
2004-09-09 12:28:03 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2004-09-09 12:28:13 +00:00
|
|
|
/usr/lib/libslang*.so.*
|
2004-09-09 12:28:03 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2004-09-09 12:28:13 +00:00
|
|
|
%doc doc README.UTF-8
|
|
|
|
/usr/lib/libslang*.a
|
|
|
|
/usr/lib/libslang*.so
|
2004-09-09 12:28:03 +00:00
|
|
|
/usr/include/slang
|
|
|
|
|
2004-09-09 12:26:02 +00:00
|
|
|
%changelog
|
2004-09-09 12:28:13 +00:00
|
|
|
* Tue Jul 9 2002 Bill Nottingham <notting@redhat.com> 1.4.5-10
|
|
|
|
- fix segfault in odd environments
|
|
|
|
|
|
|
|
* Mon Jul 8 2002 Bill Nottingham <notting@redhat.com> 1.4.5-9
|
|
|
|
- tweak UTF-8 linedrawing patch slightly; add README describing some of
|
|
|
|
the changes
|
|
|
|
- fix a utee/dtee typo
|
|
|
|
|
|
|
|
* Wed Jun 26 2002 Bill Nottingham <notting@redhat.com> 1.4.5-7
|
|
|
|
- add patch to support ACS linedrawing characters in UTF-8
|
|
|
|
|
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Wed Jun 12 2002 Bill Nottingham <notting@redhat.com> 1.4.5-5
|
|
|
|
- removed keymap patch (#59171)
|
|
|
|
- added Debian utf8 patch
|
|
|
|
|
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 12:28:03 +00:00
|
|
|
* Tue Mar 5 2002 Bill Nottingham <notting@redhat.com>
|
|
|
|
- fix symlink & ia64 fubarness
|
|
|
|
|
2004-09-09 12:27:43 +00:00
|
|
|
* Mon Mar 4 2002 Bill Nottingham <notting@redhat.com>
|
|
|
|
- update to 1.4.5
|
|
|
|
|
2004-09-09 12:27:23 +00:00
|
|
|
* Tue Jun 26 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- add link from library major version number
|
|
|
|
|
2004-09-09 12:27:14 +00:00
|
|
|
* Mon Jun 25 2001 Bill Nottingham <notting@redhat.com>
|
|
|
|
- added patch to fix Alt/Meta key handling (originally from mutt,
|
|
|
|
<jorton@btconnect.com>)
|
|
|
|
|
2004-09-09 12:26:35 +00:00
|
|
|
* Fri Jun 1 2001 Oliver Paukstadt <oliver.paukstadt@millenux.com>
|
|
|
|
- forced to use RPM_OPT_FLAGS for ELF_CFLAGS too
|
|
|
|
|
|
|
|
* Mon Mar 12 2001 Bill Nottingham <notting@redhat.com>
|
|
|
|
- update to 1.4.4
|
|
|
|
|
2004-09-09 12:26:33 +00:00
|
|
|
* Tue Feb 27 2001 Bill Nottingham <notting@redhat.com>
|
|
|
|
- have slang-devel require slang = %%{version}
|
|
|
|
|
|
|
|
* Tue Aug 29 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- update to 1.4.2
|
|
|
|
|
2004-09-09 12:26:02 +00:00
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Sat Jun 17 2000 Matt Wilson <msw@redhat.com>
|
|
|
|
- added defattr
|
|
|
|
|
|
|
|
* Sat Jun 10 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- rebuild, FHS stuff
|
|
|
|
|
|
|
|
* Fri Apr 28 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- autoconf fix for ia64
|
|
|
|
|
|
|
|
* Mon Apr 24 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- update to 1.4.1
|
|
|
|
|
|
|
|
* Wed Mar 29 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- fix background color problem with newt
|
|
|
|
|
|
|
|
* Thu Mar 2 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- resurrect for the devel tree
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 4)
|
|
|
|
|
|
|
|
* Wed Oct 21 1998 Bill Nottingham <notting@redhat.com>
|
|
|
|
- libslang.so goes in -devel
|
|
|
|
|
|
|
|
* Sun Jun 07 1998 Prospector System <bugs@redhat.com>
|
|
|
|
|
|
|
|
- translations modified for de
|
|
|
|
|
|
|
|
* Sat Jun 6 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- updated to 1.2.2 with buildroot.
|
|
|
|
|
|
|
|
* Tue May 05 1998 Prospector System <bugs@redhat.com>
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
* Sat Apr 18 1998 Erik Troan <ewt@redhat.com>
|
|
|
|
- rebuilt to find terminfo in /usr/share
|
|
|
|
|
|
|
|
* Tue Oct 14 1997 Donnie Barnes <djb@redhat.com>
|
|
|
|
- spec file cleanups
|
|
|
|
|
|
|
|
* Mon Sep 1 1997 Donnie Barnes <djb@redhat.com>
|
|
|
|
- upgraded to 0.99.38 (will it EVER go 1.0???)
|
|
|
|
- all patches removed (all appear to be in this version)
|
|
|
|
|
|
|
|
* Thu Jun 19 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- built against glibc
|
|
|
|
|