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

Revision 6172, 7.5 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.6.1
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* Fri May 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
127- new upstream release
128
129* Sat Mar 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
130- new upstream release
131
132* Sun Jan 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.0-1
133- new upstream release
134
135* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.5-1
136- new upstream release
137
138* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.3-1
139- new upstream release
140
141* Sat Mar 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1
142- new upstream release
143
144* Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1
145- new upstream release
146
147* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
148- new upstream release
149- fix %%install
150
151* Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3-2
152- rebuild with rpm-4.8.1 for pkg-config file
153- fix %files (remove AUTHOR, man3)
154
155* Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3-1
156- new upstream release
157
158* Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.2.1-2
159- added compat32 package for x86_64 arch support
160
161* Sat Apr 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-1
162- new upstream release
163
164* Sun Dec 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1
165- new upstream release
166
167* Sun Nov 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.4-1
168- new upstream release
169
170* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-1
171- new versioning policy
172
173* Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-0vl1
174- initial build for Vine Linux
175
176* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.1.3-1
177- libXi 1.1.3
178
179* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.1.1-2
180- Rebuild for build id
181
182* Wed Jul 11 2007 Adam Jackson <ajax@redhat.com> 1.1.1-1
183- libXi 1.1.1
184
185* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-2
186- Don't install INSTALL
187
188* Wed Apr 11 2007 Adam Jackson <ajax@redhat.com> 1.0.4-1
189- libXi 1.0.4
190
191* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.2-1
192- Update to 1.0.2
193
194* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-3.1
195- rebuild
196
197* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
198- Added "Requires: xorg-x11-proto-devel" to devel package for xi.pc
199- Remove package ownership of mandir/libdir/etc.
200
201* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
202- Replace "makeinstall" with "make install DESTDIR=..." for (#192721)
203- Remove package ownership of mandir/libdir/etc.
204
205* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
206- Update to 1.0.1
207
208* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.2
209- bump again for double-long bug on ppc(64)
210
211* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.1
212- rebuilt for new gcc4.1 snapshot and glibc changes
213
214* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
215- Bumped and rebuilt
216
217* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
218- Updated libXi to version 1.0.0 from X11R7 RC4
219
220* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
221- Updated libXi to version 0.99.2 from X11R7 RC3
222- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
223  that /usr/lib/X11 and /usr/include/X11 pre-exist.
224- Removed 'x' suffix from manpage directories to match RC3 upstream.
225
226* Tue Nov 15 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-3
227- Added "BuildRequires: libXau-devel", as build fails without it, but does
228  not check for it with ./configure.  Bug (fdo#5065)
229
230* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
231- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
232- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
233
234* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
235- Updated libXi to version 0.99.1 from X11R7 RC1
236- Updated file manifest to find manpages in "man3x"
237
238* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
239- Renamed package to remove xorg-x11 from the name due to unanimous decision
240  between developers.
241- Use Fedora Extras style BuildRoot tag.
242- Disable static library creation by default.
243- Add missing defattr to devel subpackage
244- Add missing documentation files to doc macro
245
246* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
247- Renamed package to prepend "xorg-x11" to the name for consistency with
248  the rest of the X11R7 packages.
249- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
250  subpackage to ensure the devel package matches the installed shared libs.
251- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
252  allow applications to use implementation agnostic dependencies.
253- Added post/postun scripts which call ldconfig.
254- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
255  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
256
257* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
258- Initial build.
Note: See TracBrowser for help on using the repository browser.