restore static library build and subpackage [release 2.68.4-2mamba;Sat Sep 04 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 23:06:56 +01:00
parent f78d96471f
commit 0ef20f7599

View File

@ -6,7 +6,7 @@
%define majver %(echo %version | cut -d. -f 1-2)
Name: glib
Version: 2.68.4
Release: 1mamba
Release: 2mamba
Epoch: 2
Summary: A handy library of utility functions
Group: System/Libraries
@ -14,7 +14,6 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.gnome.org
# bugfixes: http://ftp.acc.umu.se/pub/GNOME/sources/%{pkgname}
Source0: https://download.gnome.org/sources/glib/%{majver}/glib-%{version}.tar.xz
Source1: glib.sh
Source2: glib.csh
@ -151,12 +150,11 @@ rm -rf subprojects
-Dsysprof=enabled \
-Dglib_debug=disabled \
-Dgtk_doc=true \
--default-library=both \
%if "%{with_systemtap}" == "1"
-Dsystemtap=true
%endif
# --default-library=both \
%meson_build
%install
@ -258,9 +256,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_libdir}/pkgconfig/*
%{_mandir}/man1/*
#%files -n libglib-static
#%defattr(-,root,root)
#%{_libdir}/libg*.a
%files -n libglib-static
%defattr(-,root,root)
%{_libdir}/libg*.a
%files -n python-glib
%defattr(-,root,root)
@ -281,6 +279,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/gtk-doc/html/gobject/*
%changelog
* Sat Sep 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.68.4-2mamba
- restore static library build and subpackage
* Sat Aug 21 2021 Automatic Build System <autodist@mambasoft.it> 2.68.4-1mamba
- automatic version update by autodist