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