[info=88e180225b8b15021d3c68f82b6bd909749693e9eb87bc4c5c4ee539cfdfa2af]

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libstfl?expand=0&rev=25
This commit is contained in:
OBS User unknown 2025-01-06 11:36:55 +00:00 committed by Git OBS Bridge
parent 3fcbb99580
commit 3bb2b481d4
4 changed files with 10 additions and 11 deletions

View File

@ -1,4 +1,4 @@
mtime: 1736162225
commit: e68313edc1b7459a509019cf29598e36b4e9478f1121cca5ac158631b78c1274
mtime: 1736163314
commit: 88e180225b8b15021d3c68f82b6bd909749693e9eb87bc4c5c4ee539cfdfa2af
url: https://src.opensuse.org/clibs/stfl
revision: master

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:197319932e8716be43290b609feea7ceb5f6b63ad72b7aab8375d1b9398d7c0d
oid sha256:3a57b39daba8564a8e2ba7292c8a26298553d28b0bf1dd278123f7b36d7d66c5
size 256

View File

@ -2,6 +2,7 @@
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

View File

@ -28,7 +28,7 @@ Source: http://www.clifford.at/stfl/stfl-%{version}.tar.gz
Source99: libstfl-rpmlintrc
Patch1: stfl-optflags.patch
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
BuildRequires: pkg-config
%description
STFL is a library which implements a curses-based widget set for text
@ -64,8 +64,7 @@ describe STFL GUIs.
%autosetup -p0 -n "stfl-%{version}"
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
make %{?_smp_mflags} \
%make_build \
CC="gcc" \
OPTFLAGS="%{optflags}"\
FOUND_SPL=0 \
@ -79,14 +78,14 @@ make %{?_smp_mflags} \
libdir="%{_lib}" \
prefix="%{_prefix}"
[ -e "%{buildroot}%{_libdir}/libstfl.so.%{sover}" ] || {
if ! [ -e "%{buildroot}/%{_libdir}/libstfl.so.%{sover}" ]; then
pushd "%{buildroot}%{_libdir}/"
ln -s libstfl.so.*.* libstfl.so.%{sover}
popd
}
fi
rm -fv "%{buildroot}/%{_libdir}"/*.a
%post -n libstfl%{sover} -p /sbin/ldconfig
%postun -n libstfl%{sover} -p /sbin/ldconfig
%ldconfig_scriptlets -n libstfl%{sover}
%files -n libstfl%{sover}
%license COPYING
@ -97,7 +96,6 @@ make %{?_smp_mflags} \
%files -n libstfl-devel
%{_includedir}/stfl.h
%{_libdir}/libstfl.so
%{_libdir}/libstfl.a
%{_libdir}/pkgconfig/stfl.pc
%changelog