[2352] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
[529] | 3 | Name: xcb-util |
---|
[6274] | 4 | Version: 0.3.9 |
---|
[8064] | 5 | Release: 2%{?_dist_release} |
---|
[529] | 6 | Summary: Convenience libraries sitting on top of libxcb |
---|
| 7 | |
---|
| 8 | Group: System Environment/Libraries |
---|
| 9 | License: MIT |
---|
| 10 | URL: http://xcb.freedesktop.org |
---|
| 11 | Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2 |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 13 | BuildRequires: gperf, pkgconfig, libxcb-devel >= 1.4, m4, xorg-x11-proto-devel |
---|
[4616] | 14 | BuildRequires: xorg-x11-util-macros |
---|
[529] | 15 | BuildRequires: chrpath |
---|
| 16 | |
---|
[4616] | 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
[8064] | 19 | Packager: Takemikaduchi |
---|
[529] | 20 | |
---|
| 21 | %description |
---|
| 22 | The xcb-util module provides a number of libraries which sit on top of |
---|
| 23 | libxcb, the core X protocol library, and some of the extension |
---|
| 24 | libraries. These experimental libraries provide convenience functions |
---|
| 25 | and interfaces which make the raw X protocol more usable. Some of the |
---|
| 26 | libraries also provide client-side code which is not strictly part of |
---|
| 27 | the X protocol but which have traditionally been provided by Xlib. |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | %package devel |
---|
| 31 | Summary: Development and header files for xcb-util |
---|
| 32 | Group: System Environment/Libraries |
---|
| 33 | Requires: %{name} = %{version}-%{release}, pkgconfig |
---|
[2352] | 34 | |
---|
[529] | 35 | %description devel |
---|
| 36 | Development files for xcb-util. |
---|
| 37 | |
---|
| 38 | |
---|
[2352] | 39 | # compat32 |
---|
| 40 | %package -n compat32-%{name} |
---|
| 41 | Summary: Convenience libraries sitting on top of libxcb |
---|
| 42 | Group: System Environment/Libraries |
---|
| 43 | Requires: %{name} = %{version}-%{release} |
---|
| 44 | |
---|
| 45 | %description -n compat32-%{name} |
---|
| 46 | The xcb-util module provides a number of libraries which sit on top of |
---|
| 47 | libxcb, the core X protocol library, and some of the extension |
---|
| 48 | libraries. These experimental libraries provide convenience functions |
---|
| 49 | and interfaces which make the raw X protocol more usable. Some of the |
---|
| 50 | libraries also provide client-side code which is not strictly part of |
---|
| 51 | the X protocol but which have traditionally been provided by Xlib. |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %package -n compat32-%{name}-devel |
---|
| 55 | Summary: Development and header files for xcb-util |
---|
| 56 | Group: System Environment/Libraries |
---|
| 57 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 58 | |
---|
| 59 | %description -n compat32-%{name}-devel |
---|
| 60 | Development files for xcb-util. |
---|
| 61 | |
---|
| 62 | |
---|
[529] | 63 | %prep |
---|
| 64 | %setup -q |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %build |
---|
| 68 | %configure --with-pic --disable-static |
---|
| 69 | |
---|
| 70 | make %{?_smp_mflags} |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %check |
---|
| 74 | |
---|
| 75 | make check |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | %install |
---|
| 79 | rm -rf %{buildroot} |
---|
| 80 | |
---|
| 81 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" |
---|
| 82 | |
---|
| 83 | # remove RPATH |
---|
| 84 | chrpath --delete $RPM_BUILD_ROOT%{_prefix}/%{_lib}/libxcb-*.so.* |
---|
| 85 | |
---|
| 86 | rm %{buildroot}%{_libdir}/*.la |
---|
| 87 | |
---|
| 88 | |
---|
| 89 | %post -p /sbin/ldconfig |
---|
| 90 | |
---|
| 91 | |
---|
| 92 | %postun -p /sbin/ldconfig |
---|
| 93 | |
---|
| 94 | |
---|
[2352] | 95 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 96 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 97 | |
---|
| 98 | |
---|
[529] | 99 | %clean |
---|
| 100 | rm -rf %{buildroot} |
---|
| 101 | |
---|
| 102 | |
---|
| 103 | %files |
---|
| 104 | %defattr(-,root,root,-) |
---|
| 105 | %doc README |
---|
[4616] | 106 | %{_libdir}/libxcb-util.so.* |
---|
[529] | 107 | |
---|
| 108 | %files devel |
---|
| 109 | %defattr(-,root,root,-) |
---|
| 110 | %{_libdir}/pkgconfig/*.pc |
---|
[4616] | 111 | %{_libdir}/libxcb-util.so |
---|
[529] | 112 | %{_includedir}/xcb/*.h |
---|
| 113 | |
---|
[2352] | 114 | # compat32 |
---|
| 115 | %if %{build_compat32} |
---|
| 116 | %files -n compat32-%{name} |
---|
| 117 | %defattr(-,root,root,-) |
---|
[4616] | 118 | %{_libdir}/libxcb-util.so.* |
---|
[529] | 119 | |
---|
[2352] | 120 | %files -n compat32-%{name}-devel |
---|
| 121 | %defattr(-,root,root,-) |
---|
[4616] | 122 | %{_libdir}/libxcb-util.so |
---|
[2352] | 123 | %endif |
---|
| 124 | |
---|
| 125 | |
---|
[529] | 126 | %changelog |
---|
[8064] | 127 | * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.9-2 |
---|
| 128 | - rebuild with VineSeed environment |
---|
| 129 | |
---|
[6274] | 130 | * Wed Jun 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.9-1 |
---|
| 131 | - new upstream release |
---|
| 132 | |
---|
[4616] | 133 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.8-1 |
---|
| 134 | - new upstream release |
---|
| 135 | - add BuildRequires: xorg-x11-util-macros |
---|
[2352] | 136 | |
---|
[1901] | 137 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.6-2 |
---|
| 138 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 139 | |
---|
[529] | 140 | * Mon Mar 08 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.6-1 |
---|
| 141 | - initial build for Vine Linux |
---|
| 142 | |
---|
| 143 | * Fri Aug 28 2009 Michal Nowak <mnowak@redhat.com> - 0.3.6-1 |
---|
| 144 | - 0.3.6 |
---|
| 145 | |
---|
| 146 | * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-2 |
---|
| 147 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 148 | |
---|
| 149 | * Mon Jul 13 2009 Adam Jackson <ajax@redhat.com> 0.3.5-1 |
---|
| 150 | - xcb-util 0.3.5 |
---|
| 151 | |
---|
| 152 | * Mon Jul 06 2009 Adam Jackson <ajax@redhat.com> 0.3.4-2 |
---|
| 153 | - Explicitly list DSOs so we're notified of version changes. |
---|
| 154 | |
---|
| 155 | * Sat Jun 13 2009 Michal Nowak <mnowak@redhat.com> - 0.3.4-1 |
---|
| 156 | - 0.3.4; needed for Awesome 3.3 |
---|
| 157 | |
---|
| 158 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.3-2 |
---|
| 159 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 160 | |
---|
| 161 | * Fri Feb 20 2009 Michal Nowak <mnowak@redhat.com> - 0.3.3-1 |
---|
| 162 | - 0.3.3 |
---|
| 163 | - removed patches already in git (and 0.3.3) |
---|
| 164 | |
---|
| 165 | * Fri Dec 19 2008 Michal Nowak <mnowak@redhat.com> - 0.3.2-2 |
---|
| 166 | - hack the sed lines after %%configure out and hack chrpath in |
---|
| 167 | - make check is running again |
---|
| 168 | |
---|
| 169 | * Thu Dec 18 2008 Michal Nowak <mnowak@redhat.com> - 0.3.2-1 |
---|
| 170 | - 0.3.2 |
---|
| 171 | - remove rpath (x86-64) |
---|
| 172 | - xcb_keysyms: remove xcb_lookup_t |
---|
| 173 | - Revert "keysyms: use xcb_key_lookup_t type for col paramter" |
---|
| 174 | - temporary disabled %%check due to RPATH regression |
---|
| 175 | |
---|
| 176 | * Thu Dec 4 2008 Michal Nowak <mnowak@redhat.com> - 0.3.1-2 |
---|
| 177 | - patch for exit() in aux library (Peter Harris) |
---|
| 178 | - slight changes in spec file |
---|
| 179 | |
---|
| 180 | * Mon Nov 24 2008 Michal Nowak <mnowak@redhat.com> - 0.3.1-1 |
---|
| 181 | - 0.3.1 |
---|
| 182 | - fix license issue (Jonathan Landis) |
---|
| 183 | |
---|
| 184 | * Fri Sep 19 2008 Michal Nowak <mnowak@redhat.com> - 0.3.0-1 |
---|
| 185 | - bump to 0.3.0 |
---|
| 186 | |
---|
| 187 | * Sun Aug 17 2008 Michal Nowak <mnowak@redhat.com> - 0.2.1-2 |
---|
| 188 | - new build deps: gperf, pkgconfig, libxcb, m4, xorg-x11-proto-devel |
---|
| 189 | - not installing *.a files anymore |
---|
| 190 | - configure with --with-pic |
---|
| 191 | |
---|
| 192 | * Mon Aug 04 2008 Michal Nowak <mnowak@redhat.com> - 0.2.1-1 |
---|
| 193 | - initial package |
---|
| 194 | |
---|