Package init
This commit is contained in:
commit
8a60411f0a
BIN
xcb-util-image-0.4.0.tar.bz2
Normal file
BIN
xcb-util-image-0.4.0.tar.bz2
Normal file
Binary file not shown.
53
xcb-util-image.spec
Normal file
53
xcb-util-image.spec
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
Name: xcb-util-image
|
||||||
|
Version: 0.4.0
|
||||||
|
Release: 12
|
||||||
|
Summary: Port of Xlib's XImage and XShmImage functions
|
||||||
|
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
|
||||||
|
|
||||||
|
%description
|
||||||
|
XCB util-image module provides the following library:Port of Xlib's XImage
|
||||||
|
and XShmImage functions.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development and header files for %{name}
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development and header files for xcb-util-image.
|
||||||
|
|
||||||
|
%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
|
||||||
|
%license COPYING
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%doc NEWS
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%{_includedir}/xcb/*.h
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Oct 22 2019 Lijin Yang <yanglijin@huawei.com> - 0.4.0-12
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user