source: projects/specs/tags/6_0_REL/lib/libX/libXi/libXi-vl.spec @ 3014

Revision 3014, 7.0 KB checked in by Takemikaduchi, 13 years ago (diff)

new upstream release

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary: X.Org X11 libXi runtime library
4Summary(ja): X.Org X11 libXi ランタイムライブラリ
5Name: libXi
6Version: 1.4.2
7Release: 1%{?_dist_release}
8License: MIT/X11
9Group: System Environment/Libraries
10URL: http://www.x.org
11
12Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildRequires: pkgconfig
16BuildRequires: xorg-x11-proto-devel
17BuildRequires: libX11-devel
18BuildRequires: libXext-devel
19BuildRequires: libXau-devel
20Obsoletes: XFree86-libs, XOrg-libs
21
22%description
23X.Org X11 libXi runtime library
24
25%package devel
26Summary: X.Org X11 libXi development package
27Summary(ja): X.Org X11 libXi 開発パッケージ
28Group: Development/Libraries
29Requires(pre): xorg-x11-filesystem
30Requires: %{name} = %{version}-%{release}
31Requires: xorg-x11-proto-devel
32Obsoletes: XFree86-devel, XOrg-devel
33
34%description devel
35X.Org X11 libXi development package
36
37# compat32
38%package -n compat32-%{name}
39Summary: X.Org X11 libXi runtime library
40Summary(ja): X.Org X11 libXi ランタイムライブラリ
41Group: System Environment/Libraries
42
43%description -n compat32-%{name}
44X.Org X11 libXi runtime library
45
46%package -n compat32-%{name}-devel
47Summary: X.Org X11 libXi development package
48Summary(ja): X.Org X11 libXi 開発パッケージ
49Group: Development/Libraries
50Requires(pre): xorg-x11-filesystem
51Requires: compat32-%{name} = %{version}-%{release}
52Requires: %{name}-devel = %{version}-%{release}
53
54%description -n compat32-%{name}-devel
55X.Org X11 libXi development package
56
57%prep
58%setup -q
59
60# Disable static library creation by default.
61%define with_static 0
62
63%build
64%configure \
65%if ! %{with_static}
66        --disable-static
67%endif
68make
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# remove xml and txt file
79rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
80rm -rf $RPM_BUILD_ROOT%{_mandir}
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%doc COPYING README ChangeLog
94%{_libdir}/libXi.so.6
95%{_libdir}/libXi.so.6.*
96
97%files devel
98%defattr(-,root,root,-)
99%{_includedir}/X11/extensions/*.h
100%if %{with_static}
101%{_libdir}/libXi.a
102%endif
103%{_libdir}/libXi.so
104%{_libdir}/pkgconfig/xi.pc
105
106# compat32
107%if %{build_compat32}
108%files -n compat32-%{name}
109%defattr(-,root,root,-)
110%{_libdir}/libXi.so.6
111%{_libdir}/libXi.so.6.*
112
113%files -n compat32-%{name}-devel
114%defattr(-,root,root,-)
115%if %{with_static}
116%{_libdir}/libXi.a
117%endif
118%{_libdir}/libXi.so
119%{_libdir}/pkgconfig/xi.pc
120%endif
121
122%changelog
123* Sat Mar 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1
124- new upstream release
125
126* Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1
127- new upstream release
128
129* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
130- new upstream release
131- fix %%install
132
133* Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3-2
134- rebuild with rpm-4.8.1 for pkg-config file
135- fix %files (remove AUTHOR, man3)
136
137* Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3-1
138- new upstream release
139
140* Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.2.1-2
141- added compat32 package for x86_64 arch support
142
143* Sat Apr 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-1
144- new upstream release
145
146* Sun Dec 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1
147- new upstream release
148
149* Sun Nov 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.4-1
150- new upstream release
151
152* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-1
153- new versioning policy
154
155* Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-0vl1
156- initial build for Vine Linux
157
158* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.1.3-1
159- libXi 1.1.3
160
161* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.1.1-2
162- Rebuild for build id
163
164* Wed Jul 11 2007 Adam Jackson <ajax@redhat.com> 1.1.1-1
165- libXi 1.1.1
166
167* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-2
168- Don't install INSTALL
169
170* Wed Apr 11 2007 Adam Jackson <ajax@redhat.com> 1.0.4-1
171- libXi 1.0.4
172
173* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.2-1
174- Update to 1.0.2
175
176* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-3.1
177- rebuild
178
179* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
180- Added "Requires: xorg-x11-proto-devel" to devel package for xi.pc
181- Remove package ownership of mandir/libdir/etc.
182
183* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
184- Replace "makeinstall" with "make install DESTDIR=..." for (#192721)
185- Remove package ownership of mandir/libdir/etc.
186
187* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
188- Update to 1.0.1
189
190* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.2
191- bump again for double-long bug on ppc(64)
192
193* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.1
194- rebuilt for new gcc4.1 snapshot and glibc changes
195
196* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
197- Bumped and rebuilt
198
199* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
200- Updated libXi to version 1.0.0 from X11R7 RC4
201
202* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
203- Updated libXi to version 0.99.2 from X11R7 RC3
204- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
205  that /usr/lib/X11 and /usr/include/X11 pre-exist.
206- Removed 'x' suffix from manpage directories to match RC3 upstream.
207
208* Tue Nov 15 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-3
209- Added "BuildRequires: libXau-devel", as build fails without it, but does
210  not check for it with ./configure.  Bug (fdo#5065)
211
212* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
213- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
214- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
215
216* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
217- Updated libXi to version 0.99.1 from X11R7 RC1
218- Updated file manifest to find manpages in "man3x"
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.