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