forked from pool/libstfl
f60e57b2ee
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libstfl?expand=0&rev=1
106 lines
2.7 KiB
RPMSpec
106 lines
2.7 KiB
RPMSpec
# norootforbuild
|
|
|
|
Name: libstfl
|
|
Version: 0.19
|
|
Release: 0
|
|
Summary: Structured Terminal Forms Library
|
|
Source: http://www.clifford.at/stfl/stfl-%{version}.tar.gz
|
|
Patch1: stfl-optflags.patch
|
|
Patch2: stfl-ncurses.patch
|
|
Patch3: stfl-lib64.patch
|
|
URL: http://www.clifford.at/stfl/
|
|
Group: System/Libraries
|
|
License: GNU Lesser General Public License version 3 (LGPL v3)
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
|
#BuildRequires: swig perl python python-devel ruby ruby-devel
|
|
BuildRequires: ncurses-devel
|
|
BuildRequires: gcc make glibc-devel
|
|
|
|
%description
|
|
STFL is a library which implements a curses-based widget set for text
|
|
terminals. The STFL API can be used from C, SPL, Python, Perl and Ruby. Since
|
|
the API is only 14 simple function calls big and there are already generic
|
|
SWIG bindings it is very easy to port STFL to additional scripting languages.
|
|
|
|
A special language (the Structured Terminal Forms Language) is used to
|
|
describe STFL GUIs. The language is designed to be easy and fast to write so
|
|
an application programmer does not need to spend ages fiddling around with the
|
|
GUI and can concentrate on the more interesting programming tasks.
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Clifford Wolf <clifford@clifford.at>
|
|
|
|
%package -n libstfl-devel
|
|
Summary: Structured Terminal Forms Library
|
|
Group: Development/Libraries/C and C++
|
|
Requires: ncurses-devel
|
|
|
|
%description -n libstfl-devel
|
|
STFL is a library which implements a curses-based widget set for text
|
|
terminals. The STFL API can be used from C, SPL, Python, Perl and Ruby. Since
|
|
the API is only 14 simple function calls big and there are already generic
|
|
SWIG bindings it is very easy to port STFL to additional scripting languages.
|
|
|
|
A special language (the Structured Terminal Forms Language) is used to
|
|
describe STFL GUIs. The language is designed to be easy and fast to write so
|
|
an application programmer does not need to spend ages fiddling around with the
|
|
GUI and can concentrate on the more interesting programming tasks.
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Clifford Wolf <clifford@clifford.at>
|
|
|
|
%debug_package
|
|
%prep
|
|
%setup -q -n "stfl-%{version}"
|
|
%patch1
|
|
%patch2
|
|
%if "%{_lib}"=="lib64"
|
|
%patch3
|
|
%endif
|
|
|
|
%build
|
|
# -j breaks build
|
|
%__make %{?jobs:-j%{jobs}} \
|
|
prefix="%{_prefix}" \
|
|
OPTFLAGS="%{optflags}" \
|
|
FOUND_SPL=0 \
|
|
FOUND_SWIG=0 \
|
|
FOUND_RUBY=0 \
|
|
FOUND_PERL=0 \
|
|
FOUND_PYTHON=0
|
|
|
|
%install
|
|
%makeinstall \
|
|
prefix="%{_prefix}" \
|
|
FOUND_SPL=0 \
|
|
FOUND_SWIG=0 \
|
|
FOUND_RUBY=0 \
|
|
FOUND_PERL=0 \
|
|
FOUND_PYTHON=0
|
|
|
|
%clean
|
|
%__rm -rf "%{buildroot}"
|
|
|
|
%files -n libstfl-devel
|
|
%defattr(-,root,root)
|
|
%doc COPYING README
|
|
%{_includedir}/stfl.h
|
|
%{_libdir}/libstfl.a
|
|
|
|
%changelog
|
|
* Thu Aug 21 2008 Pascal Bleser <guru@unixtech.be> 0.19
|
|
- new package
|
|
|
|
# Local Variables:
|
|
# mode: rpm-spec
|
|
# tab-width: 3
|
|
# End:
|