Package init

This commit is contained in:
dogsheng 2019-11-19 11:58:14 +08:00
commit 8a60411f0a
2 changed files with 53 additions and 0 deletions

Binary file not shown.

53
xcb-util-image.spec Normal file
View 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