source: projects/specs/branches/6/lib/libX/libXtst/libXtst-vl.spec @ 2602

Revision 2602, 6.6 KB checked in by Takemikaduchi, 13 years ago (diff)

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