source: projects/specs/branches/6/lib/libS/libSM/libSM-vl.spec @ 2203

Revision 2203, 6.8 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 libSM runtime library
4Summary(ja): X.Org X11 libSM ランタイムライブラリ
5Name: libSM
6Version: 1.2.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}-%{release}-root
15BuildRequires: pkgconfig
16BuildRequires: xorg-x11-proto-devel
17BuildRequires: xorg-x11-xtrans-devel >= 1.0.3
18BuildRequires: libICE-devel
19BuildRequires: e2fsprogs-devel
20Obsoletes: XFree86-libs, XOrg-libs
21
22%description
23X.Org X11 libSM runtime library
24
25%package devel
26Summary: X.Org X11 libSM development package
27Group: Development/Libraries
28Requires(pre): xorg-x11-filesystem >= 0.99.2
29Requires: %{name} = %{version}-%{release}
30Requires: libICE-devel
31Requires: xorg-x11-proto-devel
32Obsoletes: XFree86-devel, XOrg-devel
33
34%description devel
35X.Org X11 libSM development package
36
37# compat32
38%package -n compat32-%{name}
39Summary: X.Org X11 libSM runtime library
40Summary(ja): X.Org X11 libSM ランタイムライブラリ
41Group: System Environment/Libraries
42
43%description -n compat32-%{name}
44X.Org X11 libSM runtime library
45
46%package -n compat32-%{name}-devel
47Summary: X.Org X11 libSM development package
48Group: Development/Libraries
49Requires(pre): xorg-x11-filesystem >= 0.99.2
50Requires: compat32-%{name} = %{version}-%{release}
51Requires: %{name}-devel = %{version}-%{release}
52Requires: compat32-libICE-devel
53
54%description -n compat32-%{name}-devel
55X.Org X11 libSM 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
65%configure \
66%if ! %{with_static}
67        --disable-static
68%endif
69make
70
71%install
72rm -rf $RPM_BUILD_ROOT
73
74make install DESTDIR=$RPM_BUILD_ROOT
75
76# We intentionally don't ship *.la files
77rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
78
79# remove xml and txt file
80rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
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 AUTHORS COPYING README ChangeLog
94%{_libdir}/libSM.so.6
95%{_libdir}/libSM.so.6.0.*
96
97%files devel
98%defattr(-,root,root,-)
99%dir %{_includedir}/X11
100%dir %{_includedir}/X11/SM
101%{_includedir}/X11/SM/SM.h
102%{_includedir}/X11/SM/SMlib.h
103%{_includedir}/X11/SM/SMproto.h
104%if %{with_static}
105%{_libdir}/libSM.a
106%endif
107%{_libdir}/libSM.so
108%{_libdir}/pkgconfig/sm.pc
109
110# compat32
111%if %{build_compat32}
112%files -n compat32-%{name}
113%defattr(-,root,root,-)
114%{_libdir}/libSM.so.6
115%{_libdir}/libSM.so.6.0.*
116
117%files -n compat32-%{name}-devel
118%defattr(-,root,root,-)
119%if %{with_static}
120%{_libdir}/libSM.a
121%endif
122%{_libdir}/libSM.so
123%{_libdir}/pkgconfig/sm.pc
124%endif
125
126%changelog
127* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
128- new upstream release
129
130* Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 1.1.1-2
131- build with rpm-4.8.1-1 for pkg-config file
132
133* Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.1-1
134- new upstream release
135
136* Mon May 04 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.0-2
137- added compat32 package for x86_64 arch support
138
139* Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-1
140- new upstream release
141
142* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
143- new versioning policy
144
145* Sun Jan 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-0vl1
146- initial build for Vine Linux
147
148* Thu Sep 20 2007 Adam Jackson <ajax@redhat.com> 1.0.2-4
149- Update xtrans dep and rebuild.
150
151* Mon Sep 17 2007 Adam Jackson <ajax@redhat.com> 1.0.2-3
152- Rebuild for abstract socket support.
153
154* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.2-2
155- Rebuild for build id
156
157* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.2-2
158- Don't install INSTALL
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-3.1
164- rebuild
165
166* Tue Jun 06 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
167- Added "Requires: xorg-x11-proto-devel" to devel package.
168
169* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
170- Added "BuildRequires: pkgconfig" for (#193421)
171- Replace "makeinstall" with "make install DESTDIR=..."
172
173* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
174- Update to 1.0.1
175
176* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.2
177- bump again for double-long bug on ppc(64)
178
179* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.1
180- rebuilt for new gcc4.1 snapshot and glibc changes
181
182* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
183- Bumped and rebuilt
184
185* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
186- Updated libSM to version 1.0.0 from X11R7 RC4
187
188* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1
189- Updated libSM to version 0.99.3 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.2-1
198- Updated libSM to version 0.99.2 from X11R7 RC2
199- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
200- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
201
202* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
203- Updated libSM to version 0.99.1 from X11R7 RC1
204
205* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
206- Renamed package to remove xorg-x11 from the name due to unanimous decision
207  between developers.
208- Use Fedora Extras style BuildRoot tag.
209- Disable static library creation by default.
210- Add missing defattr to devel subpackage
211- Add missing documentation files to doc macro
212
213* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
214- Renamed package to remove "xorg-x11" from the name due to unanimous decision
215  between developers.
216- Use Fedora Extras style BuildRoot tag.
217- Disable static library creation by default.
218- Add missing defattr to devel subpackage
219- Add missing documentation files to doc macro
220
221* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
222- Renamed package to prepend "xorg-x11" to the name for consistency with
223  the rest of the X11R7 packages.
224- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
225  subpackage to ensure the devel package matches the installed shared libs.
226- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
227  allow applications to use implementation agnostic dependencies.
228- Added post/postun scripts which call ldconfig.
229- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
230  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
231
232* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
233- Initial build.
Note: See TracBrowser for help on using the repository browser.