update to 2.60.4 [release 2.60.4-1mamba;Sat Jul 06 2019]
This commit is contained in:
parent
c19f0874bb
commit
f4f84e38f4
85
glib.spec
85
glib.spec
@ -5,7 +5,7 @@
|
|||||||
%endif
|
%endif
|
||||||
%define majver %(echo %version | cut -d. -f 1-2)
|
%define majver %(echo %version | cut -d. -f 1-2)
|
||||||
Name: glib
|
Name: glib
|
||||||
Version: 2.56.1
|
Version: 2.60.4
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Summary: A handy library of utility functions
|
Summary: A handy library of utility functions
|
||||||
@ -25,14 +25,14 @@ BuildRequires: glibc-devel
|
|||||||
%if "%{stage1}" != "1"
|
%if "%{stage1}" != "1"
|
||||||
BuildRequires: libelf-devel
|
BuildRequires: libelf-devel
|
||||||
BuildRequires: libffi-devel
|
BuildRequires: libffi-devel
|
||||||
BuildRequires: libgamin-devel
|
BuildRequires: libmount-devel
|
||||||
|
BuildRequires: libpcre-devel
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
%endif
|
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
%if "%{stage1}" != "1"
|
%if "%{stage1}" != "1"
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
%endif
|
%endif
|
||||||
## AUTOBUILDREQ-END
|
|
||||||
%if "%{stage1}" != "1"
|
%if "%{stage1}" != "1"
|
||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
%endif
|
%endif
|
||||||
@ -149,41 +149,38 @@ This package contains libraries and header files needed for development.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
#-D -T
|
||||||
|
#:<< _EOF
|
||||||
|
#%patch0 -p1
|
||||||
#autoconf
|
#autoconf
|
||||||
|
sed -i "s|python3|python3.6|" meson.build
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if "%{_build}" != "%{_host}"
|
#:<< _EOF
|
||||||
cat > config.cache << _EOF
|
%meson \
|
||||||
glib_cv_stack_grows=no
|
-Dman=true \
|
||||||
glib_cv_uscore=no
|
-Dgtk_doc=true
|
||||||
ac_cv_func_posix_getgrgid_r=yes
|
|
||||||
ac_cv_func_posix_getpwuid_r=yes
|
|
||||||
_EOF
|
|
||||||
%endif
|
|
||||||
|
|
||||||
./autogen.sh
|
%meson_build
|
||||||
|
|
||||||
%configure \
|
#% configure \
|
||||||
%if "%{with_systemtap}" == "1"
|
#%if "%{with_systemtap}" == "1"
|
||||||
--enable-systemtap \
|
# --enable-systemtap \
|
||||||
%else
|
#%else
|
||||||
--disable-systemtap \
|
# --disable-systemtap \
|
||||||
--disable-dtrace \
|
# --disable-dtrace \
|
||||||
%endif
|
#%endif
|
||||||
--enable-static \
|
# --enable-static \
|
||||||
%if "%{stage1}" == "1"
|
#%if "%{stage1}" == "1"
|
||||||
%{LIBFFI_CFLAGS} \
|
# %{LIBFFI_CFLAGS} \
|
||||||
%endif
|
#%endif
|
||||||
%if "%{_build}" != "%{_host}"
|
#%if "%{_build}" != "%{_host}"
|
||||||
--cache-file=config.cache
|
# --cache-file=config.cache
|
||||||
%endif
|
#%endif
|
||||||
|
|
||||||
%make
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%meson_install
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
|
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
|
||||||
install -pm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d
|
install -pm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d
|
||||||
@ -237,10 +234,10 @@ _EOF
|
|||||||
%{_libdir}/libgobject-2.0.so.*
|
%{_libdir}/libgobject-2.0.so.*
|
||||||
%{_libdir}/libgthread-2.0.so.*
|
%{_libdir}/libgthread-2.0.so.*
|
||||||
%{_libdir}/libgio-2.0.so.*
|
%{_libdir}/libgio-2.0.so.*
|
||||||
%if "%{stage1}" != "1"
|
#%if "%{stage1}" != "1"
|
||||||
%{_libdir}/gio/modules/libgiofam.la
|
#%{_libdir}/gio/modules/libgiofam.la
|
||||||
%{_libdir}/gio/modules/libgiofam.so
|
#%{_libdir}/gio/modules/libgiofam.so
|
||||||
%endif
|
#%endif
|
||||||
%{_bindir}/glib-compile-schemas
|
%{_bindir}/glib-compile-schemas
|
||||||
%dir %{_datadir}/glib-2.0
|
%dir %{_datadir}/glib-2.0
|
||||||
%dir %{_datadir}/glib-2.0/schemas
|
%dir %{_datadir}/glib-2.0/schemas
|
||||||
@ -250,6 +247,7 @@ _EOF
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/gapplication
|
%{_bindir}/gapplication
|
||||||
%{_bindir}/gio
|
%{_bindir}/gio
|
||||||
|
%{_bindir}/gio-launch-desktop
|
||||||
%{_bindir}/glib-compile-resources
|
%{_bindir}/glib-compile-resources
|
||||||
%{_bindir}/gresource
|
%{_bindir}/gresource
|
||||||
%{_bindir}/gtester
|
%{_bindir}/gtester
|
||||||
@ -262,11 +260,6 @@ _EOF
|
|||||||
%{_includedir}/%{name}-?.?/*
|
%{_includedir}/%{name}-?.?/*
|
||||||
%{_includedir}/gio-unix-?.?/*gio/*.h
|
%{_includedir}/gio-unix-?.?/*gio/*.h
|
||||||
%{_libdir}/%{name}-?.?/include/%{name}config.h
|
%{_libdir}/%{name}-?.?/include/%{name}config.h
|
||||||
%{_libdir}/libglib-2.0.la
|
|
||||||
%{_libdir}/libgmodule-2.0.la
|
|
||||||
%{_libdir}/libgobject-2.0.la
|
|
||||||
%{_libdir}/libgthread-2.0.la
|
|
||||||
%{_libdir}/libgio-2.0.la
|
|
||||||
%{_libdir}/libglib-2.0.so
|
%{_libdir}/libglib-2.0.so
|
||||||
%{_libdir}/libgmodule-2.0.so
|
%{_libdir}/libgmodule-2.0.so
|
||||||
%{_libdir}/libgobject-2.0.so
|
%{_libdir}/libgobject-2.0.so
|
||||||
@ -274,6 +267,7 @@ _EOF
|
|||||||
%{_libdir}/libgio-2.0.so
|
%{_libdir}/libgio-2.0.so
|
||||||
%{_datadir}/bash-completion/completions/gapplication
|
%{_datadir}/bash-completion/completions/gapplication
|
||||||
%{_datadir}/bash-completion/completions/gresource
|
%{_datadir}/bash-completion/completions/gresource
|
||||||
|
%{_datadir}/bash-completion/completions/gio
|
||||||
%{_datadir}/gettext/its/gschema.*
|
%{_datadir}/gettext/its/gschema.*
|
||||||
%{_datadir}/aclocal/glib-?.?.m4
|
%{_datadir}/aclocal/glib-?.?.m4
|
||||||
%if "%{with_systemtap}" == "1"
|
%if "%{with_systemtap}" == "1"
|
||||||
@ -283,9 +277,9 @@ _EOF
|
|||||||
%{_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)
|
||||||
@ -340,6 +334,9 @@ _EOF
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.60.4-1mamba
|
||||||
|
- update to 2.60.4
|
||||||
|
|
||||||
* Sat Aug 11 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.56.1-1mamba
|
* Sat Aug 11 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.56.1-1mamba
|
||||||
- update to 2.56.1
|
- update to 2.56.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user