[info=a5eeb2e204186e3ec302ec77ae71827647e7008ce413d9ee914824536ec8adc8]
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libstfl?expand=0&rev=23
This commit is contained in:
commit
c66280f1f6
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
mtime: 1709332733
|
||||||
|
commit: a5eeb2e204186e3ec302ec77ae71827647e7008ce413d9ee914824536ec8adc8
|
||||||
|
url: https://src.opensuse.org/clibs/stfl
|
||||||
|
revision: master
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:89a73dd6147c491aab96dda7ac162364184cca0da440fdbde1e8a2546a541409
|
||||||
|
size 256
|
2
libstfl-rpmlintrc
Normal file
2
libstfl-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
addFilter("description-shorter-than-summary")
|
||||||
|
addFilter("no-dependency-on libstfl/libstfl-libs/liblibstfl")
|
72
libstfl.changes
Normal file
72
libstfl.changes
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 1 10:04:25 UTC 2024 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- Use %autosetup macro. Allows to eliminate the usage of deprecated
|
||||||
|
%patchN
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 10 20:31:49 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Use -ffat-lto-objects when building static libraries.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 20 13:31:43 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Rename %soname to %sover to better reflect its use.
|
||||||
|
- Fix RPM groups. Ensure neutrality of description.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
- Update to 0.23
|
||||||
|
* no upstream changelog provided
|
||||||
|
- Cleanup spec file with spec-cleaner
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 2 13:27:51 UTC 2012 - cfarrell@suse.com
|
||||||
|
|
||||||
|
- license update: LGPL-3.0+
|
||||||
|
No indication of LGPL-3.0 (only) files. See README also
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 31 10:33:30 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Remove redundant tags/sections per specfile guideline suggestions
|
||||||
|
- Parallel building using %_smp_mflags
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 24 22:47:49 UTC 2010 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- update to 0.21
|
||||||
|
|
||||||
|
- changed spec file as libstfl now also ships a shared library
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 10 00:00:00 UTC 2009 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
- update to 0.20
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 21 00:00:00 UTC 2008 - guru@unixtech.be
|
||||||
|
|
||||||
|
- new package
|
||||||
|
|
||||||
|
|
104
libstfl.spec
Normal file
104
libstfl.spec
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
#
|
||||||
|
# spec file for package libstfl
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019 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
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define sover 0
|
||||||
|
Name: libstfl
|
||||||
|
Version: 0.24
|
||||||
|
Release: 0
|
||||||
|
Summary: Structured Terminal Forms Library
|
||||||
|
License: LGPL-3.0-or-later
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
URL: http://www.clifford.at/stfl/
|
||||||
|
Source: http://www.clifford.at/stfl/stfl-%{version}.tar.gz
|
||||||
|
Source99: libstfl-rpmlintrc
|
||||||
|
Patch1: stfl-optflags.patch
|
||||||
|
Patch2: stfl-ncurses.patch
|
||||||
|
BuildRequires: ncurses-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
|
%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.
|
||||||
|
|
||||||
|
%package -n libstfl%{sover}
|
||||||
|
Summary: Structured Terminal Forms Library
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libstfl%{sover}
|
||||||
|
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.
|
||||||
|
|
||||||
|
A special language (the Structured Terminal Forms Language) is used to
|
||||||
|
describe STFL GUIs.
|
||||||
|
|
||||||
|
%package -n libstfl-devel
|
||||||
|
Summary: Structured Terminal Forms Library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: libstfl%{sover} = %{version}
|
||||||
|
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.
|
||||||
|
The API has only 14 function calls and generic SWIG bindings exist
|
||||||
|
already for porting STFL to other scripting languages.
|
||||||
|
|
||||||
|
A special language (the Structured Terminal Forms Language) is used to
|
||||||
|
describe STFL GUIs.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p0 -n "stfl-%{version}"
|
||||||
|
|
||||||
|
%build
|
||||||
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
|
make %{?_smp_mflags} \
|
||||||
|
CC="gcc" \
|
||||||
|
OPTFLAGS="%{optflags}"\
|
||||||
|
FOUND_SPL=0 \
|
||||||
|
FOUND_SWIG=0 \
|
||||||
|
FOUND_RUBY=0 \
|
||||||
|
FOUND_PERL=0 \
|
||||||
|
FOUND_PYTHON=0
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install \
|
||||||
|
libdir="%{_lib}" \
|
||||||
|
prefix="%{_prefix}"
|
||||||
|
|
||||||
|
[ -e "%{buildroot}%{_libdir}/libstfl.so.%{sover}" ] || {
|
||||||
|
pushd "%{buildroot}%{_libdir}/"
|
||||||
|
ln -s libstfl.so.*.* libstfl.so.%{sover}
|
||||||
|
popd
|
||||||
|
}
|
||||||
|
|
||||||
|
%post -n libstfl%{sover} -p /sbin/ldconfig
|
||||||
|
%postun -n libstfl%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n libstfl%{sover}
|
||||||
|
%license COPYING
|
||||||
|
%doc README
|
||||||
|
%{_libdir}/libstfl.so.%{sover}
|
||||||
|
%{_libdir}/libstfl.so.%{sover}.*
|
||||||
|
|
||||||
|
%files -n libstfl-devel
|
||||||
|
%{_includedir}/stfl.h
|
||||||
|
%{_libdir}/libstfl.so
|
||||||
|
%{_libdir}/libstfl.a
|
||||||
|
%{_libdir}/pkgconfig/stfl.pc
|
||||||
|
|
||||||
|
%changelog
|
3
stfl-0.24.tar.gz
Normal file
3
stfl-0.24.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d4a7aa181a475aaf8a8914a8ccb2a7ff28919d4c8c0f8a061e17a0c36869c090
|
||||||
|
size 45585
|
11
stfl-ncurses.patch
Normal file
11
stfl-ncurses.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- stfl_internals.h.orig 2008-05-06 11:44:36.000000000 +0200
|
||||||
|
+++ stfl_internals.h 2009-12-10 01:52:13.000000000 +0100
|
||||||
|
@@ -28,7 +28,7 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "stfl.h"
|
||||||
|
-#include <ncursesw/ncurses.h>
|
||||||
|
+#include <ncurses.h>
|
||||||
|
#include <pthread.h>
|
||||||
|
|
||||||
|
struct stfl_widget_type;
|
14
stfl-optflags.patch
Normal file
14
stfl-optflags.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
--- Makefile.orig
|
||||||
|
+++ Makefile
|
||||||
|
@@ -21,7 +21,8 @@
|
||||||
|
include Makefile.cfg
|
||||||
|
|
||||||
|
-export CC = gcc -pthread
|
||||||
|
-export CFLAGS += -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC
|
||||||
|
-export LDLIBS += -lncursesw
|
||||||
|
+export CC = gcc
|
||||||
|
+OPTFLAGS=-Os -ggdb
|
||||||
|
+export CFLAGS += -pthread -I. -Wall -D_GNU_SOURCE -fPIC $(OPTFLAGS)
|
||||||
|
+export LDLIBS += -pthread -lncursesw
|
||||||
|
|
||||||
|
SONAME := libstfl.so.0
|
Loading…
x
Reference in New Issue
Block a user