source: projects/specs/trunk/lib/libX/libXi/libXi-vl.spec @ 5538

Revision 5538, 7.3 KB checked in by Takemikaduchi, 12 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.5.0
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
22Vendor: Project Vine
23Distribution: Vine Linux
24
25%description
26X.Org X11 libXi runtime library
27
28%package devel
29Summary: X.Org X11 libXi development package
30Summary(ja): X.Org X11 libXi 開発パッケージ
31Group: Development/Libraries
32Requires(pre): xorg-x11-filesystem
33Requires: %{name} = %{version}-%{release}
34Requires: xorg-x11-proto-devel
35Obsoletes: XFree86-devel, XOrg-devel
36
37%description devel
38X.Org X11 libXi development package
39
40# compat32
41%package -n compat32-%{name}
42Summary: X.Org X11 libXi runtime library
43Summary(ja): X.Org X11 libXi ランタイムライブラリ
44Group: System Environment/Libraries
45
46%description -n compat32-%{name}
47X.Org X11 libXi runtime library
48
49%package -n compat32-%{name}-devel
50Summary: X.Org X11 libXi development package
51Summary(ja): X.Org X11 libXi 開発パッケージ
52Group: Development/Libraries
53Requires(pre): xorg-x11-filesystem
54Requires: compat32-%{name} = %{version}-%{release}
55Requires: %{name}-devel = %{version}-%{release}
56
57%description -n compat32-%{name}-devel
58X.Org X11 libXi development package
59
60%prep
61%setup -q
62
63# Disable static library creation by default.
64%define with_static 0
65
66%build
67%configure \
68%if ! %{with_static}
69        --disable-static
70%endif
71make
72
73%install
74rm -rf $RPM_BUILD_ROOT
75
76make install DESTDIR=$RPM_BUILD_ROOT
77
78# We intentionally don't ship *.la files
79rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
80
81# remove xml and txt file
82rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
83rm -rf $RPM_BUILD_ROOT%{_mandir}
84
85%clean
86rm -rf $RPM_BUILD_ROOT
87
88%post -p /sbin/ldconfig
89%postun -p /sbin/ldconfig
90
91%post -n compat32-%{name} -p /sbin/ldconfig
92%postun -n compat32-%{name} -p /sbin/ldconfig
93
94%files
95%defattr(-,root,root,-)
96%doc COPYING README ChangeLog
97%{_libdir}/libXi.so.6
98%{_libdir}/libXi.so.6.*
99
100%files devel
101%defattr(-,root,root,-)
102%{_includedir}/X11/extensions/*.h
103%if %{with_static}
104%{_libdir}/libXi.a
105%endif
106%{_libdir}/libXi.so
107%{_libdir}/pkgconfig/xi.pc
108
109# compat32
110%if %{build_compat32}
111%files -n compat32-%{name}
112%defattr(-,root,root,-)
113%{_libdir}/libXi.so.6
114%{_libdir}/libXi.so.6.*
115
116%files -n compat32-%{name}-devel
117%defattr(-,root,root,-)
118%if %{with_static}
119%{_libdir}/libXi.a
120%endif
121%{_libdir}/libXi.so
122%{_libdir}/pkgconfig/xi.pc
123%endif
124
125%changelog
126* Sun Jan 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-1
127- new upstream release
128
129* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.5-1
130- new upstream release
131
132* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.3-1
133- new upstream release
134
135* Sat Mar 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1
136- new upstream release
137
138* Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1
139- new upstream release
140
141* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
142- new upstream release
143- fix %%install
144
145* Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3-2
146- rebuild with rpm-4.8.1 for pkg-config file
147- fix %files (remove AUTHOR, man3)
148
149* Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3-1
150- new upstream release
151
152* Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.2.1-2
153- added compat32 package for x86_64 arch support
154
155* Sat Apr 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-1
156- new upstream release
157
158* Sun Dec 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1
159- new upstream release
160
161* Sun Nov 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.4-1
162- new upstream release
163
164* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-1
165- new versioning policy
166
167* Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-0vl1
168- initial build for Vine Linux
169
170* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.1.3-1
171- libXi 1.1.3
172
173* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.1.1-2
174- Rebuild for build id
175
176* Wed Jul 11 2007 Adam Jackson <ajax@redhat.com> 1.1.1-1
177- libXi 1.1.1
178
179* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-2
180- Don't install INSTALL
181
182* Wed Apr 11 2007 Adam Jackson <ajax@redhat.com> 1.0.4-1
183- libXi 1.0.4
184
185* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.2-1
186- Update to 1.0.2
187
188* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-3.1
189- rebuild
190
191* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
192- Added "Requires: xorg-x11-proto-devel" to devel package for xi.pc
193- Remove package ownership of mandir/libdir/etc.
194
195* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
196- Replace "makeinstall" with "make install DESTDIR=..." for (#192721)
197- Remove package ownership of mandir/libdir/etc.
198
199* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
200- Update to 1.0.1
201
202* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.2
203- bump again for double-long bug on ppc(64)
204
205* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.1
206- rebuilt for new gcc4.1 snapshot and glibc changes
207
208* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
209- Bumped and rebuilt
210
211* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
212- Updated libXi to version 1.0.0 from X11R7 RC4
213
214* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
215- Updated libXi to version 0.99.2 from X11R7 RC3
216- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
217  that /usr/lib/X11 and /usr/include/X11 pre-exist.
218- Removed 'x' suffix from manpage directories to match RC3 upstream.
219
220* Tue Nov 15 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-3
221- Added "BuildRequires: libXau-devel", as build fails without it, but does
222  not check for it with ./configure.  Bug (fdo#5065)
223
224* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
225- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
226- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
227
228* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
229- Updated libXi to version 0.99.1 from X11R7 RC1
230- Updated file manifest to find manpages in "man3x"
231
232* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
233- Renamed package to remove xorg-x11 from the name due to unanimous decision
234  between developers.
235- Use Fedora Extras style BuildRoot tag.
236- Disable static library creation by default.
237- Add missing defattr to devel subpackage
238- Add missing documentation files to doc macro
239
240* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
241- Renamed package to prepend "xorg-x11" to the name for consistency with
242  the rest of the X11R7 packages.
243- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
244  subpackage to ensure the devel package matches the installed shared libs.
245- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
246  allow applications to use implementation agnostic dependencies.
247- Added post/postun scripts which call ldconfig.
248- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
249  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
250
251* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
252- Initial build.
Note: See TracBrowser for help on using the repository browser.