source: projects/specs/branches/6/lib/libI/libICE/libICE-vl.spec @ 2203

Revision 2203, 6.5 KB checked in by Takemikaduchi, 13 years ago (diff)

update Xorg libraries and xserver, and rebuild driver

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary: X.Org X11 libICE runtime library
4Summary(ja): X.Org X11 libICE ランタイムライブラリ
5Name: libICE
6Version: 1.0.7
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}-%{release}-root
15BuildRequires: pkgconfig
16BuildRequires: xorg-x11-proto-devel
17BuildRequires: xorg-x11-xtrans-devel
18Obsoletes: XFree86-libs, XOrg-libs
19
20%description
21X.Org X11 libICE runtime library
22
23%package devel
24Summary: X.Org X11 libICE development package
25Group: Development/Libraries
26Requires(pre): xorg-x11-filesystem
27Requires: %{name} = %{version}-%{release}
28Requires: xorg-x11-proto-devel
29Obsoletes: XFree86-devel, XOrg-devel
30
31%description devel
32X.Org X11 libICE development package
33
34# compat32
35%package -n compat32-%{name}
36Summary: X.Org X11 libICE runtime library
37Summary(ja): X.Org X11 libICE ランタイムライブラリ
38Group: System Environment/Libraries
39
40%description -n compat32-%{name}
41X.Org X11 libICE runtime library
42
43%package -n compat32-%{name}-devel
44Summary: X.Org X11 libICE development package
45Group: Development/Libraries
46Requires(pre): xorg-x11-filesystem
47Requires: compat32-%{name} = %{version}-%{release}
48Requires: %{name}-devel = %{version}-%{release}
49
50%description -n compat32-%{name}-devel
51X.Org X11 libICE development package
52
53%prep
54%setup -q
55
56# Disable static library creation by default.
57%define with_static 0
58
59%build
60%configure \
61%if ! %{with_static}
62       --disable-static
63%endif
64make
65
66%install
67rm -rf $RPM_BUILD_ROOT
68
69make install DESTDIR=$RPM_BUILD_ROOT
70
71# We intentionally don't ship *.la files
72rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
73
74# remove xml and txt file
75rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
76
77%clean
78rm -rf $RPM_BUILD_ROOT
79
80%post -p /sbin/ldconfig
81%postun -p /sbin/ldconfig
82
83%post -n compat32-%{name} -p /sbin/ldconfig
84%postun -n compat32-%{name} -p /sbin/ldconfig
85
86%files
87%defattr(-,root,root,-)
88%doc AUTHORS COPYING README ChangeLog
89%{_libdir}/libICE.so.6
90%{_libdir}/libICE.so.6.3.0
91
92%files devel
93%dir %{_includedir}/X11
94%dir %{_includedir}/X11/ICE
95%{_includedir}/X11/ICE/*.h
96%if %{with_static}
97%{_libdir}/libICE.a
98%endif
99%{_libdir}/libICE.so
100%{_libdir}/pkgconfig/ice.pc
101
102# compat32
103%if %{build_compat32}
104%files -n compat32-%{name}
105%defattr(-,root,root,-)
106%{_libdir}/libICE.so.6
107%{_libdir}/libICE.so.6.3.0
108
109%files  -n compat32-%{name}-devel
110%if %{with_static}
111%{_libdir}/libICE.a
112%endif
113%{_libdir}/libICE.so
114%{_libdir}/pkgconfig/ice.pc
115%endif
116
117%changelog
118* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
119- new upstream release
120
121* Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 1.0.6-2
122- build with rpm-4.8.1-1 for pkg-config file
123
124* Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.6-1
125- new upstream release
126
127* Mon May 04 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.5-2
128- added compat32 package for x86_64 arch support
129
130* Thu Jan 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1
131- new upstream release
132
133* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
134- new versioning policy
135
136* Sun Jan 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-0vl1
137- initial build for Vine Linux
138
139* Mon Oct 01 2007 Adam Jackson <ajax@redhat.com> 1.0.4-2
140- Rebuild against xtrans 1.0.3-5 to pick up gethostname() avoidance.
141
142* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.0.4-1
143- libICE 1.0.4
144
145* Thu Sep 20 2007 Adam Jackson <ajax@redhat.com> 1.0.3-5
146- Update xtrans dep and rebuild.
147
148* Mon Sep 17 2007 Adam Jackson <ajax@redhat.com> 1.0.3-4
149- Rebuild for abstract socket support.
150
151* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.3-3
152- Rebuild for build id
153
154* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.3-2
155- Don't install INSTALL
156
157* Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.0.3-1
158- Update to 1.0.3
159
160* Mon Nov 20 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
161- Update to 1.0.2.
162
163* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-2.1
164- rebuild
165
166* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
167- Added "Requires: xorg-x11-proto-devel"
168- Replace "makeinstall" with "make install DESTDIR=..."
169- Remove package ownership of mandir/libdir/etc.
170
171* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
172- Update to 1.0.1
173
174* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.2
175- bump again for double-long bug on ppc(64)
176
177* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.1
178- rebuilt for new gcc4.1 snapshot and glibc changes
179
180* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
181- Bumped and rebuilt
182
183* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
184- Updated libICE to version 1.0.0 from X11R7 RC4
185
186* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
187- Updated libICE to version 0.99.2 from X11R7 RC3
188- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
189  that /usr/lib/X11 and /usr/include/X11 pre-exist.
190- Removed 'x' suffix from manpage directories to match RC3 upstream.
191
192* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
193- rebuilt
194
195* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
196- Updated libICE to version 0.99.1 from X11R7 RC2
197- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
198- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
199
200
201* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-5
202- Updated libICE to version 0.99.0 from X11R7 RC1
203
204* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-4
205- Added BuildRequires: pkgconfig
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.