libXfixes/libXfixes.spec

88 lines
1.9 KiB
RPMSpec
Raw Normal View History

%bcond_without static
2019-09-30 10:59:26 -04:00
Name: libXfixes
2023-07-20 09:03:53 +00:00
Version: 6.0.1
Release: 1
2019-09-30 10:59:26 -04:00
Summary: X11 miscellaneous "fixes" extension library
License: MIT
URL: https://xorg.freedesktop.org/
2023-07-20 09:03:53 +00:00
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.gz
2019-09-30 10:59:26 -04:00
BuildRequires: automake libtool xorg-x11-proto-devel libXext-devel
Requires: libX11
%description
The X Fixes extension provides applications with work-arounds for
various limitations in the core protocol.
%package devel
Summary: Development files and Header files for %{name}
Requires: %{name} = %{version}-%{release} pkgconfig
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure \
%if %{with static}
--disable-static
%endif
2019-09-30 10:59:26 -04:00
%make_build
%install
%make_install
%delete_la
%ldconfig_scriptlets
%files
%defattr(-,root,root)
2019-11-06 19:36:02 +08:00
%doc AUTHORS
%license COPYING
2019-09-30 10:59:26 -04:00
%{_libdir}/libXfixes.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/X11/extensions/Xfixes.h
%{_libdir}/pkgconfig/*.pc
%if %{without static}
2019-09-30 10:59:26 -04:00
%{_libdir}/*.a
%endif
2019-09-30 10:59:26 -04:00
%{_libdir}/libXfixes.so
%files help
2021-12-01 14:37:05 +08:00
%doc README.md
2019-09-30 10:59:26 -04:00
%{_mandir}/man3/Xfixes.3.gz
%changelog
2023-07-20 09:03:53 +00:00
* Thu Jul 20 2023 zhangpan <zhangpan103@h-partners.com> - 6.0.1-1
- update to 6.0.1
* Sat Oct 22 2022 wangkerong <wangkerong@h-partners.com> - 6.0.0-2
- disable static library by default
2021-12-01 14:37:05 +08:00
* Wed Dec 1 2021 dongyuzhen <dongyuzhen@huawei.com> - 6.0.0-1
- update to 6.0.0
2019-11-06 19:36:02 +08:00
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.0.3-11
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:change the directory of the license files
2019-09-30 10:59:26 -04:00
* Mon Sep 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.0.3-10
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: rebuilt spec
* Wed Aug 21 2019 openEuler Buildteam<buildteam@openeuler.org> - 5.0.3-9
- Package init