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

Revision 12185, 7.2 KB checked in by tomop, 5 years ago (diff)

updated X11 libs

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.3
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
24Vendor: Project Vine
25Distribution: Vine Linux
26
27%description
28X.Org X11 libXtst runtime library
29
30%package devel
31Summary: X.Org X11 libXtst development package
32Summary(ja): X.Org X11 libXtst 開発パッケージ
33Group: Development/Libraries
34Requires(pre): xorg-x11-filesystem
35Requires: %{name} = %{version}-%{release}
36Requires: xorg-x11-proto-devel
37Requires: libXi-devel
38Obsoletes: XFree86-devel, XOrg-devel
39
40%description devel
41X.Org X11 libXtst development package
42
43# compat32
44%package -n compat32-%{name}
45Summary: X.Org X11 libXtst runtime library
46Summary(ja): X.Org X11 libXtst ランタイムライブラリ
47Group: System Environment/Libraries
48
49%description -n compat32-%{name}
50X.Org X11 libXtst runtime library
51
52%package -n compat32-%{name}-devel
53Summary: X.Org X11 libXtst development package
54Summary(ja): X.Org X11 libXtst 開発パッケージ
55Group: Development/Libraries
56Requires(pre): xorg-x11-filesystem
57Requires: compat32-%{name} = %{version}-%{release}
58Requires: %{name}-devel = %{version}-%{release}
59
60%description -n compat32-%{name}-devel
61X.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
75make
76
77%install
78rm -rf $RPM_BUILD_ROOT
79
80make install DESTDIR=$RPM_BUILD_ROOT
81
82# We intentionally don't ship *.la files
83rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
84
85# remove xml and txt file
86rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
87rm -rf $RPM_BUILD_ROOT%{_mandir}
88
89%clean
90rm -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,-)
100%license COPYING
101%doc AUTHORS README ChangeLog
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
130* Fri Sep 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.3-1
131- new upstream release.
132
133* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-2
134- rebuild with VineSeed environment
135
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
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
144* Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-2
145- add Requires: libXi-devel (devel package)
146
147* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
148- new upstream release
149
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
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.
Note: See TracBrowser for help on using the repository browser.