source: projects/specs/trunk/lib/libS/libSM/libSM-vl.spec @ 12185

Revision 12185, 7.4 KB checked in by tomop, 5 years ago (diff)

updated X11 libs

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