2012-02-13 11:06:24 +01:00
|
|
|
#
|
|
|
|
# spec file for package libSM
|
|
|
|
#
|
2023-01-02 14:21:05 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2012-02-13 11:06:24 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2022-12-31 13:08:35 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-02-13 11:06:24 +01:00
|
|
|
#
|
2012-03-07 10:46:45 +01:00
|
|
|
|
|
|
|
|
2012-02-13 11:06:24 +01:00
|
|
|
%define lname libSM6
|
2022-12-31 13:08:35 +01:00
|
|
|
Name: libSM
|
|
|
|
Version: 1.2.4
|
2012-02-13 11:06:24 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: X Session Management library
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries/C and C++
|
2022-12-31 13:08:35 +01:00
|
|
|
URL: https://xorg.freedesktop.org/
|
2012-02-13 11:06:24 +01:00
|
|
|
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libSM
|
|
|
|
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libSM/
|
2022-12-31 13:08:35 +01:00
|
|
|
Source: https://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz
|
2018-10-10 18:37:43 +02:00
|
|
|
Source1: baselibs.conf
|
2012-02-13 11:06:24 +01:00
|
|
|
#git#BuildRequires: autoconf >= 2.60, automake, libtool
|
2012-04-12 12:44:01 +02:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(ice) >= 1.0.5
|
2012-03-07 10:46:45 +01:00
|
|
|
BuildRequires: pkgconfig(uuid)
|
2012-04-12 12:44:01 +02:00
|
|
|
BuildRequires: pkgconfig(xorg-macros) >= 1.12
|
|
|
|
BuildRequires: pkgconfig(xproto)
|
|
|
|
BuildRequires: pkgconfig(xtrans)
|
2012-02-13 11:06:24 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The X Session Management Protocol provides a uniform mechanism for
|
|
|
|
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
|
|
|
|
is controlled by a network service called the session manager, which
|
|
|
|
issues commands to its clients on behalf of the user. These commands
|
|
|
|
may cause clients to save their state or to terminate. It is expected
|
|
|
|
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
|
|
|
|
never been terminated.
|
|
|
|
|
2022-12-31 13:08:35 +01:00
|
|
|
%package -n %{lname}
|
2012-02-13 11:06:24 +01:00
|
|
|
Summary: X Session Management library
|
|
|
|
# O/P added for 12.2
|
2018-10-10 18:23:41 +02:00
|
|
|
Group: System/Libraries
|
2022-12-31 13:08:35 +01:00
|
|
|
Provides: xorg-x11-libSM = 7.6_%{version}-%{release}
|
|
|
|
Obsoletes: xorg-x11-libSM < 7.6_%{version}-%{release}
|
2012-02-13 11:06:24 +01:00
|
|
|
|
2022-12-31 13:08:35 +01:00
|
|
|
%description -n %{lname}
|
2012-02-13 11:06:24 +01:00
|
|
|
The X Session Management Protocol provides a uniform mechanism for
|
|
|
|
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
|
|
|
|
is controlled by a network service called the session manager, which
|
|
|
|
issues commands to its clients on behalf of the user. These commands
|
|
|
|
may cause clients to save their state or to terminate. It is expected
|
|
|
|
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
|
|
|
|
never been terminated.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the X Session Management library
|
|
|
|
Group: Development/Libraries/C and C++
|
2022-12-31 13:08:35 +01:00
|
|
|
Requires: %{lname} = %{version}
|
2012-02-13 11:06:24 +01:00
|
|
|
# O/P added for 12.2
|
2022-12-31 13:08:35 +01:00
|
|
|
Provides: xorg-x11-libSM-devel = 7.6_%{version}-%{release}
|
|
|
|
Obsoletes: xorg-x11-libSM-devel < 7.6_%{version}-%{release}
|
2012-02-13 11:06:24 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The X Session Management Protocol provides a uniform mechanism for
|
|
|
|
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
|
|
|
|
is controlled by a network service called the session manager, which
|
|
|
|
issues commands to its clients on behalf of the user. These commands
|
|
|
|
may cause clients to save their state or to terminate. It is expected
|
|
|
|
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
|
|
|
|
never been terminated.
|
|
|
|
|
|
|
|
This package contains the development headers for the library found
|
2022-12-31 13:08:35 +01:00
|
|
|
in %{lname}.
|
2012-02-13 11:06:24 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2022-12-31 13:08:35 +01:00
|
|
|
%configure --docdir=%{_docdir}/%{name} --disable-static
|
|
|
|
%make_build
|
2012-02-13 11:06:24 +01:00
|
|
|
|
|
|
|
%install
|
2022-12-31 13:08:35 +01:00
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2012-02-13 11:06:24 +01:00
|
|
|
|
2022-12-31 13:08:35 +01:00
|
|
|
%post -n %{lname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{lname} -p /sbin/ldconfig
|
2012-02-13 11:06:24 +01:00
|
|
|
|
2022-12-31 13:08:35 +01:00
|
|
|
%files -n %{lname}
|
|
|
|
%{_libdir}/libSM.so.6*
|
2012-02-13 11:06:24 +01:00
|
|
|
|
|
|
|
%files devel
|
2022-12-31 13:08:35 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc README.md
|
|
|
|
%{_includedir}/X11/*
|
|
|
|
%{_libdir}/libSM.so
|
|
|
|
%{_libdir}/pkgconfig/sm.pc
|
|
|
|
%{_docdir}/%{name}
|
2012-02-13 11:06:24 +01:00
|
|
|
|
|
|
|
%changelog
|