Package init
This commit is contained in:
commit
ee44f98964
BIN
xcb-util-0.4.0.tar.bz2
Normal file
BIN
xcb-util-0.4.0.tar.bz2
Normal file
Binary file not shown.
65
xcb-util.spec
Normal file
65
xcb-util.spec
Normal file
@ -0,0 +1,65 @@
|
||||
Name: xcb-util
|
||||
Version: 0.4.0
|
||||
Release: 13
|
||||
Summary: XCB utility modules
|
||||
|
||||
License: MIT
|
||||
URL: https://xcb.freedesktop.org/
|
||||
Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: gcc libxcb-devel
|
||||
Requires: libxcb glibc
|
||||
|
||||
%description
|
||||
The X protocol C-language Binding (XCB) is a replacement for Xlib
|
||||
featuring a small footprint, latency hiding, direct access to the
|
||||
protocol, improved threading support, and extensibility.
|
||||
|
||||
%package devel
|
||||
Summary: Header files for xcb-util
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Header package for xcb-util
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
%configure --with-pic --disable-silent-rules
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%delete_la_and_a
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%license COPYING
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_includedir}/xcb/*.h
|
||||
%{_libdir}/*.so
|
||||
|
||||
%files help
|
||||
%doc NEWS README
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Sep 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.4.0-13
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:add requires
|
||||
|
||||
* Wed Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 0.4.0-12
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user