xcb-util-keysyms/xcb-util-keysyms.spec
yangbo 3a9101423a Add COPYING file
Signed-off-by: yangbo <yangbo1@xfusion.com>
2023-01-09 09:12:03 +08:00

63 lines
1.3 KiB
RPMSpec

Name: xcb-util-keysyms
Version: 0.4.0
Release: 12
Summary: Standard X key constants and conversion to/from keycodes
License: MIT
URL: http://xcb.freedesktop.org
Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
BuildRequires: gcc pkgconfig(xcb-util) >= 0.3.8 m4
Patch0001: backport-0001-Build-xz-tarballs-instead-of-bzip2.patch
Patch0002: backport-0002-Add-COPYING-file.patch
%description
Utility libraries for XC Binding - Standard X key constants and conversion to/from keycodes.
%package devel
Summary: Development and header files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
Development and header files for %{name}.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --with-pic --disable-static --disable-silent-rules
%make_build
%check
make check
%install
%make_install
%delete_la
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc README
%{_libdir}/*.so.*
%files devel
%doc NEWS
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%{_includedir}/xcb/*.h
%changelog
* Sat Jan 7 2023 yangbo <yangbo1@xfusion.com> - 0.4.0-12
- Add COPYING file
* Sat Jan 7 2023 yangbo <yangbo1@xfusion.com> - 0.4.0-11
- Build xz tarballs instead of bzip2
* Tue Oct 22 2019 Lijin Yang <yanglijin@huawei.com> - 0.4.0-10
- Package init