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

Revision 12185, 7.6 KB checked in by tomop, 5 years ago (diff)

updated X11 libs

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