!3 [sync] PR-2: 【轻量级 PR】:disable static library by default
From: @openeuler-sync-bot Reviewed-by: @t_feng Signed-off-by: @t_feng
This commit is contained in:
commit
e87c55ffd5
@ -1,6 +1,8 @@
|
|||||||
|
%bcond_without static
|
||||||
|
|
||||||
Name: libXinerama
|
Name: libXinerama
|
||||||
Version: 1.1.4
|
Version: 1.1.4
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: Xinerama extension to the X11 Protocol
|
Summary: Xinerama extension to the X11 Protocol
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://xorg.freedesktop.org/
|
URL: https://xorg.freedesktop.org/
|
||||||
@ -30,7 +32,10 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -ivf
|
autoreconf -ivf
|
||||||
%configure
|
%configure \
|
||||||
|
%if %{with static}
|
||||||
|
--disable-static
|
||||||
|
%endif
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -47,7 +52,9 @@ autoreconf -ivf
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/X11/extensions/*.h
|
%{_includedir}/X11/extensions/*.h
|
||||||
%{_libdir}/pkgconfig/xinerama.pc
|
%{_libdir}/pkgconfig/xinerama.pc
|
||||||
|
%if %{without static}
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
|
%endif
|
||||||
%{_libdir}/libXinerama.so
|
%{_libdir}/libXinerama.so
|
||||||
%exclude %{_libdir}/*.la
|
%exclude %{_libdir}/*.la
|
||||||
|
|
||||||
@ -56,6 +63,9 @@ autoreconf -ivf
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 22 2022 wangkerong <wangkerong@h-partners.com> - 1.1.4-6
|
||||||
|
- disable static library by default
|
||||||
|
|
||||||
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.4-5
|
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.4-5
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user