update to 1.0.10 [release 1.0.10-1mamba;Mon Oct 12 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 03:37:19 +01:00
parent 51a4bc66ae
commit 8f30567544

View File

@ -1,6 +1,6 @@
Name: libICE
Version: 1.0.9
Release: 2mamba
Version: 1.0.10
Release: 1mamba
Summary: X.Org ICE library
Group: System/Libraries
Vendor: openmamba
@ -9,19 +9,14 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://x.org
Source: ftp://ftp.x.org/pub/individual/lib/libICE-%{version}.tar.bz2
License: MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: xproto-devel
BuildRequires: ldconfig
BuildRequires: libbsd-devel
BuildRequires: xorgproto-devel
## AUTOBUILDREQ-END
BuildRequires: xorg-proto-devel >= 7.1
BuildRequires: xorg-xtrans-devel >= 1.0
%ifarch x86_64_disabled
BuildRequires: gcc-multilib
BuildRequires: glibc-multilib-devel
%endif
Obsoletes: libXorg
Obsoletes: lib32-libICE
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
X.Org ICE library.
@ -36,21 +31,7 @@ Obsoletes: lib32-libICE-devel
X.Org ICE library.
This package contains static libraries and header files needed for development.
%package -n lib32-%{name}
Summary: X.Org ICE library
Group: System/Libraries
%description -n lib32-%{name}
X.Org ICE 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 ICE library (32 bit).
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q -n libICE-%{version}
@ -63,19 +44,6 @@ This package contains static libraries and header files needed for development.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%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
make
make install DESTDIR=`pwd`/lib32
cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/
%endif
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -95,21 +63,10 @@ cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/
%{_docdir}/libICE
%doc ChangeLog
%ifarch x86_64_disabled
%files -n lib32-%{name}
%defattr(-,root,root)
%{_prefix}/lib/libICE.so.*
%doc AUTHORS COPYING
%files -n lib32-%{name}-devel
%defattr(-,root,root)
%{_prefix}/lib/libICE.a
%{_prefix}/lib/libICE.la
%{_prefix}/lib/libICE.so
%{_prefix}/lib/pkgconfig/ice.pc
%endif
%changelog
* Mon Oct 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.10-1mamba
- update to 1.0.10
* Thu Oct 03 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.9-2mamba
- x86_64: obsolete lib32-libICE[-devel]