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

Revision 8064, 7.4 KB checked in by Takemikaduchi, 10 years ago (diff)

freetype2: fix pkgconfig
xserver: update to 1.14.5
others: new upstream release or rebuild

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.8
7Release: 2%{?_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* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-2
127- rebuild with VineSeed environment
128
129* Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
130- new upstream release
131- add BuildRequires: xorg-x11-util-macros
132
133* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
134- new upstream release
135
136* Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-2
137- rebuild with rpm-4.8.1 for pkg-config file
138
139* Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1
140- new upstream release
141
142* Sat Jul 11 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.5-2
143- added compat32 package for x86_64 arch support
144
145* Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1
146- new upstream release
147
148* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
149- new versioning policy
150
151* Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-0vl1
152- initial build for Vine Linux
153
154* Tue Jan 15 2008 parag <paragn@fedoraproject.org> - 1.0.4-4
155- Merge-Review #226077
156- Removed XFree86-libs, xorg-x11-libs XFree86-devel, xorg-x11-devel as Obsoletes
157- Removed BR:pkgconfig
158- Removed zero-length AUTHORS README file
159
160* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.4-3
161- Rebuild for build id
162
163* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-2
164- Don't install INSTALL
165
166* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.4-1.fc7
167- Update to 1.0.4
168
169* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.3-3.1
170- rebuild
171
172* Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.3-3
173- Added "Requires: xorg-x11-proto-devel" to devel package for xkbfile.pc
174
175* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.3-2
176- Added "BuildRequires: pkgconfig" for (#193424)
177- Replace "makeinstall" with "make install DESTDIR=..."
178- Remove package ownership of mandir/libdir/etc.
179
180* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.3-1
181- Update to 1.0.3
182
183* Tue Feb 28 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
184- Updated libxkbfile to version 1.0.2
185
186* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
187- bump again for double-long bug on ppc(64)
188
189* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
190- rebuilt for new gcc4.1 snapshot and glibc changes
191
192* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
193- Updated libxkbfile to version 1.0.1 from X11R7.0
194
195* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
196- Updated libxkbfile to version 1.0.0 from X11R7 RC4
197
198* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
199- Updated libxkbfile to version 0.99.2 from X11R7 RC3
200- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
201  that /usr/lib/X11 and /usr/include/X11 pre-exist.
202- Removed 'x' suffix from manpage directories to match RC3 upstream.
203
204* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
205- rebuilt
206
207* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-3
208- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
209- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
210
211* Thu Oct 27 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
212- Work around pointer aliasing problem with -fno-strict-aliasing
213
214* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
215- Updated libxkbfile to version 0.99.1 from X11R7 RC1
216
217* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
218- Renamed package to remove xorg-x11 from the name due to unanimous decision
219  between developers.
220- Use Fedora Extras style BuildRoot tag.
221- Disable static library creation by default.
222- Add missing defattr to devel subpackage
223- Add missing documentation files to doc macro
224
225* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
226- Renamed package to prepend "xorg-x11" to the name for consistency with
227  the rest of the X11R7 packages.
228- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
229  subpackage to ensure the devel package matches the installed shared libs.
230- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
231  allow applications to use implementation agnostic dependencies.
232- Added post/postun scripts which call ldconfig.
233- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
234  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
235
236* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
237- Initial build.
Note: See TracBrowser for help on using the repository browser.