source: projects/specs/trunk/lib/libX/libXres/libXres-vl.spec @ 7707

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