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