Summary: The shared library for the S-Lang extension language. Name: slang %define version 1.4.2 Version: %{version} Release: 2 Copyright: GPL Group: System Environment/Libraries Source: ftp://space.mit.edu/pub/davis/slang/v1.4/slang-%{version}.tar.bz2 Url: http://www.s-lang.org/ Buildroot: /var/tmp/slang-root %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 Requires: slang = %{version} %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. %changelog * Tue Feb 27 2001 Bill Nottingham - have slang-devel require slang = %%{version} * Tue Aug 29 2000 Bill Nottingham - update to 1.4.2 * Wed Jul 12 2000 Prospector - automatic rebuild * Sat Jun 17 2000 Matt Wilson - added defattr * Sat Jun 10 2000 Bill Nottingham - rebuild, FHS stuff * Fri Apr 28 2000 Bill Nottingham - autoconf fix for ia64 * Mon Apr 24 2000 Bill Nottingham - update to 1.4.1 * Wed Mar 29 2000 Bill Nottingham - fix background color problem with newt * Thu Mar 2 2000 Bill Nottingham - resurrect for the devel tree * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 4) * Wed Oct 21 1998 Bill Nottingham - libslang.so goes in -devel * Sun Jun 07 1998 Prospector System - translations modified for de * Sat Jun 6 1998 Jeff Johnson - updated to 1.2.2 with buildroot. * Tue May 05 1998 Prospector System - translations modified for de, fr, tr * Sat Apr 18 1998 Erik Troan - rebuilt to find terminfo in /usr/share * Tue Oct 14 1997 Donnie Barnes - spec file cleanups * Mon Sep 1 1997 Donnie Barnes - 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 - built against glibc %prep %setup -n slang-%{version} -q %build mv autoconf/configure.in . %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 %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) /usr/lib/libslang.so.* %files devel %defattr(-,root,root) %doc doc /usr/lib/libslang.a /usr/lib/libslang.so /usr/include/slang