| 1 | Name: xcb-util-cursor |
|---|
| 2 | Version: 0.1.1 |
|---|
| 3 | Release: 2%{?_dist_release} |
|---|
| 4 | Summary: XCB util-cursor module |
|---|
| 5 | |
|---|
| 6 | Group: System Environment/Libraries |
|---|
| 7 | License: MIT |
|---|
| 8 | URL: http://xcb.freedesktop.org |
|---|
| 9 | Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2 |
|---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|---|
| 11 | |
|---|
| 12 | BuildRequires: xcb-util-devel |
|---|
| 13 | BuildRequires: xcb-util-image-devel |
|---|
| 14 | BuildRequires: xcb-util-renderutil-devel |
|---|
| 15 | |
|---|
| 16 | Vendor: Project Vine |
|---|
| 17 | Distribution: Vine Linux |
|---|
| 18 | Packager: Takemikaduchi |
|---|
| 19 | |
|---|
| 20 | %description |
|---|
| 21 | XCB util-cursor module provides the following library: |
|---|
| 22 | |
|---|
| 23 | - cursor: Port of libxcursor |
|---|
| 24 | |
|---|
| 25 | %package devel |
|---|
| 26 | Summary: Development and header files for %{name} |
|---|
| 27 | Summary(ja): %{name} の開発用ファイル |
|---|
| 28 | Group: Development/Libraries |
|---|
| 29 | Requires: %{name} = %{version}-%{release} |
|---|
| 30 | Requires: pkgconfig |
|---|
| 31 | |
|---|
| 32 | %description devel |
|---|
| 33 | Development files for %{name}. |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | %prep |
|---|
| 37 | %setup -q |
|---|
| 38 | |
|---|
| 39 | %build |
|---|
| 40 | %configure --with-pic --disable-static |
|---|
| 41 | |
|---|
| 42 | make %{?_smp_mflags} |
|---|
| 43 | |
|---|
| 44 | |
|---|
| 45 | %check |
|---|
| 46 | make check |
|---|
| 47 | |
|---|
| 48 | |
|---|
| 49 | %install |
|---|
| 50 | rm -rf %{buildroot} |
|---|
| 51 | |
|---|
| 52 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" |
|---|
| 53 | |
|---|
| 54 | rm %{buildroot}%{_libdir}/*.la |
|---|
| 55 | |
|---|
| 56 | |
|---|
| 57 | %post -p /sbin/ldconfig |
|---|
| 58 | |
|---|
| 59 | %postun -p /sbin/ldconfig |
|---|
| 60 | |
|---|
| 61 | |
|---|
| 62 | %clean |
|---|
| 63 | rm -rf %{buildroot} |
|---|
| 64 | |
|---|
| 65 | |
|---|
| 66 | %files |
|---|
| 67 | %defattr(-,root,root,-) |
|---|
| 68 | %doc README |
|---|
| 69 | %{_libdir}/libxcb-cursor.so.* |
|---|
| 70 | |
|---|
| 71 | %files devel |
|---|
| 72 | %defattr(-,root,root,-) |
|---|
| 73 | %{_libdir}/pkgconfig/xcb-cursor.pc |
|---|
| 74 | %{_libdir}/libxcb-cursor.so |
|---|
| 75 | %{_includedir}/xcb/*.h |
|---|
| 76 | |
|---|
| 77 | |
|---|
| 78 | %changelog |
|---|
| 79 | * Fri Oct 31 2014 Ryoichi INAAGKI <ryo1@toki.waseda.jp> 0.1.1-2 |
|---|
| 80 | - moved devel package to Development/Libraries Group |
|---|
| 81 | |
|---|
| 82 | * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.1-1 |
|---|
| 83 | - initial build |
|---|