diff --git a/libXv.spec b/libXv.spec index d919073..c32f4ce 100644 --- a/libXv.spec +++ b/libXv.spec @@ -1,6 +1,8 @@ +%bcond_without static + Name: libXv Version: 1.0.11 -Release: 11 +Release: 12 Summary: library for the X Video extension to the X Window System License: MIT URL: https://www.x.org @@ -27,7 +29,10 @@ The development package for libXv. %build autoreconf -v --install --force -%configure +%configure \ +%if %{with static} + --disable-static +%endif %make_build %install @@ -45,7 +50,9 @@ autoreconf -v --install --force %files devel %defattr(-,root,root) %{_libdir}/libXv.so +%if %{without static} %{_libdir}/libXv.a +%endif %{_libdir}/pkgconfig/xv.pc %{_includedir}/X11/extensions/Xvlib.h @@ -55,6 +62,9 @@ autoreconf -v --install --force %doc man/xv-library-v2.2.txt %changelog +* Sat Oct 22 2022 wangkerong - 1.0.11-12 +- disable static library by default + * Sat Oct 19 2019 openEuler Buildteam - 1.0.11-11 - Type:bugfix - Id:NA