disable static library by default
Signed-off-by: kerongw <wangkerong@h-partners.com> (cherry picked from commit 76d39eff7a501ca248bbaf90dc82c9794365c413)
This commit is contained in:
parent
629b3f3cea
commit
0507ae604b
14
libXv.spec
14
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 <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
|
||||
- Type:bugfix
|
||||
- Id:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user