disable static library by default
Signed-off-by: kerongw <wangkerong@h-partners.com> (cherry picked from commit b27980dffbbdaa21b07f4eb6c60d42e591103caa)
This commit is contained in:
parent
8b1164a4ab
commit
6d6eb12da6
@ -1,6 +1,8 @@
|
|||||||
|
%bcond_without static
|
||||||
|
|
||||||
Name: libXfixes
|
Name: libXfixes
|
||||||
Version: 6.0.0
|
Version: 6.0.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: X11 miscellaneous "fixes" extension library
|
Summary: X11 miscellaneous "fixes" extension library
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://xorg.freedesktop.org/
|
URL: https://xorg.freedesktop.org/
|
||||||
@ -27,7 +29,10 @@ developing applications that use %{name}.
|
|||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure \
|
||||||
|
%if %{with static}
|
||||||
|
--disable-static
|
||||||
|
%endif
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -46,7 +51,9 @@ developing applications that use %{name}.
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/X11/extensions/Xfixes.h
|
%{_includedir}/X11/extensions/Xfixes.h
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
%if %{without static}
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
|
%endif
|
||||||
%{_libdir}/libXfixes.so
|
%{_libdir}/libXfixes.so
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
@ -54,6 +61,9 @@ developing applications that use %{name}.
|
|||||||
%{_mandir}/man3/Xfixes.3.gz
|
%{_mandir}/man3/Xfixes.3.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 22 2022 wangkerong <wangkerong@h-partners.com> - 6.0.0-2
|
||||||
|
- disable static library by default
|
||||||
|
|
||||||
* Wed Dec 1 2021 dongyuzhen <dongyuzhen@huawei.com> - 6.0.0-1
|
* Wed Dec 1 2021 dongyuzhen <dongyuzhen@huawei.com> - 6.0.0-1
|
||||||
- update to 6.0.0
|
- update to 6.0.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user