Search
SailfishOS Open Build Service
>
Projects
>
home:notmart
:
CE:Adaptation:x86-generic
>
slang
> slang.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File slang.spec of Package slang
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.25 # Name: slang # >> macros # << macros Summary: The shared library for the S-Lang extension language Version: 2.2.2 Release: 1 Group: System/Libraries License: GPLv2+ URL: http://www.jedsoft.org/slang/ Source0: ftp://space.mit.edu/pub/davis/slang/v2.1/%{name}-%{version}.tar.bz2 Source100: slang.yaml Patch0: slang-2.2.2-makefile.patch Patch1: slang-nointerlibc2.patch Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: pkgconfig(libpcre) BuildRequires: pkgconfig(ncurses) %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 slsh Summary: Interpreter for S-Lang scripts Group: Development/Languages Requires: %{name} = %{version}-%{release} %description slsh slsh (slang-shell) is a program for interpreting S-Lang scripts. It supports dynamic loading of S-Lang modules and includes a readline interface for interactive use. This package also includes S-Lang modules that are distributed with the S-Lang distribution. %package devel Summary: Development files for the S-Lang extension language Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel This package contains 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. %prep %setup -q -n %{name}-%{version} # slang-2.2.2-makefile.patch %patch0 -p1 # slang-nointerlibc2.patch %patch1 -p1 # >> setup # << setup %build # >> build pre # << build pre %configure --disable-static \ --includedir=%{_includedir}/slang make %{?jobs:-j%jobs} # >> build post # << build post %install rm -rf %{buildroot} # >> install pre # << install pre %make_install # >> install post rm -rf $RPM_BUILD_ROOT%{_docdir}/{slang,slsh} # << install post %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) # >> files %doc COPYING %{_libdir}/libslang*.so.* # << files %files slsh %defattr(-,root,root,-) # >> files slsh %doc slsh/doc/html/slsh*.html %config(noreplace) %{_sysconfdir}/slsh.rc %{_bindir}/slsh %{_libdir}/slang %doc %{_mandir}/man1/slsh.1* %{_datadir}/slsh # << files slsh %files devel %defattr(-,root,root,-) # >> files devel %doc doc/*/cslang*.txt doc/*/cref.txt doc/README doc/*/slang*.txt doc/*.txt %{_libdir}/libslang*.so %{_libdir}/pkgconfig/slang.pc %{_includedir}/slang # << files devel