forked from pool/libstfl
Accepting request 1235218 from devel:libraries:c_c++
- Delete broken patch stfl-ncurses.patch to fix FTBFS. - Stop shipping static library OBS-URL: https://build.opensuse.org/request/show/1235218 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libstfl?expand=0&rev=15
This commit is contained in:
commit
73b5418a5a
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
mtime: 1736171910
|
||||||
|
commit: 9e7757e18f90e5394ada3b41a232a3554016b304a1b3316bb36156f16de7ee45
|
||||||
|
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:289dd3ae9508298336ed15996250d73d4112826adfead3471b5e1163fff0a194
|
||||||
|
size 256
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 6 11:16:42 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Delete broken patch stfl-ncurses.patch to fix FTBFS.
|
||||||
|
- Stop shipping static library
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 1 10:04:25 UTC 2024 - pgajdos@suse.com
|
Fri Mar 1 10:04:25 UTC 2024 - pgajdos@suse.com
|
||||||
|
|
||||||
|
15
libstfl.spec
15
libstfl.spec
@ -27,9 +27,8 @@ URL: http://www.clifford.at/stfl/
|
|||||||
Source: http://www.clifford.at/stfl/stfl-%{version}.tar.gz
|
Source: http://www.clifford.at/stfl/stfl-%{version}.tar.gz
|
||||||
Source99: libstfl-rpmlintrc
|
Source99: libstfl-rpmlintrc
|
||||||
Patch1: stfl-optflags.patch
|
Patch1: stfl-optflags.patch
|
||||||
Patch2: stfl-ncurses.patch
|
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkg-config
|
||||||
|
|
||||||
%description
|
%description
|
||||||
STFL is a library which implements a curses-based widget set for text
|
STFL is a library which implements a curses-based widget set for text
|
||||||
@ -65,8 +64,7 @@ describe STFL GUIs.
|
|||||||
%autosetup -p0 -n "stfl-%{version}"
|
%autosetup -p0 -n "stfl-%{version}"
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%make_build \
|
||||||
make %{?_smp_mflags} \
|
|
||||||
CC="gcc" \
|
CC="gcc" \
|
||||||
OPTFLAGS="%{optflags}"\
|
OPTFLAGS="%{optflags}"\
|
||||||
FOUND_SPL=0 \
|
FOUND_SPL=0 \
|
||||||
@ -80,14 +78,14 @@ make %{?_smp_mflags} \
|
|||||||
libdir="%{_lib}" \
|
libdir="%{_lib}" \
|
||||||
prefix="%{_prefix}"
|
prefix="%{_prefix}"
|
||||||
|
|
||||||
[ -e "%{buildroot}%{_libdir}/libstfl.so.%{sover}" ] || {
|
if ! [ -e "%{buildroot}/%{_libdir}/libstfl.so.%{sover}" ]; then
|
||||||
pushd "%{buildroot}%{_libdir}/"
|
pushd "%{buildroot}%{_libdir}/"
|
||||||
ln -s libstfl.so.*.* libstfl.so.%{sover}
|
ln -s libstfl.so.*.* libstfl.so.%{sover}
|
||||||
popd
|
popd
|
||||||
}
|
fi
|
||||||
|
rm -fv "%{buildroot}/%{_libdir}"/*.a
|
||||||
|
|
||||||
%post -n libstfl%{sover} -p /sbin/ldconfig
|
%ldconfig_scriptlets -n libstfl%{sover}
|
||||||
%postun -n libstfl%{sover} -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n libstfl%{sover}
|
%files -n libstfl%{sover}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -98,7 +96,6 @@ make %{?_smp_mflags} \
|
|||||||
%files -n libstfl-devel
|
%files -n libstfl-devel
|
||||||
%{_includedir}/stfl.h
|
%{_includedir}/stfl.h
|
||||||
%{_libdir}/libstfl.so
|
%{_libdir}/libstfl.so
|
||||||
%{_libdir}/libstfl.a
|
|
||||||
%{_libdir}/pkgconfig/stfl.pc
|
%{_libdir}/pkgconfig/stfl.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
--- 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;
|
|
Loading…
x
Reference in New Issue
Block a user