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

Revision 1887, 6.3 KB checked in by Takemikaduchi, 14 years ago (diff)

rebuild with rpm-4.8.1

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