1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
2 | |
---|
3 | Summary: X.Org X11 libxkbfile runtime library |
---|
4 | Summary(ja): X.Org X11 libxkbfile ランタイムライブラリ |
---|
5 | Name: libxkbfile |
---|
6 | Version: 1.0.8 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | License: MIT |
---|
9 | Group: System Environment/Libraries |
---|
10 | URL: http://www.x.org |
---|
11 | |
---|
12 | Source0: ftp://ftp.x.org/pub/individual/lib/libxkbfile/%{name}-%{version}.tar.bz2 |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
15 | BuildRequires: xorg-x11-proto-devel |
---|
16 | BuildRequires: xorg-x11-util-macros |
---|
17 | BuildRequires: libX11-devel |
---|
18 | |
---|
19 | %description |
---|
20 | X.Org X11 libxkbfile runtime library |
---|
21 | |
---|
22 | %package devel |
---|
23 | Summary: X.Org X11 libxkbfile development package |
---|
24 | Summary(ja): X.Org X11 libxkbfile 開発パッケージ |
---|
25 | Group: Development/Libraries |
---|
26 | Requires(pre): xorg-x11-filesystem |
---|
27 | Requires: %{name} = %{version}-%{release} |
---|
28 | Requires: pkgconfig |
---|
29 | BuildRequires: xorg-x11-proto-devel |
---|
30 | |
---|
31 | %description devel |
---|
32 | X.Org X11 libxkbfile development package |
---|
33 | |
---|
34 | # compat32 |
---|
35 | %package -n compat32-%{name} |
---|
36 | Summary: X.Org X11 libxkbfile runtime library |
---|
37 | Summary(ja): X.Org X11 libxkbfile ランタイムライブラリ |
---|
38 | Group: System Environment/Libraries |
---|
39 | Requires: %{name} = %{version}-%{release} |
---|
40 | |
---|
41 | %description -n compat32-%{name} |
---|
42 | X.Org X11 libxkbfile runtime library |
---|
43 | |
---|
44 | %package -n compat32-%{name}-devel |
---|
45 | Summary: X.Org X11 libxkbfile development package |
---|
46 | Summary(ja): X.Org X11 libxkbfile 開発パッケージ |
---|
47 | Group: Development/Libraries |
---|
48 | Requires(pre): xorg-x11-filesystem |
---|
49 | Requires: %{name}-devel = %{version}-%{release} |
---|
50 | Requires: compat32-%{name} = %{version}-%{release} |
---|
51 | |
---|
52 | %description -n compat32-%{name}-devel |
---|
53 | X.Org X11 libxkbfile development package |
---|
54 | |
---|
55 | %prep |
---|
56 | %setup -q |
---|
57 | |
---|
58 | # Disable static library creation by default. |
---|
59 | %define with_static 0 |
---|
60 | |
---|
61 | %build |
---|
62 | # FIXME: We use -fno-strict-aliasing, to work around the following bug: |
---|
63 | # maprules.c:1373: warning: dereferencing type-punned pointer will break strict-aliasing rules) |
---|
64 | export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" |
---|
65 | %configure \ |
---|
66 | %if ! %{with_static} |
---|
67 | --disable-static |
---|
68 | %endif |
---|
69 | make %{?_smp_mflags} |
---|
70 | |
---|
71 | %install |
---|
72 | rm -rf $RPM_BUILD_ROOT |
---|
73 | |
---|
74 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
75 | |
---|
76 | # We intentionally don't ship *.la files |
---|
77 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
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 COPYING ChangeLog |
---|
91 | %{_libdir}/libxkbfile.so.1 |
---|
92 | %{_libdir}/libxkbfile.so.1.0.2 |
---|
93 | |
---|
94 | %files devel |
---|
95 | %defattr(-,root,root,-) |
---|
96 | %dir %{_includedir}/X11 |
---|
97 | %dir %{_includedir}/X11/extensions |
---|
98 | %{_includedir}/X11/extensions/XKBbells.h |
---|
99 | %{_includedir}/X11/extensions/XKBconfig.h |
---|
100 | %{_includedir}/X11/extensions/XKBfile.h |
---|
101 | %{_includedir}/X11/extensions/XKBrules.h |
---|
102 | %{_includedir}/X11/extensions/XKM.h |
---|
103 | %{_includedir}/X11/extensions/XKMformat.h |
---|
104 | %if %{with_static} |
---|
105 | %{_libdir}/libxkbfile.a |
---|
106 | %endif |
---|
107 | %{_libdir}/libxkbfile.so |
---|
108 | %{_libdir}/pkgconfig/xkbfile.pc |
---|
109 | |
---|
110 | # compat32 |
---|
111 | %if %{build_compat32} |
---|
112 | %files -n compat32-%{name} |
---|
113 | %defattr(-,root,root,-) |
---|
114 | %{_libdir}/libxkbfile.so.1 |
---|
115 | %{_libdir}/libxkbfile.so.1.0.2 |
---|
116 | |
---|
117 | %files -n compat32-%{name}-devel |
---|
118 | %defattr(-,root,root,-) |
---|
119 | %if %{with_static} |
---|
120 | %{_libdir}/libxkbfile.a |
---|
121 | %endif |
---|
122 | %{_libdir}/libxkbfile.so |
---|
123 | %{_libdir}/pkgconfig/xkbfile.pc |
---|
124 | %endif |
---|
125 | |
---|
126 | %changelog |
---|
127 | * Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1 |
---|
128 | - new upstream release |
---|
129 | - add BuildRequires: xorg-x11-util-macros |
---|
130 | |
---|
131 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1 |
---|
132 | - new upstream release |
---|
133 | |
---|
134 | * Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-2 |
---|
135 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
136 | |
---|
137 | * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1 |
---|
138 | - new upstream release |
---|
139 | |
---|
140 | * Sat Jul 11 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.5-2 |
---|
141 | - added compat32 package for x86_64 arch support |
---|
142 | |
---|
143 | * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1 |
---|
144 | - new upstream release |
---|
145 | |
---|
146 | * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1 |
---|
147 | - new versioning policy |
---|
148 | |
---|
149 | * Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-0vl1 |
---|
150 | - initial build for Vine Linux |
---|
151 | |
---|
152 | * Tue Jan 15 2008 parag <paragn@fedoraproject.org> - 1.0.4-4 |
---|
153 | - Merge-Review #226077 |
---|
154 | - Removed XFree86-libs, xorg-x11-libs XFree86-devel, xorg-x11-devel as Obsoletes |
---|
155 | - Removed BR:pkgconfig |
---|
156 | - Removed zero-length AUTHORS README file |
---|
157 | |
---|
158 | * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.4-3 |
---|
159 | - Rebuild for build id |
---|
160 | |
---|
161 | * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-2 |
---|
162 | - Don't install INSTALL |
---|
163 | |
---|
164 | * Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.4-1.fc7 |
---|
165 | - Update to 1.0.4 |
---|
166 | |
---|
167 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.3-3.1 |
---|
168 | - rebuild |
---|
169 | |
---|
170 | * Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.3-3 |
---|
171 | - Added "Requires: xorg-x11-proto-devel" to devel package for xkbfile.pc |
---|
172 | |
---|
173 | * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.3-2 |
---|
174 | - Added "BuildRequires: pkgconfig" for (#193424) |
---|
175 | - Replace "makeinstall" with "make install DESTDIR=..." |
---|
176 | - Remove package ownership of mandir/libdir/etc. |
---|
177 | |
---|
178 | * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.3-1 |
---|
179 | - Update to 1.0.3 |
---|
180 | |
---|
181 | * Tue Feb 28 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1 |
---|
182 | - Updated libxkbfile to version 1.0.2 |
---|
183 | |
---|
184 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2 |
---|
185 | - bump again for double-long bug on ppc(64) |
---|
186 | |
---|
187 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1 |
---|
188 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
189 | |
---|
190 | * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1 |
---|
191 | - Updated libxkbfile to version 1.0.1 from X11R7.0 |
---|
192 | |
---|
193 | * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1 |
---|
194 | - Updated libxkbfile to version 1.0.0 from X11R7 RC4 |
---|
195 | |
---|
196 | * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1 |
---|
197 | - Updated libxkbfile to version 0.99.2 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.1-3 |
---|
206 | - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes' |
---|
207 | - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes' |
---|
208 | |
---|
209 | * Thu Oct 27 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2 |
---|
210 | - Work around pointer aliasing problem with -fno-strict-aliasing |
---|
211 | |
---|
212 | * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1 |
---|
213 | - Updated libxkbfile to version 0.99.1 from X11R7 RC1 |
---|
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. |
---|