[521] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
| 3 | Summary: X.Org X11 libICE runtime library |
---|
| 4 | Summary(ja): X.Org X11 libICE ランタイムライブラリ |
---|
| 5 | Name: libICE |
---|
[5808] | 6 | Version: 1.0.8 |
---|
[8353] | 7 | Release: 3%{?_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 | |
---|
[8353] | 14 | Patch0: libICE-1.0.8-git20131224.patch |
---|
| 15 | |
---|
[521] | 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 17 | BuildRequires: pkgconfig |
---|
| 18 | BuildRequires: xorg-x11-proto-devel |
---|
| 19 | BuildRequires: xorg-x11-xtrans-devel |
---|
[5808] | 20 | BuildRequires: xorg-x11-util-macros |
---|
[521] | 21 | Obsoletes: XFree86-libs, XOrg-libs |
---|
| 22 | |
---|
[8064] | 23 | Vendor: Project Vine |
---|
| 24 | Distribution: Vine Linux |
---|
| 25 | Packager: Takemikaduchi |
---|
| 26 | |
---|
[521] | 27 | %description |
---|
| 28 | X.Org X11 libICE runtime library |
---|
| 29 | |
---|
| 30 | %package devel |
---|
| 31 | Summary: X.Org X11 libICE development package |
---|
| 32 | Group: Development/Libraries |
---|
| 33 | Requires(pre): xorg-x11-filesystem |
---|
| 34 | Requires: %{name} = %{version}-%{release} |
---|
| 35 | Requires: xorg-x11-proto-devel |
---|
| 36 | Obsoletes: XFree86-devel, XOrg-devel |
---|
| 37 | |
---|
| 38 | %description devel |
---|
| 39 | X.Org X11 libICE development package |
---|
| 40 | |
---|
| 41 | # compat32 |
---|
| 42 | %package -n compat32-%{name} |
---|
| 43 | Summary: X.Org X11 libICE runtime library |
---|
| 44 | Summary(ja): X.Org X11 libICE ランタイムライブラリ |
---|
| 45 | Group: System Environment/Libraries |
---|
| 46 | |
---|
| 47 | %description -n compat32-%{name} |
---|
| 48 | X.Org X11 libICE runtime library |
---|
| 49 | |
---|
| 50 | %package -n compat32-%{name}-devel |
---|
| 51 | Summary: X.Org X11 libICE development package |
---|
| 52 | Group: Development/Libraries |
---|
| 53 | Requires(pre): xorg-x11-filesystem |
---|
| 54 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 55 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 56 | |
---|
| 57 | %description -n compat32-%{name}-devel |
---|
| 58 | X.Org X11 libICE development package |
---|
| 59 | |
---|
| 60 | %prep |
---|
| 61 | %setup -q |
---|
[8353] | 62 | %patch0 -p1 |
---|
[521] | 63 | |
---|
| 64 | # Disable static library creation by default. |
---|
| 65 | %define with_static 0 |
---|
| 66 | |
---|
| 67 | %build |
---|
[8353] | 68 | autoreconf -if |
---|
[521] | 69 | %configure \ |
---|
| 70 | %if ! %{with_static} |
---|
| 71 | --disable-static |
---|
| 72 | %endif |
---|
| 73 | make |
---|
| 74 | |
---|
| 75 | %install |
---|
| 76 | rm -rf $RPM_BUILD_ROOT |
---|
| 77 | |
---|
| 78 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 79 | |
---|
| 80 | # We intentionally don't ship *.la files |
---|
| 81 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 82 | |
---|
[2203] | 83 | # remove xml and txt file |
---|
| 84 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} |
---|
| 85 | |
---|
[521] | 86 | %clean |
---|
| 87 | rm -rf $RPM_BUILD_ROOT |
---|
| 88 | |
---|
| 89 | %post -p /sbin/ldconfig |
---|
| 90 | %postun -p /sbin/ldconfig |
---|
| 91 | |
---|
| 92 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 93 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 94 | |
---|
| 95 | %files |
---|
| 96 | %defattr(-,root,root,-) |
---|
| 97 | %doc AUTHORS COPYING README ChangeLog |
---|
| 98 | %{_libdir}/libICE.so.6 |
---|
| 99 | %{_libdir}/libICE.so.6.3.0 |
---|
| 100 | |
---|
| 101 | %files devel |
---|
| 102 | %dir %{_includedir}/X11 |
---|
| 103 | %dir %{_includedir}/X11/ICE |
---|
| 104 | %{_includedir}/X11/ICE/*.h |
---|
| 105 | %if %{with_static} |
---|
| 106 | %{_libdir}/libICE.a |
---|
| 107 | %endif |
---|
| 108 | %{_libdir}/libICE.so |
---|
| 109 | %{_libdir}/pkgconfig/ice.pc |
---|
| 110 | |
---|
| 111 | # compat32 |
---|
| 112 | %if %{build_compat32} |
---|
| 113 | %files -n compat32-%{name} |
---|
| 114 | %defattr(-,root,root,-) |
---|
| 115 | %{_libdir}/libICE.so.6 |
---|
| 116 | %{_libdir}/libICE.so.6.3.0 |
---|
| 117 | |
---|
| 118 | %files -n compat32-%{name}-devel |
---|
| 119 | %if %{with_static} |
---|
| 120 | %{_libdir}/libICE.a |
---|
| 121 | %endif |
---|
| 122 | %{_libdir}/libICE.so |
---|
| 123 | %endif |
---|
| 124 | |
---|
| 125 | %changelog |
---|
[8353] | 126 | * Sat Apr 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-3 |
---|
| 127 | - add Patch0 (libICE-1.0.8-git20131224.patch) |
---|
| 128 | |
---|
[8064] | 129 | * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-2 |
---|
| 130 | - rebuild with VineSeed environment |
---|
| 131 | |
---|
[5808] | 132 | * Sat Mar 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1 |
---|
| 133 | - new upstream release |
---|
| 134 | - add BuildRequires: xorg-x11-util-macros |
---|
| 135 | |
---|
[2203] | 136 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1 |
---|
| 137 | - new upstream release |
---|
| 138 | |
---|
[1856] | 139 | * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 1.0.6-2 |
---|
| 140 | - build with rpm-4.8.1-1 for pkg-config file |
---|
| 141 | |
---|
[521] | 142 | * Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1 |
---|
| 143 | - new upstream release |
---|
| 144 | |
---|
| 145 | * Mon May 04 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.5-2 |
---|
| 146 | - added compat32 package for x86_64 arch support |
---|
| 147 | |
---|
| 148 | * Thu Jan 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1 |
---|
| 149 | - new upstream release |
---|
| 150 | |
---|
| 151 | * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1 |
---|
| 152 | - new versioning policy |
---|
| 153 | |
---|
| 154 | * Sun Jan 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-0vl1 |
---|
| 155 | - initial build for Vine Linux |
---|
| 156 | |
---|
| 157 | * Mon Oct 01 2007 Adam Jackson <ajax@redhat.com> 1.0.4-2 |
---|
| 158 | - Rebuild against xtrans 1.0.3-5 to pick up gethostname() avoidance. |
---|
| 159 | |
---|
| 160 | * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.0.4-1 |
---|
| 161 | - libICE 1.0.4 |
---|
| 162 | |
---|
| 163 | * Thu Sep 20 2007 Adam Jackson <ajax@redhat.com> 1.0.3-5 |
---|
| 164 | - Update xtrans dep and rebuild. |
---|
| 165 | |
---|
| 166 | * Mon Sep 17 2007 Adam Jackson <ajax@redhat.com> 1.0.3-4 |
---|
| 167 | - Rebuild for abstract socket support. |
---|
| 168 | |
---|
| 169 | * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.3-3 |
---|
| 170 | - Rebuild for build id |
---|
| 171 | |
---|
| 172 | * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.3-2 |
---|
| 173 | - Don't install INSTALL |
---|
| 174 | |
---|
| 175 | * Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.0.3-1 |
---|
| 176 | - Update to 1.0.3 |
---|
| 177 | |
---|
| 178 | * Mon Nov 20 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1 |
---|
| 179 | - Update to 1.0.2. |
---|
| 180 | |
---|
| 181 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-2.1 |
---|
| 182 | - rebuild |
---|
| 183 | |
---|
| 184 | * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2 |
---|
| 185 | - Added "Requires: xorg-x11-proto-devel" |
---|
| 186 | - Replace "makeinstall" with "make install DESTDIR=..." |
---|
| 187 | - Remove package ownership of mandir/libdir/etc. |
---|
| 188 | |
---|
| 189 | * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1 |
---|
| 190 | - Update to 1.0.1 |
---|
| 191 | |
---|
| 192 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.2 |
---|
| 193 | - bump again for double-long bug on ppc(64) |
---|
| 194 | |
---|
| 195 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.1 |
---|
| 196 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 197 | |
---|
| 198 | * Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2 |
---|
| 199 | - Bumped and rebuilt |
---|
| 200 | |
---|
| 201 | * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1 |
---|
| 202 | - Updated libICE to version 1.0.0 from X11R7 RC4 |
---|
| 203 | |
---|
| 204 | * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1 |
---|
| 205 | - Updated libICE to version 0.99.2 from X11R7 RC3 |
---|
| 206 | - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure |
---|
| 207 | that /usr/lib/X11 and /usr/include/X11 pre-exist. |
---|
| 208 | - Removed 'x' suffix from manpage directories to match RC3 upstream. |
---|
| 209 | |
---|
| 210 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
| 211 | - rebuilt |
---|
| 212 | |
---|
| 213 | * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1 |
---|
| 214 | - Updated libICE to version 0.99.1 from X11R7 RC2 |
---|
| 215 | - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes' |
---|
| 216 | - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes' |
---|
| 217 | |
---|
| 218 | |
---|
| 219 | * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-5 |
---|
| 220 | - Updated libICE to version 0.99.0 from X11R7 RC1 |
---|
| 221 | |
---|
| 222 | * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-4 |
---|
| 223 | - Added BuildRequires: pkgconfig |
---|
| 224 | |
---|
| 225 | * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3 |
---|
| 226 | - Renamed package to remove "xorg-x11" from the name due to unanimous decision |
---|
| 227 | between developers. |
---|
| 228 | - Use Fedora Extras style BuildRoot tag. |
---|
| 229 | - Disable static library creation by default. |
---|
| 230 | - Add missing defattr to devel subpackage |
---|
| 231 | - Add missing documentation files to doc macro |
---|
| 232 | |
---|
| 233 | * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2 |
---|
| 234 | - Renamed package to prepend "xorg-x11" to the name for consistency with |
---|
| 235 | the rest of the X11R7 packages. |
---|
| 236 | - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel |
---|
| 237 | subpackage to ensure the devel package matches the installed shared libs. |
---|
| 238 | - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to |
---|
| 239 | allow applications to use implementation agnostic dependencies. |
---|
| 240 | - Added post/postun scripts which call ldconfig. |
---|
| 241 | - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package, |
---|
| 242 | and Conflicts with XFree86-devel and xorg-x11-devel to devel package. |
---|
| 243 | |
---|
| 244 | * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1 |
---|
| 245 | - Initial build. |
---|