Summary: The shared library for the S-Lang extension language. Name: slang Version: 2.1.4 Release: 1ark License: GPL Group: System Environment/Libraries Source: ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.0/slang-%{version}.tar.bz2 Source1000: filter-requires-GLIBC_PRIVATE.sh Patch1: slang-makefile.patch Patch3: slang-LANG.patch Url: http://www.s-lang.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %define __find_requires %SOURCE1000 %track prog %name = { url = http://www.s-lang.org/ regex = "Version (__VER__)" version = %version } %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: Header files for development using S-Lang. Group: Development/Libraries Requires: %name = %version-%release %description devel This package contains the S-Lang extension language 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. %package static Summary: The static library and header files for development using S-Lang. Group: Development/Libraries Requires: %name-devel = %version-%release %description static This package contains the S-Lang extension language static libraries which you'll need if you want to develop S-Lang based applications that run on systems that don't have S-Lang installed. %prep %setup -q %patch1 -p1 -b .makefile %patch3 -p1 -b .LANG %configure --includedir=%{_includedir}/slang %build make -C src elf make static %install rm -rf ${RPM_BUILD_ROOT} make -C src DESTDIR=${RPM_BUILD_ROOT} install-elf install-static %clean rm -rf ${RPM_BUILD_ROOT} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING changes.txt %_libdir/libslang*.so* %files devel %defattr(-,root,root) %doc doc/README doc/*/*.txt doc/*.txt %_includedir/slang %files static %defattr(-,root,root) %_libdir/libslang*.a %changelog * Tue Jul 14 2009 Bernhard Rosenkraenzer <bero@arklinux.org> 2.1.4-1ark - 2.1.4 - Add rpm5 tracking info * Mon Nov 27 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 2.1.0-2ark - Fix GLIBC_PRIVATE dep * Sat Nov 25 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 2.1.0-1ark - 2.1.0 - split out -static package * Thu Oct 23 2003 Bernhard Rosenkraenzer <bero@arklinux.org> 1.4.9-1ark - 1.4.9 - Adapt spec file to support 64bit