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

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