source: projects/specs/trunk/lib/libx/libxkbfile/libxkbfile-vl.spec @ 9579

Revision 9579, 7.5 KB checked in by Takemikaduchi, 9 years ago (diff)

new upstream release

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary: X.Org X11 libxkbfile runtime library
4Summary(ja): X.Org X11 libxkbfile ランタイムライブラリ
5Name: libxkbfile
6Version: 1.0.9
7Release: 1%{?_dist_release}
8License: MIT
9Group: System Environment/Libraries
10URL: http://www.x.org
11
12Source0: ftp://ftp.x.org/pub/individual/lib/libxkbfile/%{name}-%{version}.tar.bz2
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
15BuildRequires: xorg-x11-proto-devel
16BuildRequires: xorg-x11-util-macros
17BuildRequires: libX11-devel
18
19%description
20X.Org X11 libxkbfile runtime library
21
22%package devel
23Summary: X.Org X11 libxkbfile development package
24Summary(ja): X.Org X11 libxkbfile 開発パッケージ
25Group: Development/Libraries
26Requires(pre): xorg-x11-filesystem
27Requires: %{name} = %{version}-%{release}
28Requires: pkgconfig
29BuildRequires: xorg-x11-proto-devel
30
31%description devel
32X.Org X11 libxkbfile development package
33
34# compat32
35%package -n compat32-%{name}
36Summary: X.Org X11 libxkbfile runtime library
37Summary(ja): X.Org X11 libxkbfile ランタイムライブラリ
38Group: System Environment/Libraries
39Requires: %{name} = %{version}-%{release}
40
41%description -n compat32-%{name}
42X.Org X11 libxkbfile runtime library
43
44%package -n compat32-%{name}-devel
45Summary: X.Org X11 libxkbfile development package
46Summary(ja): X.Org X11 libxkbfile 開発パッケージ
47Group: Development/Libraries
48Requires(pre): xorg-x11-filesystem
49Requires: %{name}-devel = %{version}-%{release}
50Requires: compat32-%{name} = %{version}-%{release}
51
52%description -n compat32-%{name}-devel
53X.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)
64export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
65%configure \
66%if ! %{with_static}
67        --disable-static
68%endif
69make %{?_smp_mflags}
70
71%install
72rm -rf $RPM_BUILD_ROOT
73
74make install DESTDIR=$RPM_BUILD_ROOT
75
76# We intentionally don't ship *.la files
77rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
78
79%clean
80rm -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%endif
124
125%changelog
126* Sun May 24 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.9-1
127- new upstream release
128
129* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-2
130- rebuild with VineSeed environment
131
132* Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
133- new upstream release
134- add BuildRequires: xorg-x11-util-macros
135
136* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
137- new upstream release
138
139* Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-2
140- rebuild with rpm-4.8.1 for pkg-config file
141
142* Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1
143- new upstream release
144
145* Sat Jul 11 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.5-2
146- added compat32 package for x86_64 arch support
147
148* Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1
149- new upstream release
150
151* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
152- new versioning policy
153
154* Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-0vl1
155- initial build for Vine Linux
156
157* Tue Jan 15 2008 parag <paragn@fedoraproject.org> - 1.0.4-4
158- Merge-Review #226077
159- Removed XFree86-libs, xorg-x11-libs XFree86-devel, xorg-x11-devel as Obsoletes
160- Removed BR:pkgconfig
161- Removed zero-length AUTHORS README file
162
163* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.4-3
164- Rebuild for build id
165
166* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-2
167- Don't install INSTALL
168
169* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.4-1.fc7
170- Update to 1.0.4
171
172* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.3-3.1
173- rebuild
174
175* Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.3-3
176- Added "Requires: xorg-x11-proto-devel" to devel package for xkbfile.pc
177
178* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.3-2
179- Added "BuildRequires: pkgconfig" for (#193424)
180- Replace "makeinstall" with "make install DESTDIR=..."
181- Remove package ownership of mandir/libdir/etc.
182
183* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.3-1
184- Update to 1.0.3
185
186* Tue Feb 28 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
187- Updated libxkbfile to version 1.0.2
188
189* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
190- bump again for double-long bug on ppc(64)
191
192* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
193- rebuilt for new gcc4.1 snapshot and glibc changes
194
195* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
196- Updated libxkbfile to version 1.0.1 from X11R7.0
197
198* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
199- Updated libxkbfile to version 1.0.0 from X11R7 RC4
200
201* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
202- Updated libxkbfile to version 0.99.2 from X11R7 RC3
203- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
204  that /usr/lib/X11 and /usr/include/X11 pre-exist.
205- Removed 'x' suffix from manpage directories to match RC3 upstream.
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> 0.99.1-3
211- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
212- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
213
214* Thu Oct 27 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
215- Work around pointer aliasing problem with -fno-strict-aliasing
216
217* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
218- Updated libxkbfile to version 0.99.1 from X11R7 RC1
219
220* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
221- Renamed package to remove xorg-x11 from the name due to unanimous decision
222  between developers.
223- Use Fedora Extras style BuildRoot tag.
224- Disable static library creation by default.
225- Add missing defattr to devel subpackage
226- Add missing documentation files to doc macro
227
228* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
229- Renamed package to prepend "xorg-x11" to the name for consistency with
230  the rest of the X11R7 packages.
231- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
232  subpackage to ensure the devel package matches the installed shared libs.
233- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
234  allow applications to use implementation agnostic dependencies.
235- Added post/postun scripts which call ldconfig.
236- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
237  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
238
239* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
240- Initial build.
Note: See TracBrowser for help on using the repository browser.