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

Revision 7730, 5.5 KB checked in by Takemikaduchi, 11 years ago (diff)

security fix

Line 
1Summary: X.Org X11 libXres runtime library
2Summary(ja): X.Org X11 libXres ランタイムライブラリ
3Name: libXres
4Version: 1.0.5
5Release: 2%{?_dist_release}
6License: MIT/X11
7Group: System Environment/Libraries
8URL: http://www.x.org
9
10Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
11
12# fix CVE-2013-1988
13Patch0: libXres-1.0.5-CVE-2013-1988.patch
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
16BuildRequires: pkgconfig
17BuildRequires: libX11-devel
18BuildRequires: libXext-devel
19BuildRequires: autoconf
20BuildRequires: xorg-x11-util-macros
21Obsoletes: XFree86-libs, XOrg-libs
22
23%description
24X.Org X11 libXres runtime library
25
26%package devel
27Summary: X.Org X11 libXres development package
28Summary(ja): X.Org X11 libXres 開発パッケージ
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 libXres development package
37
38%prep
39%setup -q
40%patch0 -p1
41
42# Disable static library creation by default.
43%define with_static 0
44
45%build
46autoreconf -if
47%configure \
48%if ! %{with_static}
49        --disable-static
50%endif
51make
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56make install DESTDIR=$RPM_BUILD_ROOT
57
58# We intentionally don't ship *.la files
59rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%post -p /sbin/ldconfig
65%postun -p /sbin/ldconfig
66
67%files
68%defattr(-,root,root,-)
69%doc AUTHORS COPYING README ChangeLog
70%{_libdir}/libXRes.so.1
71%{_libdir}/libXRes.so.1.0.0
72
73%files devel
74%defattr(-,root,root,-)
75%dir %{_includedir}/X11
76%dir %{_includedir}/X11/extensions
77%{_includedir}/X11/extensions/XRes.h
78%if %{with_static}
79%{_libdir}/libXRes.a
80%endif
81%{_libdir}/libXRes.so
82%{_libdir}/pkgconfig/xres.pc
83#%dir %{_mandir}/man3x
84%{_mandir}/man3/*.3*
85
86%changelog
87* Sat Jun 01 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-2
88- add Patch0 (libXres-1.0.5-CVE-2013-1988.patch)
89- add BuildRequires: autoconf, xorg-x11-util-macros
90
91* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-1
92- new upstream release
93
94* Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-2
95- rebuild with rpm-4.8.1 for pkg-config file
96
97* Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
98- new upstream release
99
100* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-2
101- spec in utf-8
102
103* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1
104- new versioning policy
105
106* Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-0vl1
107- initial build for Vine Linux
108
109* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.3-3
110- Rebuild for build id
111
112* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.3-2
113- Don't install INSTALL
114
115* Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.0.3-1
116- Update to 1.0.3
117
118* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.2-1
119- Update to 1.0.2
120
121* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-3.1
122- rebuild
123
124* Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
125- Added "Requires: xorg-x11-proto-devel" to devel package for xres.pc
126
127* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
128- Added "BuildRequires: pkgconfig" for (#193502)
129- Replace "makeinstall" with "make install DESTDIR=..." for (#192725)
130- Remove package ownership of mandir/libdir/etc.
131
132* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
133- Update to 1.0.1
134
135* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.2
136- bump again for double-long bug on ppc(64)
137
138* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.1
139- rebuilt for new gcc4.1 snapshot and glibc changes
140
141* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
142- Bumped and rebuilt
143
144* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
145- Updated libXres to version 1.0.0 from X11R7 RC4
146
147* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1
148- Updated libXres to version 0.99.3 from X11R7 RC3
149- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
150  that /usr/lib/X11 and /usr/include/X11 pre-exist.
151- Removed 'x' suffix from manpage directories to match RC3 upstream.
152
153* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
154- rebuilt
155
156* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
157- Updated libXres to version 0.99.2 from X11R7 RC2
158- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
159- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
160
161* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
162- Updated libXres to version 0.99.1 from X11R7 RC1
163- Updated file manifest to find manpages in "man3x"
164
165* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
166- Renamed package to remove xorg-x11 from the name due to unanimous decision
167  between developers.
168- Use Fedora Extras style BuildRoot tag.
169- Disable static library creation by default.
170- Add missing defattr to devel subpackage
171- Add missing documentation files to doc macro
172
173* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
174- Renamed package to prepend "xorg-x11" to the name for consistency with
175  the rest of the X11R7 packages.
176- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
177  subpackage to ensure the devel package matches the installed shared libs.
178- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
179  allow applications to use implementation agnostic dependencies.
180- Added post/postun scripts which call ldconfig.
181- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
182  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
183
184* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
185- Initial build.
Note: See TracBrowser for help on using the repository browser.