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