[521] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
| 3 | Summary: X.Org X11 libXtst runtime library |
---|
| 4 | Summary(ja): X.Org X11 libXtst ランタイムライブラリ |
---|
| 5 | Name: libXtst |
---|
[12185] | 6 | Version: 1.2.3 |
---|
| 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: libXext-devel |
---|
[1887] | 20 | BuildRequires: libXi-devel |
---|
[521] | 21 | |
---|
| 22 | Obsoletes: XFree86-libs, XOrg-libs |
---|
| 23 | |
---|
[8064] | 24 | Vendor: Project Vine |
---|
| 25 | Distribution: Vine Linux |
---|
| 26 | |
---|
[521] | 27 | %description |
---|
| 28 | X.Org X11 libXtst runtime library |
---|
| 29 | |
---|
| 30 | %package devel |
---|
| 31 | Summary: X.Org X11 libXtst development package |
---|
| 32 | Summary(ja): X.Org X11 libXtst 開発パッケージ |
---|
| 33 | Group: Development/Libraries |
---|
| 34 | Requires(pre): xorg-x11-filesystem |
---|
| 35 | Requires: %{name} = %{version}-%{release} |
---|
| 36 | Requires: xorg-x11-proto-devel |
---|
[2602] | 37 | Requires: libXi-devel |
---|
[521] | 38 | Obsoletes: XFree86-devel, XOrg-devel |
---|
| 39 | |
---|
| 40 | %description devel |
---|
| 41 | X.Org X11 libXtst development package |
---|
| 42 | |
---|
| 43 | # compat32 |
---|
| 44 | %package -n compat32-%{name} |
---|
| 45 | Summary: X.Org X11 libXtst runtime library |
---|
| 46 | Summary(ja): X.Org X11 libXtst ランタイムライブラリ |
---|
| 47 | Group: System Environment/Libraries |
---|
| 48 | |
---|
| 49 | %description -n compat32-%{name} |
---|
| 50 | X.Org X11 libXtst runtime library |
---|
| 51 | |
---|
| 52 | %package -n compat32-%{name}-devel |
---|
| 53 | Summary: X.Org X11 libXtst development package |
---|
| 54 | Summary(ja): X.Org X11 libXtst 開発パッケージ |
---|
| 55 | Group: Development/Libraries |
---|
| 56 | Requires(pre): xorg-x11-filesystem |
---|
| 57 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 58 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 59 | |
---|
| 60 | %description -n compat32-%{name}-devel |
---|
| 61 | X.Org X11 libXtst development package |
---|
| 62 | |
---|
| 63 | %prep |
---|
| 64 | %setup -q |
---|
| 65 | |
---|
| 66 | # Disable static library creation by default. |
---|
| 67 | %define with_static 0 |
---|
| 68 | |
---|
| 69 | %build |
---|
| 70 | |
---|
| 71 | %configure \ |
---|
| 72 | %if ! %{with_static} |
---|
| 73 | --disable-static |
---|
| 74 | %endif |
---|
| 75 | make |
---|
| 76 | |
---|
| 77 | %install |
---|
| 78 | rm -rf $RPM_BUILD_ROOT |
---|
| 79 | |
---|
| 80 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 81 | |
---|
| 82 | # We intentionally don't ship *.la files |
---|
| 83 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 84 | |
---|
[2203] | 85 | # remove xml and txt file |
---|
| 86 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} |
---|
| 87 | rm -rf $RPM_BUILD_ROOT%{_mandir} |
---|
| 88 | |
---|
[521] | 89 | %clean |
---|
| 90 | rm -rf $RPM_BUILD_ROOT |
---|
| 91 | |
---|
| 92 | %post -p /sbin/ldconfig |
---|
| 93 | %postun -p /sbin/ldconfig |
---|
| 94 | |
---|
| 95 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 96 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 97 | |
---|
| 98 | %files |
---|
| 99 | %defattr(-,root,root,-) |
---|
[12185] | 100 | %license COPYING |
---|
| 101 | %doc AUTHORS README ChangeLog |
---|
[521] | 102 | %{_libdir}/libXtst.so.6 |
---|
| 103 | %{_libdir}/libXtst.so.6.* |
---|
| 104 | |
---|
| 105 | %files devel |
---|
| 106 | %defattr(-,root,root,-) |
---|
| 107 | %{_includedir}/X11/extensions/*.h |
---|
| 108 | %if %{with_static} |
---|
| 109 | %{_libdir}/libXtst.a |
---|
| 110 | %endif |
---|
| 111 | %{_libdir}/libXtst.so |
---|
| 112 | %{_libdir}/pkgconfig/xtst.pc |
---|
| 113 | |
---|
| 114 | # compat32 |
---|
| 115 | %if %{build_compat32} |
---|
| 116 | %files -n compat32-%{name} |
---|
| 117 | %defattr(-,root,root,-) |
---|
| 118 | %{_libdir}/libXtst.so.6 |
---|
| 119 | %{_libdir}/libXtst.so.6.* |
---|
| 120 | |
---|
| 121 | %files -n compat32-%{name}-devel |
---|
| 122 | %defattr(-,root,root,-) |
---|
| 123 | %if %{with_static} |
---|
| 124 | %{_libdir}/libXtst.a |
---|
| 125 | %endif |
---|
| 126 | %{_libdir}/libXtst.so |
---|
| 127 | %endif |
---|
| 128 | |
---|
| 129 | %changelog |
---|
[12185] | 130 | * Fri Sep 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.3-1 |
---|
| 131 | - new upstream release. |
---|
| 132 | |
---|
[8064] | 133 | * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-2 |
---|
| 134 | - rebuild with VineSeed environment |
---|
| 135 | |
---|
[7707] | 136 | * Sun Jun 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-1 |
---|
| 137 | - new upstream release |
---|
| 138 | (including security fix for CVE-2013-2063) |
---|
| 139 | |
---|
[5869] | 140 | * Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
---|
| 141 | - new upstream release |
---|
| 142 | - add BuildRequires: xorg-x11-util-macros |
---|
| 143 | |
---|
[2602] | 144 | * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-2 |
---|
| 145 | - add Requires: libXi-devel (devel package) |
---|
| 146 | |
---|
[2203] | 147 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 148 | - new upstream release |
---|
| 149 | |
---|
[1887] | 150 | * Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-3 |
---|
| 151 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 152 | - add BuildRequires: libXi-devel |
---|
| 153 | - fix %files (remove man3) |
---|
| 154 | |
---|
[521] | 155 | * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-2 |
---|
| 156 | - add XTest.h/record.h to libXtst-devel |
---|
| 157 | |
---|
| 158 | * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-1 |
---|
| 159 | - new upstream release |
---|
| 160 | |
---|
| 161 | * Sat May 09 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.3-3 |
---|
| 162 | - added compat32 package for x86_64 arch support |
---|
| 163 | |
---|
| 164 | * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-2 |
---|
| 165 | - spec in utf-8 |
---|
| 166 | |
---|
| 167 | * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1 |
---|
| 168 | - new versioning policy |
---|
| 169 | |
---|
| 170 | * Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-0vl1 |
---|
| 171 | - initial build for Vine Linux |
---|
| 172 | |
---|
| 173 | * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.0.3-1 |
---|
| 174 | - libXtst 1.0.3 |
---|
| 175 | |
---|
| 176 | * Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.0.2-2 |
---|
| 177 | - Rebuild for PPC toolchain bug |
---|
| 178 | |
---|
| 179 | * Sat Jun 23 2007 Adam Jackson <ajax@redhat.com> 1.0.2-1. |
---|
| 180 | - libXtst 1.0.2 |
---|
| 181 | |
---|
| 182 | * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> - 1.0.1-4 |
---|
| 183 | - Don't install INSTALL |
---|
| 184 | |
---|
| 185 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-3.1 |
---|
| 186 | - rebuild |
---|
| 187 | |
---|
| 188 | * Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3 |
---|
| 189 | - Added "Requires: xorg-x11-proto-devel" to devel package for xtst.pc |
---|
| 190 | |
---|
| 191 | * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2 |
---|
| 192 | - Added "BuildRequires: pkgconfig" for (#193504) |
---|
| 193 | - Replace "makeinstall" with "make install DESTDIR=..." |
---|
| 194 | - Remove package ownership of mandir/libdir/etc. |
---|
| 195 | |
---|
| 196 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2 |
---|
| 197 | - bump again for double-long bug on ppc(64) |
---|
| 198 | |
---|
| 199 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1 |
---|
| 200 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 201 | |
---|
| 202 | * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1 |
---|
| 203 | - Updated libXtst to version 1.0.1 from X11R7.0 |
---|
| 204 | |
---|
| 205 | * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1 |
---|
| 206 | - Updated libXtst to version 1.0.0 from X11R7 RC4 |
---|
| 207 | |
---|
| 208 | * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1 |
---|
| 209 | - Updated libXtst to version 0.99.3 from X11R7 RC3 |
---|
| 210 | - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure |
---|
| 211 | that /usr/lib/X11 and /usr/include/X11 pre-exist. |
---|
| 212 | - Removed 'x' suffix from manpage directories to match RC3 upstream. |
---|
| 213 | |
---|
| 214 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
| 215 | - rebuilt |
---|
| 216 | |
---|
| 217 | * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1 |
---|
| 218 | - Updated libXtst to version 0.99.2 from X11R7 RC2 |
---|
| 219 | - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes' |
---|
| 220 | - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes' |
---|
| 221 | |
---|
| 222 | * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1 |
---|
| 223 | - Updated libXtst to version 0.99.1 from X11R7 RC1 |
---|
| 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. |
---|