!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
11a20e942d
14
libXv.spec
14
libXv.spec
@ -1,6 +1,8 @@
|
|||||||
|
%bcond_without static
|
||||||
|
|
||||||
Name: libXv
|
Name: libXv
|
||||||
Version: 1.0.11
|
Version: 1.0.11
|
||||||
Release: 11
|
Release: 12
|
||||||
Summary: library for the X Video extension to the X Window System
|
Summary: library for the X Video extension to the X Window System
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://www.x.org
|
URL: https://www.x.org
|
||||||
@ -27,7 +29,10 @@ The development package for libXv.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -v --install --force
|
autoreconf -v --install --force
|
||||||
%configure
|
%configure \
|
||||||
|
%if %{with static}
|
||||||
|
--disable-static
|
||||||
|
%endif
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -45,7 +50,9 @@ autoreconf -v --install --force
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libXv.so
|
%{_libdir}/libXv.so
|
||||||
|
%if %{without static}
|
||||||
%{_libdir}/libXv.a
|
%{_libdir}/libXv.a
|
||||||
|
%endif
|
||||||
%{_libdir}/pkgconfig/xv.pc
|
%{_libdir}/pkgconfig/xv.pc
|
||||||
%{_includedir}/X11/extensions/Xvlib.h
|
%{_includedir}/X11/extensions/Xvlib.h
|
||||||
|
|
||||||
@ -55,6 +62,9 @@ autoreconf -v --install --force
|
|||||||
%doc man/xv-library-v2.2.txt
|
%doc man/xv-library-v2.2.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 22 2022 wangkerong <wangkerong@h-partners.com> - 1.0.11-12
|
||||||
|
- disable static library by default
|
||||||
|
|
||||||
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.11-11
|
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.11-11
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user