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

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