[521] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
| 3 | Summary: X.Org X11 libXft runtime library |
---|
| 4 | Summary(ja): X.Org X11 libXft ランタイムライブラリ |
---|
| 5 | Name: libXft |
---|
[6274] | 6 | Version: 2.3.1 |
---|
[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-proto-devel |
---|
[5869] | 17 | BuildRequires: xorg-x11-util-macros |
---|
[521] | 18 | BuildRequires: libX11-devel |
---|
| 19 | BuildRequires: libXrender-devel |
---|
| 20 | BuildRequires: freetype2-devel >= 2.3 |
---|
| 21 | BuildRequires: fontconfig-devel |
---|
| 22 | Requires: fontconfig |
---|
| 23 | Obsoletes: XFree86-libs, XOrg-libs |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | X.Org X11 libXft runtime library |
---|
| 27 | |
---|
| 28 | %package devel |
---|
| 29 | Summary: X.Org X11 libXft development package |
---|
| 30 | Summary(ja): X.Org X11 libXft 開発パッケージ |
---|
| 31 | Group: Development/Libraries |
---|
| 32 | Requires(pre): xorg-x11-filesystem |
---|
| 33 | Requires: %{name} = %{version}-%{release} |
---|
| 34 | Requires: xorg-x11-proto-devel |
---|
| 35 | Requires: libXrender-devel |
---|
| 36 | Requires: fontconfig-devel |
---|
| 37 | Requires: freetype2-devel |
---|
| 38 | Obsoletes: XFree86-devel, XOrg-devel |
---|
| 39 | |
---|
| 40 | %description devel |
---|
| 41 | X.Org X11 libXft development package |
---|
| 42 | |
---|
| 43 | # compat32 |
---|
| 44 | %package -n compat32-%{name} |
---|
| 45 | Summary: X.Org X11 libXft runtime library |
---|
| 46 | Summary(ja): X.Org X11 libXft ランタイムライブラリ |
---|
| 47 | Group: System Environment/Libraries |
---|
| 48 | |
---|
| 49 | %description -n compat32-%{name} |
---|
| 50 | X.Org X11 libXft runtime library |
---|
| 51 | |
---|
| 52 | %package -n compat32-%{name}-devel |
---|
| 53 | Summary: X.Org X11 libXft development package |
---|
| 54 | Summary(ja): X.Org X11 libXft 開発パッケージ |
---|
| 55 | Group: Development/Libraries |
---|
| 56 | Requires(pre): xorg-x11-filesystem |
---|
| 57 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 58 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 59 | Requires: compat32-libXrender-devel |
---|
| 60 | Requires: compat32-fontconfig-devel |
---|
| 61 | Requires: compat32-freetype2-devel |
---|
| 62 | |
---|
| 63 | %description -n compat32-%{name}-devel |
---|
| 64 | X.Org X11 libXft development package |
---|
| 65 | |
---|
| 66 | %prep |
---|
| 67 | %setup -q |
---|
| 68 | |
---|
| 69 | # Disable static library creation by default. |
---|
| 70 | %define with_static 0 |
---|
| 71 | |
---|
| 72 | %build |
---|
| 73 | |
---|
| 74 | %configure \ |
---|
| 75 | %if ! %{with_static} |
---|
| 76 | --disable-static |
---|
| 77 | %endif |
---|
| 78 | make |
---|
| 79 | |
---|
| 80 | %install |
---|
| 81 | rm -rf $RPM_BUILD_ROOT |
---|
| 82 | |
---|
| 83 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 84 | |
---|
| 85 | # FIXME: There's no real good reason to ship these anymore, as pkg-config |
---|
| 86 | # is the official way to detect flags, etc. now. |
---|
| 87 | rm -f $RPM_BUILD_ROOT%{_bindir}/xft-config |
---|
| 88 | rm -f $RPM_BUILD_ROOT%{_mandir}/man1/xft-config* |
---|
| 89 | |
---|
| 90 | # We intentionally don't ship *.la files |
---|
| 91 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 92 | |
---|
| 93 | %clean |
---|
| 94 | rm -rf $RPM_BUILD_ROOT |
---|
| 95 | |
---|
| 96 | %post -p /sbin/ldconfig |
---|
| 97 | %postun -p /sbin/ldconfig |
---|
| 98 | |
---|
| 99 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 100 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 101 | |
---|
| 102 | %files |
---|
| 103 | %defattr(-,root,root,-) |
---|
| 104 | %doc AUTHORS COPYING README ChangeLog NEWS |
---|
| 105 | %{_libdir}/libXft.so.* |
---|
| 106 | |
---|
| 107 | %files devel |
---|
| 108 | %defattr(-,root,root,-) |
---|
| 109 | #%{_bindir}/xft-config |
---|
| 110 | %dir %{_includedir}/X11 |
---|
| 111 | %dir %{_includedir}/X11/Xft |
---|
| 112 | %{_includedir}/X11/Xft/Xft.h |
---|
| 113 | %{_includedir}/X11/Xft/XftCompat.h |
---|
| 114 | %if %{with_static} |
---|
| 115 | %{_libdir}/libXft.a |
---|
| 116 | %endif |
---|
| 117 | %{_libdir}/libXft.so |
---|
| 118 | %{_libdir}/pkgconfig/xft.pc |
---|
| 119 | #%{_mandir}/man1/xft-config.1.gz |
---|
| 120 | %{_mandir}/man3/Xft.3* |
---|
| 121 | |
---|
| 122 | # compat32 |
---|
| 123 | %if %{build_compat32} |
---|
| 124 | %files -n compat32-%{name} |
---|
| 125 | %defattr(-,root,root,-) |
---|
| 126 | %{_libdir}/libXft.so.* |
---|
| 127 | |
---|
| 128 | %files -n compat32-%{name}-devel |
---|
| 129 | %defattr(-,root,root,-) |
---|
| 130 | %if %{with_static} |
---|
| 131 | %{_libdir}/libXft.a |
---|
| 132 | %endif |
---|
| 133 | %{_libdir}/libXft.so |
---|
| 134 | %{_libdir}/pkgconfig/xft.pc |
---|
| 135 | %endif |
---|
| 136 | |
---|
| 137 | %changelog |
---|
[6274] | 138 | * Wed Jun 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.1-1 |
---|
| 139 | - new upstream release |
---|
| 140 | |
---|
[5869] | 141 | * Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.0-1 |
---|
| 142 | - new upstream release |
---|
| 143 | - add BuildRequires: xorg-x11-util-macros |
---|
| 144 | |
---|
[2203] | 145 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-1 |
---|
| 146 | - new upstream release |
---|
| 147 | |
---|
[1851] | 148 | * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.1.14-2 |
---|
| 149 | - build with rpm-4.8.1-1 for pkg-config file |
---|
| 150 | |
---|
[521] | 151 | * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.14-1 |
---|
| 152 | - new upstream release |
---|
| 153 | |
---|
| 154 | * Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.1.13-2 |
---|
| 155 | - added compat32 package for x86_64 arch support |
---|
| 156 | |
---|
| 157 | * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.13-1 |
---|
| 158 | - new upstream release |
---|
| 159 | |
---|
| 160 | * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.12-1 |
---|
| 161 | - new versioning policy |
---|
| 162 | |
---|
| 163 | * Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.12-0vl1 |
---|
| 164 | - initial build for Vine Linux |
---|
| 165 | |
---|
| 166 | * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 2.1.12-3 |
---|
| 167 | - Rebuild for build id |
---|
| 168 | |
---|
| 169 | * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 2.1.12-2 |
---|
| 170 | - Don't install INSTALL |
---|
| 171 | |
---|
| 172 | * Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 2.1.12-1.fc7 |
---|
| 173 | - Update to 2.1.12 |
---|
| 174 | |
---|
| 175 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control |
---|
| 176 | - rebuild |
---|
| 177 | |
---|
| 178 | * Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 2.1.10 |
---|
| 179 | - Updated libXft to version 2.1.10 |
---|
| 180 | - Specify freetype dependencies as >= 2.1.9-1 |
---|
| 181 | - Futureproof builds by adding release number to fontconfig dependencies. |
---|
| 182 | |
---|
| 183 | * Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 2.1.8.2-4 |
---|
| 184 | - Replace "makeinstall" with "make install DESTDIR=..." |
---|
| 185 | |
---|
| 186 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 2.1.8.2-3.2 |
---|
| 187 | - bump again for double-long bug on ppc(64) |
---|
| 188 | |
---|
| 189 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 2.1.8.2-3.1 |
---|
| 190 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 191 | |
---|
| 192 | * Thu Feb 02 2006 Mike A. Harris <mharris@redhat.com> 2.1.8.2-3 |
---|
| 193 | - Added missing dependencies to devel subpackage to fix (#176744) |
---|
| 194 | |
---|
| 195 | * Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 2.1.8.2-2 |
---|
| 196 | - Bumped and rebuilt |
---|
| 197 | |
---|
| 198 | * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 2.1.8.2-1 |
---|
| 199 | - Updated libXft to version 2.1.8.2 from X11R7 RC4 |
---|
| 200 | |
---|
| 201 | * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 2.1.8.1-1 |
---|
| 202 | - Updated libXft to version 2.1.8.1 from X11R7 RC3 |
---|
| 203 | - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure |
---|
| 204 | that /usr/lib/X11 and /usr/include/X11 pre-exist. |
---|
| 205 | - Removed 'x' suffix from manpage directories to match RC3 upstream. |
---|
| 206 | - Added "Requires: libXrender-devel" to -devel subpackage for (#175465) |
---|
| 207 | |
---|
| 208 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
| 209 | - rebuilt |
---|
| 210 | |
---|
| 211 | * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 2.1.8-2 |
---|
| 212 | - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes' |
---|
| 213 | - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes' |
---|
| 214 | |
---|
| 215 | * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 2.1.8-1 |
---|
| 216 | - Updated libXft to version 2.1.8 from X11R7 RC1 |
---|
| 217 | |
---|
| 218 | * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 2.1.7-5 |
---|
| 219 | - Renamed package to remove xorg-x11 from the name due to unanimous decision |
---|
| 220 | between developers. |
---|
| 221 | - Use Fedora Extras style BuildRoot tag. |
---|
| 222 | - Disable static library creation by default. |
---|
| 223 | - Add missing defattr to devel subpackage |
---|
| 224 | - Add missing documentation files to doc macro |
---|
| 225 | - Fix BuildRequires to use new style X library package names |
---|
| 226 | |
---|
| 227 | * Sun Sep 04 2005 Mike A. Harris <mharris@redhat.com> 2.1.7-4 |
---|
| 228 | - Added "BuildRequires: fontconfig-devel >= 2.2" dependency that was |
---|
| 229 | previously missed. Also added "Requires: fontconfig >= 2.2" runtime |
---|
| 230 | dependency. |
---|
| 231 | - Added missing defattr to devel subpackage. |
---|
| 232 | |
---|
| 233 | * Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 2.1.7-3 |
---|
| 234 | - Added freetype-devel build dependency. |
---|
| 235 | |
---|
| 236 | * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 2.1.7-2 |
---|
| 237 | - Renamed package to prepend "xorg-x11" to the name for consistency with |
---|
| 238 | the rest of the X11R7 packages. |
---|
| 239 | - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel |
---|
| 240 | subpackage to ensure the devel package matches the installed shared libs. |
---|
| 241 | - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to |
---|
| 242 | allow applications to use implementation agnostic dependencies. |
---|
| 243 | - Added post/postun scripts which call ldconfig. |
---|
| 244 | - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package, |
---|
| 245 | and Conflicts with XFree86-devel and xorg-x11-devel to devel package. |
---|
| 246 | |
---|
| 247 | * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 2.1.7-1 |
---|
| 248 | - Initial build. |
---|