Dominique Leuenberger 2023-01-01 08:38:17 +00:00 committed by Git OBS Bridge
commit 3de14a088d
4 changed files with 43 additions and 34 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d264499dcb05f56438dee12a1b4b71d76736ce7ba7aa6efbf15ebb113769cbb
size 362595

BIN
libSM-1.2.4.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Dec 23 08:18:44 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.2.4:
* Handle arrays too large to fit in iceConn buffers
* v2: Raise required libICE version to 1.1.0 to get the updated
* IceGetHeaderExtra macro definition needed for this to work correctly.
* Fix some potential memory leaks in SmcCloseConnection().
* Add uuid as private dependency to sm.pc for static linking
* Build xz tarballs instead of bzip2
* Fix spelling/wording issues
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 10 16:19:40 UTC 2018 - sndirsch@suse.com Wed Oct 10 16:19:40 UTC 2018 - sndirsch@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package libSM # spec file for package libSM
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,24 +12,22 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: libSM
%define lname libSM6 %define lname libSM6
Version: 1.2.3 Name: libSM
Version: 1.2.4
Release: 0 Release: 0
Summary: X Session Management library Summary: X Session Management library
License: MIT License: MIT
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://xorg.freedesktop.org/ URL: https://xorg.freedesktop.org/
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libSM #Git-Clone: git://anongit.freedesktop.org/xorg/lib/libSM
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libSM/ #Git-Web: http://cgit.freedesktop.org/xorg/lib/libSM/
Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2 Source: https://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz
Source1: baselibs.conf Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#git#BuildRequires: autoconf >= 2.60, automake, libtool #git#BuildRequires: autoconf >= 2.60, automake, libtool
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(ice) >= 1.0.5 BuildRequires: pkgconfig(ice) >= 1.0.5
@ -49,14 +47,14 @@ that the client will save its state in such a way that the client can
be restarted at a later time and resume its operation as if it had be restarted at a later time and resume its operation as if it had
never been terminated. never been terminated.
%package -n %lname %package -n %{lname}
Summary: X Session Management library Summary: X Session Management library
# O/P added for 12.2 # O/P added for 12.2
Group: System/Libraries Group: System/Libraries
Provides: xorg-x11-libSM = 7.6_%version-%release Provides: xorg-x11-libSM = 7.6_%{version}-%{release}
Obsoletes: xorg-x11-libSM < 7.6_%version-%release Obsoletes: xorg-x11-libSM < 7.6_%{version}-%{release}
%description -n %lname %description -n %{lname}
The X Session Management Protocol provides a uniform mechanism for The X Session Management Protocol provides a uniform mechanism for
users to save and restore their sessions. A session is a group of X users to save and restore their sessions. A session is a group of X
clients (programs), each of which has a particular state. The session clients (programs), each of which has a particular state. The session
@ -70,10 +68,10 @@ never been terminated.
%package devel %package devel
Summary: Development files for the X Session Management library Summary: Development files for the X Session Management library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %lname = %version Requires: %{lname} = %{version}
# O/P added for 12.2 # O/P added for 12.2
Provides: xorg-x11-libSM-devel = 7.6_%version-%release Provides: xorg-x11-libSM-devel = 7.6_%{version}-%{release}
Obsoletes: xorg-x11-libSM-devel < 7.6_%version-%release Obsoletes: xorg-x11-libSM-devel < 7.6_%{version}-%{release}
%description devel %description devel
The X Session Management Protocol provides a uniform mechanism for The X Session Management Protocol provides a uniform mechanism for
@ -87,32 +85,31 @@ be restarted at a later time and resume its operation as if it had
never been terminated. never been terminated.
This package contains the development headers for the library found This package contains the development headers for the library found
in %lname. in %{lname}.
%prep %prep
%setup -q %setup -q
%build %build
%configure --docdir=%_docdir/%name --disable-static %configure --docdir=%{_docdir}/%{name} --disable-static
make %{?_smp_mflags} %make_build
%install %install
make install DESTDIR="%buildroot" %make_install
rm -f "%buildroot/%_libdir"/*.la find %{buildroot} -type f -name "*.la" -delete -print
%post -n %lname -p /sbin/ldconfig %post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig %files -n %{lname}
%{_libdir}/libSM.so.6*
%files -n %lname
%defattr(-,root,root)
%_libdir/libSM.so.6*
%files devel %files devel
%defattr(-,root,root) %license COPYING
%_includedir/X11/* %doc README.md
%_libdir/libSM.so %{_includedir}/X11/*
%_libdir/pkgconfig/sm.pc %{_libdir}/libSM.so
%_docdir/%name %{_libdir}/pkgconfig/sm.pc
%{_docdir}/%{name}
%changelog %changelog