Name:		xcb-util-keysyms
Version:	0.4.0
Release:	1%{?_dist_release}
Summary:	XCB util-keysyms module

Group:		System Environment/Libraries
License:	MIT
URL:		http://xcb.freedesktop.org
Source0:	http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires:	xcb-util-devel

Vendor:		Project Vine
Distribution:	Vine Linux
Packager:	Takemikaduchi

%description
XCB util-keysyms module provides the following library:

  - keysyms: Standard X key constants and conversion to/from keycodes.


%package 	devel
Summary:	Development and header files for %{name}
Summary(ja):	%{name} の開発用ファイル
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	pkgconfig

%description	devel
Development files for %{name}.


%prep
%setup -q

%build
%configure --with-pic --disable-static

make %{?_smp_mflags}


%check
make check


%install
rm -rf %{buildroot}

make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"

rm %{buildroot}%{_libdir}/*.la


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc NEWS README
%{_libdir}/libxcb-keysyms.so.*

%files devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/xcb-keysyms.pc
%{_libdir}/libxcb-keysyms.so
%{_includedir}/xcb/xcb_keysyms.h


%changelog
* Fri Oct 31 2014 Ryoichi INAAGKI <ryo1@toki.waseda.jp> 0.4.0-1
- new upstream release
- moved devel package to Development/Libraries Group

* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.9-2
- rebuild with VineSeed environment

* Sun Jun 16 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.9-1
- initial build
