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