SHA256
6
0
forked from pool/libstfl

Accepting request 578319 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/578319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libstfl?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2018-02-20 16:57:11 +00:00 committed by Git OBS Bridge
commit fe25787e1d
5 changed files with 27 additions and 26 deletions

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Sun Feb 18 06:53:38 UTC 2018 - avindra@opensuse.org
- update to 0.24
* increased table MAX_ROWS and MAX_COLS
* Added "process" variable
* Added stfl_redraw API
* Added example2
* Fixed updating of "pos_name" in list widget
* Added stfl_text() function
* removed unimplemented stfl_lookup() function
* Fixed compiler warning in wt_list.c
* cosmetic changes in parser.c
- cleanup spec file with spec-cleaner
- rebase stfl-optflags.patch
* version number removed from context for better reusability
-------------------------------------------------------------------
Wed May 13 15:01:26 UTC 2015 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libstfl
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%define soname 0
Name: libstfl
Version: 0.23
Version: 0.24
Release: 0
Summary: Structured Terminal Forms Library
License: LGPL-3.0+
@ -28,10 +28,8 @@ Source: http://www.clifford.at/stfl/stfl-%{version}.tar.gz
Source99: libstfl-rpmlintrc
Patch1: stfl-optflags.patch
Patch2: stfl-ncurses.patch
#BuildRequires: swig perl python python-devel ruby ruby-devel
BuildRequires: ncurses-devel
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkgconfig
%description
.............................................................................
@ -75,10 +73,8 @@ GUI and can concentrate on the more interesting programming tasks.
%build
make %{?_smp_mflags} \
prefix="%{_prefix}" \
libdir="%{_lib}" \
CC="gcc" \
OPTFLAGS="%{optflags}" \
OPTFLAGS="%{optflags}"\
FOUND_SPL=0 \
FOUND_SWIG=0 \
FOUND_RUBY=0 \
@ -86,14 +82,9 @@ make %{?_smp_mflags} \
FOUND_PYTHON=0
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags} \
prefix="%{_prefix}" \
%make_install \
libdir="%{_lib}" \
FOUND_SPL=0 \
FOUND_SWIG=0 \
FOUND_RUBY=0 \
FOUND_PERL=0 \
FOUND_PYTHON=0
prefix="%{_prefix}"
[ -e "%{buildroot}%{_libdir}/libstfl.so.%{soname}" ] || {
pushd "%{buildroot}%{_libdir}/"
@ -102,17 +93,14 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags} \
}
%post -n libstfl%{soname} -p /sbin/ldconfig
%postun -n libstfl%{soname} -p /sbin/ldconfig
%files -n libstfl%{soname}
%defattr(-,root,root)
%doc COPYING README
%{_libdir}/libstfl.so.%{soname}
%{_libdir}/libstfl.so.%{soname}.*
%files -n libstfl-devel
%defattr(-,root,root)
%{_includedir}/stfl.h
%{_libdir}/libstfl.so
%{_libdir}/libstfl.a

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e75ed8427905ad50faf43ed5fefd0cf7b16ee0c1ca87e15d33e360bb92aedfde
size 43941

3
stfl-0.24.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d4a7aa181a475aaf8a8914a8ccb2a7ff28919d4c8c0f8a061e17a0c36869c090
size 45585

View File

@ -1,9 +1,6 @@
Index: Makefile
===================================================================
--- Makefile.orig
+++ Makefile
@@ -20,9 +20,10 @@
@@ -21,7 +21,8 @@
include Makefile.cfg
-export CC = gcc -pthread
@ -15,4 +12,3 @@ Index: Makefile
+export LDLIBS += -pthread -lncursesw
SONAME := libstfl.so.0
VERSION := 0.23