update to 1.2.4 [release 1.2.4-1mamba;Thu Dec 29 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 03:39:02 +01:00
parent 2b7d9750c5
commit 42f4e445e4

View File

@ -1,28 +1,22 @@
Name: libSM Name: libSM
Version: 1.2.3 Version: 1.2.4
Release: 1mamba Release: 1mamba
Summary: X.Org SM library Summary: X.Org SM library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://x.org URL: https://www.x.org/wiki/
Source: http://ftp.x.org/pub/individual/lib/libSM-%{version}.tar.bz2 Source: http://ftp.x.org/pub/individual/lib/libSM-%{version}.tar.xz
License: MIT License: MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libICE-devel BuildRequires: libICE-devel
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: xorgproto-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: xorg-proto-devel >= 7.1 BuildRequires: xorg-proto-devel >= 7.1
BuildRequires: xorg-xtrans-devel >= 1.0 BuildRequires: xorg-xtrans-devel >= 1.0
%ifarch x86_64_disabled
BuildRequires: gcc-multilib
BuildRequires: glibc-multilib-devel
BuildRequires: lib32-libICE-devel
%endif
Obsoletes: libXorg
%description %description
X.Org SM library. X.Org SM library.
@ -36,21 +30,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
X.Org SM library. X.Org SM library.
This package contains static libraries and header files needed for development. This package contains static libraries and header files needed for development.
%package -n lib32-%{name} %debug_package
Summary: X.Org X11 library
Group: System/Libraries
%description -n lib32-%{name}
X.Org SM library (32 bit).
%package -n lib32-%{name}-devel
Summary: Devel package for lib32-%{name}
Group: Development/Libraries
Requires: lib32-%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib32-%{name}-devel
X.Org SM library (32 bit).
This package contains static libraries and header files needed for development.
%prep %prep
%setup -q %setup -q
@ -63,60 +43,31 @@ This package contains static libraries and header files needed for development.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
%ifarch x86_64_disabled
# x86_64 lib64 support
make clean
CC=%{_target_platform}-gcc \
CFLAGS="%{optflags} -m32" \
CXXLAGS="%{optflags} -m32" \
./configure \
--prefix=%{_prefix} \
--libdir=%{_prefix}/lib \
--without-libuuid
make
make install DESTDIR=`pwd`/lib32
cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/
%endif
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
#%post %{name} -p /sbin/ldconfig %post -p /sbin/ldconfig
#%postun %{name} -p /sbin/ldconfig %postun -p /sbin/ldconfig
%post -n lib32-%{name} -p /sbin/ldconfig
%postun -n lib32-%{name} -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libSM.so.* %{_libdir}/libSM.so.*
%doc AUTHORS COPYING ChangeLog %doc AUTHORS COPYING
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libSM.a %{_libdir}/libSM.a
%{_libdir}/libSM.la
%{_libdir}/libSM.so %{_libdir}/libSM.so
%dir %{_includedir}/X11/SM %dir %{_includedir}/X11/SM
%{_includedir}/X11/SM/*.h %{_includedir}/X11/SM/*.h
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%{_docdir}/libSM %{_docdir}/libSM
%doc ChangeLog
%ifarch x86_64_disabled
%files -n lib32-%{name}
%defattr(-,root,root)
%{_prefix}/lib/libSM.so.*
%doc AUTHORS COPYING
%files -n lib32-%{name}-devel
%defattr(-,root,root)
%{_prefix}/lib/libSM.a
%{_prefix}/lib/libSM.la
%{_prefix}/lib/libSM.so
%{_prefix}/lib/pkgconfig/sm.pc
%endif
%changelog %changelog
* Thu Dec 29 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.4-1mamba
- update to 1.2.4
* Fri Aug 02 2019 Automatic Build System <autodist@mambasoft.it> 1.2.3-1mamba * Fri Aug 02 2019 Automatic Build System <autodist@mambasoft.it> 1.2.3-1mamba
- automatic update by autodist - automatic update by autodist