[521] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
| 3 | Summary: X.Org X11 libXcursor runtime library |
---|
| 4 | Summary(ja): X.Org X11 libXcursor ランタイムライブラリ |
---|
| 5 | Name: libXcursor |
---|
[7707] | 6 | Version: 1.1.14 |
---|
[2203] | 7 | Release: 1%{?_dist_release} |
---|
[521] | 8 | License: MIT/X11 |
---|
| 9 | Group: System Environment/Libraries |
---|
| 10 | URL: http://www.x.org |
---|
| 11 | |
---|
| 12 | Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2 |
---|
| 13 | |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 15 | BuildRequires: pkgconfig |
---|
| 16 | BuildRequires: xorg-x11-util-macros |
---|
| 17 | BuildRequires: xorg-x11-proto-devel |
---|
| 18 | BuildRequires: libX11-devel |
---|
| 19 | BuildRequires: libXfixes-devel |
---|
| 20 | BuildRequires: libXrender-devel |
---|
| 21 | Obsoletes: XFree86-libs, XOrg-libs |
---|
| 22 | |
---|
[4616] | 23 | Vendor: Project Vine |
---|
| 24 | Distribution: Vine Linux |
---|
| 25 | |
---|
[521] | 26 | %description |
---|
| 27 | X.Org X11 libXcursor runtime library |
---|
| 28 | |
---|
| 29 | %package devel |
---|
| 30 | Summary: X.Org X11 libXcursor development package |
---|
| 31 | Summary(ja): X.Org X11 libXcursor 開発パッケージ |
---|
| 32 | Group: Development/Libraries |
---|
| 33 | Requires(pre): xorg-x11-filesystem |
---|
| 34 | Requires: %{name} = %{version}-%{release} |
---|
| 35 | Requires: pkgconfig |
---|
| 36 | Requires: xorg-x11-proto-devel |
---|
| 37 | Obsoletes: XFree86-devel, XOrg-devel |
---|
| 38 | |
---|
| 39 | %description devel |
---|
| 40 | X.Org X11 libXcursor development package |
---|
| 41 | |
---|
| 42 | # compat32 |
---|
| 43 | %package -n compat32-%{name} |
---|
| 44 | Summary: X.Org X11 libXcursor runtime library |
---|
| 45 | Summary(ja): X.Org X11 libXcursor ランタイムライブラリ |
---|
| 46 | Group: System Environment/Libraries |
---|
| 47 | |
---|
| 48 | %description -n compat32-%{name} |
---|
| 49 | X.Org X11 libXcursor runtime library |
---|
| 50 | |
---|
| 51 | %package -n compat32-%{name}-devel |
---|
| 52 | Summary: X.Org X11 libXcursor development package |
---|
| 53 | Summary(ja): X.Org X11 libXcursor 開発パッケージ |
---|
| 54 | Group: Development/Libraries |
---|
| 55 | Requires(pre): xorg-x11-filesystem |
---|
| 56 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 57 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 58 | |
---|
| 59 | %description -n compat32-%{name}-devel |
---|
| 60 | X.Org X11 libXcursor development package |
---|
| 61 | |
---|
| 62 | %prep |
---|
| 63 | %setup -q |
---|
| 64 | |
---|
| 65 | # Disable static library creation by default. |
---|
| 66 | %define with_static 0 |
---|
| 67 | |
---|
| 68 | %build |
---|
| 69 | #export CFLAGS="$RPM_OPT_FLAGS -DICONDIR=\"/usr/share/icons\"" |
---|
| 70 | %configure \ |
---|
| 71 | %if ! %{with_static} |
---|
| 72 | --disable-static |
---|
| 73 | %endif |
---|
| 74 | make |
---|
| 75 | |
---|
| 76 | %install |
---|
| 77 | rm -rf $RPM_BUILD_ROOT |
---|
| 78 | |
---|
| 79 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 80 | |
---|
| 81 | mkdir -p $RPM_BUILD_ROOT/usr/share/icons/default |
---|
| 82 | cat <<EOF > $RPM_BUILD_ROOT/usr/share/icons/default/index.theme |
---|
| 83 | [Icon Theme] |
---|
| 84 | Inherits=Vine |
---|
| 85 | EOF |
---|
| 86 | |
---|
| 87 | # We intentionally don't ship *.la files |
---|
| 88 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 89 | |
---|
| 90 | %clean |
---|
| 91 | rm -rf $RPM_BUILD_ROOT |
---|
| 92 | |
---|
| 93 | %post -p /sbin/ldconfig |
---|
| 94 | %postun -p /sbin/ldconfig |
---|
| 95 | |
---|
| 96 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 97 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 98 | |
---|
| 99 | %files |
---|
| 100 | %defattr(-,root,root,-) |
---|
| 101 | %doc AUTHORS COPYING README ChangeLog |
---|
| 102 | %{_libdir}/libXcursor.so.1 |
---|
| 103 | %{_libdir}/libXcursor.so.1.0.* |
---|
| 104 | %dir %{_datadir}/icons/default |
---|
| 105 | %config(noreplace) %verify(not md5 size mtime) %{_datadir}/icons/default/index.theme |
---|
| 106 | |
---|
| 107 | %files devel |
---|
| 108 | %defattr(-,root,root,-) |
---|
| 109 | %dir %{_includedir}/X11 |
---|
| 110 | %dir %{_includedir}/X11/Xcursor |
---|
| 111 | %{_includedir}/X11/Xcursor/Xcursor.h |
---|
| 112 | %if %{with_static} |
---|
| 113 | %{_libdir}/libXcursor.a |
---|
| 114 | %endif |
---|
| 115 | %{_libdir}/libXcursor.so |
---|
| 116 | %{_libdir}/pkgconfig/xcursor.pc |
---|
| 117 | #%dir %{_mandir}/man3x |
---|
| 118 | %{_mandir}/man3/Xcursor*.3* |
---|
| 119 | |
---|
| 120 | # compat32 |
---|
| 121 | %if %{build_compat32} |
---|
| 122 | %files -n compat32-%{name} |
---|
| 123 | %defattr(-,root,root,-) |
---|
| 124 | %{_libdir}/libXcursor.so.1 |
---|
| 125 | %{_libdir}/libXcursor.so.1.0.* |
---|
| 126 | |
---|
| 127 | %files -n compat32-%{name}-devel |
---|
| 128 | %defattr(-,root,root,-) |
---|
| 129 | %if %{with_static} |
---|
| 130 | %{_libdir}/libXcursor.a |
---|
| 131 | %endif |
---|
| 132 | %{_libdir}/libXcursor.so |
---|
| 133 | %{_libdir}/pkgconfig/xcursor.pc |
---|
| 134 | %endif |
---|
| 135 | |
---|
| 136 | %changelog |
---|
[7707] | 137 | * Sun Jun 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.14-1 |
---|
| 138 | - new upstream release |
---|
| 139 | (including security fix for CVE-2013-2003) |
---|
| 140 | |
---|
[5869] | 141 | * Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.13-1 |
---|
| 142 | - new upstream release |
---|
| 143 | |
---|
[4616] | 144 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.12-1 |
---|
| 145 | - new upstream release |
---|
| 146 | |
---|
[2203] | 147 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.11-1 |
---|
| 148 | - new upstream release |
---|
| 149 | |
---|
[1887] | 150 | * Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.10-2 |
---|
| 151 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 152 | |
---|
[521] | 153 | * Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.10-1 |
---|
| 154 | - new upstream release |
---|
| 155 | |
---|
| 156 | * Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.9-3 |
---|
| 157 | - added compat32 package for x86_64 arch support |
---|
| 158 | |
---|
| 159 | * Wed Oct 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.9-2 |
---|
| 160 | - set default cursor theme to Vine |
---|
| 161 | - spec in utf8 |
---|
| 162 | |
---|
| 163 | * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.9-1 |
---|
| 164 | - new versioning policy |
---|
| 165 | |
---|
| 166 | * Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.9-0vl1 |
---|
| 167 | - initial build for Vine Linux |
---|
| 168 | |
---|
| 169 | * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.1.9-1 |
---|
| 170 | - libXcursor 1.1.9 |
---|
| 171 | |
---|
| 172 | * Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.1.8-3 |
---|
| 173 | - Rebuild for PPC toolchain bug |
---|
| 174 | |
---|
| 175 | * Sat Jul 7 2007 Matthias Clasen <mclasen@redhat.com> 1.1.8-3 |
---|
| 176 | - Don't own /usr/share/icons |
---|
| 177 | - Require pkgconfig in -devel |
---|
| 178 | |
---|
| 179 | * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.1.8-2 |
---|
| 180 | - Don't install INSTALL |
---|
| 181 | |
---|
| 182 | * Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.1.8-1 |
---|
| 183 | - Update to 1.1.8 |
---|
| 184 | |
---|
| 185 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.1.7-1.1 |
---|
| 186 | - rebuild |
---|
| 187 | |
---|
| 188 | * Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 1.1.7-1 |
---|
| 189 | - Update to 1.1.7 from X11R7.1 |
---|
| 190 | |
---|
| 191 | * Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 1.1.6-2 |
---|
| 192 | - Added "BuildRequires: xorg-x11-proto-devel" |
---|
| 193 | - Added "Requires: xorg-x11-proto-devel" to devel package, needed by xcursor.pc |
---|
| 194 | - Replace "makeinstall" with "make install DESTDIR=..." |
---|
| 195 | - Remove package ownership of mandir/libdir/etc. |
---|
| 196 | |
---|
| 197 | * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.1.6-1 |
---|
| 198 | - Update to 1.1.6 |
---|
| 199 | |
---|
| 200 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.1.5.2-2.2 |
---|
| 201 | - bump again for double-long bug on ppc(64) |
---|
| 202 | |
---|
| 203 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.1.5.2-2.1 |
---|
| 204 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 205 | |
---|
| 206 | * Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.1.5.2-2 |
---|
| 207 | - Bumped and rebuilt |
---|
| 208 | |
---|
| 209 | * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.1.5.2-1 |
---|
| 210 | - Updated libXcursor to version 1.1.5.2 from X11R7 RC4 |
---|
| 211 | |
---|
| 212 | * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 1.1.5.1-1 |
---|
| 213 | - Updated libXcursor to version 1.1.5.1 from X11R7 RC3 |
---|
| 214 | - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure |
---|
| 215 | that /usr/lib/X11 and /usr/include/X11 pre-exist. |
---|
| 216 | - Removed 'x' suffix from manpage directories to match RC3 upstream. |
---|
| 217 | - Added default index.theme file to set BlueCurve as the default cursor theme |
---|
| 218 | to fix bug (#175532). |
---|
| 219 | |
---|
| 220 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
| 221 | - rebuilt |
---|
| 222 | |
---|
| 223 | * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 1.1.5-1 |
---|
| 224 | - Updated libXcursor to version 1.1.5 from X11R7 RC2 |
---|
| 225 | - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes' |
---|
| 226 | - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes' |
---|
| 227 | |
---|
| 228 | * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 1.1.4-1 |
---|
| 229 | - Updated libXcursor to version 1.1.4 from X11R7 RC1 |
---|
| 230 | |
---|
| 231 | * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 1.1.3-3 |
---|
| 232 | - Renamed package to remove xorg-x11 from the name due to unanimous decision |
---|
| 233 | between developers. |
---|
| 234 | - Use Fedora Extras style BuildRoot tag. |
---|
| 235 | - Disable static library creation by default. |
---|
| 236 | - Add missing defattr to devel subpackage |
---|
| 237 | - Add missing documentation files to doc macro |
---|
| 238 | |
---|
| 239 | * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 1.1.3-2 |
---|
| 240 | - Renamed package to prepend "xorg-x11" to the name for consistency with |
---|
| 241 | the rest of the X11R7 packages. |
---|
| 242 | - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel |
---|
| 243 | subpackage to ensure the devel package matches the installed shared libs. |
---|
| 244 | - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to |
---|
| 245 | allow applications to use implementation agnostic dependencies. |
---|
| 246 | - Added post/postun scripts which call ldconfig. |
---|
| 247 | - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package, |
---|
| 248 | and Conflicts with XFree86-devel and xorg-x11-devel to devel package. |
---|
| 249 | |
---|
| 250 | * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 1.1.3-1 |
---|
| 251 | - Initial build. |
---|