From 86050378fab68a50c88ddfd15c23f4b11b56e39e Mon Sep 17 00:00:00 2001 From: Thomas Moschny Date: Tue, 27 Mar 2012 17:20:28 +0200 Subject: [PATCH] Initial import. --- .gitignore | 1 + sources | 1 + xcb-util-keysyms.spec | 69 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 xcb-util-keysyms.spec diff --git a/.gitignore b/.gitignore index e69de29..7bfe8a9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/xcb-util-keysyms-0.3.8.tar.bz2 diff --git a/sources b/sources index e69de29..aec190c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c75bb20e709093580a67eaf263251b50 xcb-util-keysyms-0.3.8.tar.bz2 diff --git a/xcb-util-keysyms.spec b/xcb-util-keysyms.spec new file mode 100644 index 0000000..e4177a8 --- /dev/null +++ b/xcb-util-keysyms.spec @@ -0,0 +1,69 @@ +Name: xcb-util-keysyms +Version: 0.3.8 +Release: 2%{?dist} +Summary: Standard X key constants and keycodes conversion on top of libxcb +Group: System Environment/Libraries +License: MIT +URL: http://xcb.freedesktop.org +Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2 +BuildRequires: pkgconfig(xcb-util) >= 0.3.8 +BuildRequires: m4 + +%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 xcb-util-keysyms +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Development files for xcb-util-keysyms. + + +%prep +%setup -q + + +%build +%configure --with-pic --disable-static +make %{?_smp_mflags} + + +%check +make check + + +%install +make install DESTDIR=%{buildroot} INSTALL="install -p" +rm %{buildroot}%{_libdir}/*.la + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%files +%doc README +%{_libdir}/*.so.* + + +%files devel +%doc NEWS +%{_libdir}/pkgconfig/*.pc +%{_libdir}/*.so +%{_includedir}/xcb/*.h + + +%changelog +* Tue Mar 13 2012 Thomas Moschny - 0.3.8-2 +- Specfile cleanups suggested in the review. + +* Mon Dec 5 2011 Thomas Moschny - 0.3.8-1 +- New package. +