|
@@ -4,12 +4,13 @@ Summary: The shared library for the S-Lang extension language
|
|
|
Summary(ja): S-Lang 拡張言語ライブラリ
|
|
|
Name: slang
|
|
|
Version: 2.3.2
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
+Group: system
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
|
|
|
License: GPLv2+
|
|
|
-Group: System Environment/Libraries
|
|
|
URL: https://www.jedsoft.org/slang/
|
|
|
-
|
|
|
Source: ftp://space.mit.edu/pub/davis/slang/v2.1/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
# don't use memcpy() on overlapping buffers
|
|
@@ -23,10 +24,6 @@ BuildRequires: oniguruma-devel
|
|
|
BuildRequires: pcre-devel
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
-Distribution: Vine Linux
|
|
|
-Packager: Daisuke SUZUKI <daisuke@linux.or.jp>
|
|
|
-
|
|
|
%description
|
|
|
S-lang (pronounced `sssslang'') is a powerful stack based interpreter
|
|
|
that supports a C-like syntax. It has been designed from the beginning
|
|
@@ -42,10 +39,11 @@ S-lang (`sssslang'' と発音します)は、Cとよく似た文法のスタッ
|
|
|
全にかつ効率良くデバッグ・開発できます。S-lang は C と似ていますから、
|
|
|
必要になれば、S-lang の手続きをCに簡単に変換することもできます。
|
|
|
|
|
|
+
|
|
|
%package slsh
|
|
|
Summary: Interpreter for S-Lang scripts
|
|
|
Summary(ja): S-Lang スクリプトインタプリタ
|
|
|
-Group: Development/Languages
|
|
|
+Group: programming
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description slsh
|
|
@@ -56,10 +54,11 @@ interface for interactive use.
|
|
|
This package also includes S-Lang modules that are distributed with
|
|
|
the S-Lang distribution.
|
|
|
|
|
|
+
|
|
|
%package devel
|
|
|
Summary: Development package for %{name}
|
|
|
Summary(ja): %{name} の開発パッケージ
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description devel
|
|
@@ -70,7 +69,6 @@ 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.
|
|
|
#'
|
|
|
-
|
|
|
%description devel -l ja
|
|
|
このパッケージには S-lang を用いたアプリケーションの開発に必要な静的
|
|
|
ライブラリとヘッダファイルが含まれています。S-lang を記述する助けに
|
|
@@ -79,11 +77,12 @@ based on the S-Lang extension language.
|
|
|
もし S-lang を使ったアプリケーションを開発するなら、このパッケージを
|
|
|
インストールしてください。
|
|
|
|
|
|
+
|
|
|
## to build compat32 for x86_64 architecture support
|
|
|
%package -n compat32-%{name}
|
|
|
Summary: The shared library for the S-Lang extension language
|
|
|
Summary(ja): S-Lang 拡張言語ライブラリ
|
|
|
-Group: System Environment/Libraries
|
|
|
+Group: system,legacy
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description -n compat32-%{name}
|
|
@@ -101,10 +100,11 @@ S-lang (`sssslang'' と発音します)は、Cとよく似た文法のスタッ
|
|
|
全にかつ効率良くデバッグ・開発できます。S-lang は C と似ていますから、
|
|
|
必要になれば、S-lang の手続きをCに簡単に変換することもできます。
|
|
|
|
|
|
+
|
|
|
%package -n compat32-%{name}-devel
|
|
|
Summary: Development package for %{name}
|
|
|
Summary(ja): %{name} の開発パッケージ
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming,legacy
|
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
|
@@ -117,6 +117,10 @@ Install the slang-devel package if you want to develop applications
|
|
|
based on the S-Lang extension language.
|
|
|
#'
|
|
|
|
|
|
+
|
|
|
+%debug_package
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q
|
|
|
%patch1 -p1 -b .getkey-memmove
|
|
@@ -133,9 +137,10 @@ sed -i '/TEST_SCRIPTS_SLC = /s/array //' src/test/Makefile
|
|
|
--includedir=%{_includedir}/slang \
|
|
|
--with-{pcre,png,z,onig}lib=%{_libdir} \
|
|
|
--with-{pcre,png,z,onig}inc=%{_includedir} \
|
|
|
-;
|
|
|
+ %{nil}
|
|
|
+
|
|
|
+make RPATH="" install_doc_dir=%{_pkgdocdir} all
|
|
|
|
|
|
-make RPATH="" install_doc_dir=%{_docdir}/%{name}-%{version} all
|
|
|
|
|
|
%install
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
@@ -143,17 +148,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
|
make install-all INSTALL="install -p" RPATH="" DESTDIR=$RPM_BUILD_ROOT
|
|
|
rm -rf $RPM_BUILD_ROOT%{_docdir}/{slang,slsh}
|
|
|
|
|
|
+
|
|
|
%clean
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
-
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
-
|
|
|
-%post -n compat32-%{name} -p /sbin/ldconfig
|
|
|
-
|
|
|
-%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
|
-
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
@@ -190,6 +188,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Aug 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.2-2
|
|
|
+- rebuilt with current environment.
|
|
|
+- dropped ldconfig scriptlets.
|
|
|
+
|
|
|
* Sun Sep 15 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.2-1
|
|
|
- new upstream release.
|
|
|
- dropped Patch1 and 2.
|