libxcb-keysyms/libxcb-keysyms.spec

81 lines
2.7 KiB
RPMSpec

Name: libxcb-keysyms
Version: 0.3.9
Release: 1mamba
Summary: XCB keysyms support library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://xcb.freedesktop.org
Source: http://xcb.freedesktop.org/dist/xcb-util-keysyms-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libxcb-devel
BuildRequires: libxcb-util-devel
## AUTOBUILDREQ-END
BuildRequires: gperf
BuildRequires: libxcb-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The xcb-util module provides a number of libraries which sit on top of libxcb, the core X protocol library, and some of the extension libraries.
These experimental libraries provide convenience functions and interfaces which make the raw X protocol more usable.
Some of the libraries also provide client-side code which is not strictly part of the X protocol but which have traditionally been provided by Xlib.
These libraries are currently included, roughly ordered by maturity:
* keysyms: Standard X key constants and conversion to/from keycodes.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
The xcb-util module provides a number of libraries which sit on top of libxcb, the core X protocol library, and some of the extension libraries.
These experimental libraries provide convenience functions and interfaces which make the raw X protocol more usable.
Some of the libraries also provide client-side code which is not strictly part of the X protocol but which have traditionally been provided by Xlib.
These libraries are currently included, roughly ordered by maturity:
* keysyms: Standard X key constants and conversion to/from keycodes.
This package contains static libraries and header files need for development.
%prep
%setup -q -n xcb-util-keysyms-%{version}
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libxcb-keysyms.so.*
%doc README
%files devel
%defattr(-,root,root)
%{_includedir}/xcb
%{_libdir}/libxcb-keysyms.a
%{_libdir}/libxcb-keysyms.la
%{_libdir}/libxcb-keysyms.so
%{_libdir}/pkgconfig/xcb-keysyms.pc
%changelog
* Sat Jul 21 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.9-1mamba
- update to 0.3.9
* Thu Apr 28 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.8-1mamba
- package created
Patch0: %{name}-2.3.3.4-fix_pkgconfig_clucene_shared.patch