source: projects/specs/trunk/lib/libX/libXtst/libXtst-vl.spec @ 7707

Revision 7707, 6.9 KB checked in by Takemikaduchi, 11 years ago (diff)

security fix

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