80 lines
2.1 KiB
RPMSpec
80 lines
2.1 KiB
RPMSpec
Name: xcb-util-renderutil
|
|
%define lname libxcb-render-util0
|
|
Version: 0.3.10
|
|
Release: 0
|
|
Summary: XCB utility module for the Render extension
|
|
License: MIT
|
|
Group: Development/Libraries/C and C++
|
|
URL: http://xcb.freedesktop.org/
|
|
Source: %name-%version.tar.xz
|
|
Source1: baselibs.conf
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
#git#BuildRequires: autoconf >= 2.59c, automake, libtool
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(xcb) >= 1.4
|
|
BuildRequires: pkgconfig(xcb-proto) >= 1.6
|
|
BuildRequires: pkgconfig(xcb-render)
|
|
BuildRequires: pkgconfig(xorg-macros) >= 1.6.0
|
|
|
|
%description
|
|
The XCB util modules provide a number of libraries which sit on top
|
|
of libxcb, the core X protocol library, and some of the extension
|
|
libraries.
|
|
|
|
Included in this package is:
|
|
|
|
- renderutil: Convenience functions for the Render extension.
|
|
|
|
%package -n %lname
|
|
Summary: XCB utility module for the Render extension
|
|
Group: System/Libraries
|
|
|
|
%description -n %lname
|
|
The XCB util modules provide a number of libraries which sit on top
|
|
of libxcb, the core X protocol library, and some of the extension
|
|
libraries.
|
|
|
|
Included in this package is:
|
|
|
|
- renderutil: Convenience functions for the Render extension.
|
|
|
|
%package devel
|
|
Summary: Development files for the XCB Render utility module
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %lname = %version
|
|
|
|
%description devel
|
|
The XCB util modules provide a number of libraries which sit on top
|
|
of libxcb, the core X protocol library, and some of the extension
|
|
libraries.
|
|
|
|
This package contains the development headers for the library found
|
|
in %lname.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --disable-static
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make install DESTDIR="%buildroot"
|
|
rm -f "%buildroot/%_libdir"/*.la
|
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
%files -n %lname
|
|
%defattr(-,root,root)
|
|
%_libdir/libxcb-render-util.so.0*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%_includedir/xcb
|
|
%_libdir/libxcb-render-util.so
|
|
%_libdir/pkgconfig/xcb-renderutil.pc
|
|
|
|
%changelog
|