source: projects/specs/branches/6/lib/libX/libXrender/libXrender-vl.spec @ 7730

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