1 | %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")} |
---|
2 | |
---|
3 | Summary: XCB protocol descriptions |
---|
4 | Name: xcb-proto |
---|
5 | Version: 1.10 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | |
---|
8 | Group: Development/Libraries |
---|
9 | License: MIT |
---|
10 | URL: http://xcb.freedesktop.org/ |
---|
11 | Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2 |
---|
12 | BuildArch: noarch |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
15 | BuildRequires: python |
---|
16 | Requires: pkgconfig |
---|
17 | |
---|
18 | Vendor: Project Vine |
---|
19 | Distribution: Vine Linux |
---|
20 | Packager: Takemikaduchi |
---|
21 | |
---|
22 | %description |
---|
23 | XCB is a project to enable efficient language bindings to the X11 protocol. |
---|
24 | This package contains the protocol descriptions themselves. Language |
---|
25 | bindings use these protocol descriptions to generate code for marshalling |
---|
26 | the protocol. |
---|
27 | |
---|
28 | %prep |
---|
29 | %setup -q |
---|
30 | |
---|
31 | %build |
---|
32 | # Bit of a hack to get the pc file in /usr/share, no we can be noarch. |
---|
33 | %configure --libdir=%{_datadir} |
---|
34 | make %{?_smp_mflags} |
---|
35 | |
---|
36 | %install |
---|
37 | rm -rf $RPM_BUILD_ROOT |
---|
38 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
39 | |
---|
40 | %clean |
---|
41 | rm -rf $RPM_BUILD_ROOT |
---|
42 | |
---|
43 | %files |
---|
44 | %defattr(-,root,root,-) |
---|
45 | %doc COPYING NEWS README TODO doc/xml-xcb.txt |
---|
46 | %{_datadir}/pkgconfig/xcb-proto.pc |
---|
47 | %dir %{_datadir}/xcb/ |
---|
48 | %{_datadir}/xcb/*.xsd |
---|
49 | %{_datadir}/xcb/*.xml |
---|
50 | %{python_sitelib}/xcbgen |
---|
51 | |
---|
52 | %changelog |
---|
53 | * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10-1 |
---|
54 | - new upstream release |
---|
55 | |
---|
56 | * Mon Oct 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8-1 |
---|
57 | - new upstream release |
---|
58 | |
---|
59 | * Sat Mar 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.1-1 |
---|
60 | - new upstream release |
---|
61 | |
---|
62 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7-2 |
---|
63 | - rebuild with python-2.7.2 |
---|
64 | |
---|
65 | * Sun Jan 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7-1 |
---|
66 | - new upstream release |
---|
67 | |
---|
68 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6-2 |
---|
69 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
70 | |
---|
71 | * Mon Mar 08 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6-1 |
---|
72 | - new upstream release |
---|
73 | |
---|
74 | * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.5-2 |
---|
75 | - rebuilt with python-2.6.4 |
---|
76 | |
---|
77 | * Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5-1 |
---|
78 | - new upstream release |
---|
79 | |
---|
80 | * Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-1 |
---|
81 | - new upstream release |
---|
82 | - add BR: python |
---|
83 | |
---|
84 | * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1 |
---|
85 | - new versioning policy |
---|
86 | |
---|
87 | * Sun Jan 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-0vl1 |
---|
88 | - initial build for Vine Linux |
---|
89 | |
---|
90 | * Mon Nov 12 2007 Adam Jackson <ajax@redhat.com> 1.1-1 |
---|
91 | - xcb-proto 1.1 |
---|
92 | |
---|
93 | * Fri Jun 29 2007 Adam Jackson <ajax@redhat.com> 1.0-1 |
---|
94 | - Initial revision. |
---|