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