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

Revision 5869, 6.8 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

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.1
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* Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
128- new upstream release
129- add BuildRequires: xorg-x11-util-macros
130
131* Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-2
132- add Requires: libXi-devel (devel package)
133
134* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
135- new upstream release
136
137* Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-3
138- rebuild with rpm-4.8.1 for pkg-config file
139- add BuildRequires: libXi-devel
140- fix %files (remove man3)
141
142* Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-2
143- add XTest.h/record.h to libXtst-devel
144
145* Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-1
146- new upstream release
147
148* Sat May 09 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.3-3
149- added compat32 package for x86_64 arch support
150
151* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-2
152- spec in utf-8
153
154* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1
155- new versioning policy
156
157* Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-0vl1
158- initial build for Vine Linux
159
160* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.0.3-1
161- libXtst 1.0.3
162
163* Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.0.2-2
164- Rebuild for PPC toolchain bug
165
166* Sat Jun 23 2007 Adam Jackson <ajax@redhat.com> 1.0.2-1.
167- libXtst 1.0.2
168
169* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> - 1.0.1-4
170- Don't install INSTALL
171
172* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-3.1
173- rebuild
174
175* Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
176- Added "Requires: xorg-x11-proto-devel" to devel package for xtst.pc
177
178* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
179- Added "BuildRequires: pkgconfig" for (#193504)
180- Replace "makeinstall" with "make install DESTDIR=..."
181- Remove package ownership of mandir/libdir/etc.
182
183* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
184- bump again for double-long bug on ppc(64)
185
186* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
187- rebuilt for new gcc4.1 snapshot and glibc changes
188
189* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
190- Updated libXtst to version 1.0.1 from X11R7.0
191
192* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
193- Updated libXtst to version 1.0.0 from X11R7 RC4
194
195* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1
196- Updated libXtst to version 0.99.3 from X11R7 RC3
197- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
198  that /usr/lib/X11 and /usr/include/X11 pre-exist.
199- Removed 'x' suffix from manpage directories to match RC3 upstream.
200
201* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
202- rebuilt
203
204* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
205- Updated libXtst to version 0.99.2 from X11R7 RC2
206- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
207- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
208
209* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
210- Updated libXtst to version 0.99.1 from X11R7 RC1
211
212* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
213- Renamed package to remove xorg-x11 from the name due to unanimous decision
214  between developers.
215- Use Fedora Extras style BuildRoot tag.
216- Disable static library creation by default.
217- Add missing defattr to devel subpackage
218- Add missing documentation files to doc macro
219
220* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
221- Renamed package to prepend "xorg-x11" to the name for consistency with
222  the rest of the X11R7 packages.
223- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
224  subpackage to ensure the devel package matches the installed shared libs.
225- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
226  allow applications to use implementation agnostic dependencies.
227- Added post/postun scripts which call ldconfig.
228- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
229  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
230
231* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
232- Initial build.
Note: See TracBrowser for help on using the repository browser.