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

Revision 1887, 7.1 KB checked in by Takemikaduchi, 14 years ago (diff)

rebuild with rpm-4.8.1

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