update to 1.0.10 [release 1.0.10-1mamba;Fri Sep 16 2022]
This commit is contained in:
parent
3908233d78
commit
330eeba231
63
libXau.spec
63
libXau.spec
@ -1,24 +1,18 @@
|
||||
Name: libXau
|
||||
Version: 1.0.9
|
||||
Version: 1.0.10
|
||||
Release: 1mamba
|
||||
Summary: X.Org Xau library
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://x.org
|
||||
Source: http://ftp.x.org/pub/individual/lib/libXau-%{version}.tar.bz2
|
||||
URL: https://www.x.org/wiki/
|
||||
Source: http://ftp.x.org/pub/individual/lib/libXau-%{version}.tar.xz
|
||||
License: MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: xproto-devel
|
||||
BuildRequires: xorgproto-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
%ifarch x86_64_disabled
|
||||
BuildRequires: gcc-multilib
|
||||
BuildRequires: glibc-multilib-devel
|
||||
%endif
|
||||
Obsoletes: libXorg
|
||||
|
||||
%description
|
||||
X.Org Xau library.
|
||||
@ -32,22 +26,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
X.Org Xau library.
|
||||
This package contains static libraries and header files needed for development.
|
||||
|
||||
%package -n lib32-%{name}
|
||||
Summary: X.Org Xau library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n lib32-%{name}
|
||||
X.Org Xau library.
|
||||
|
||||
%package -n lib32-%{name}-devel
|
||||
Summary: Devel package for lib32-%{name}
|
||||
Group: Development/Libraries
|
||||
Requires: lib32-%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description -n lib32-%{name}-devel
|
||||
X.Org Xau library.
|
||||
This package contains static libraries and header files needed for development.
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@ -60,25 +39,11 @@ 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}"
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
%post -n lib32-%{name} -p /sbin/ldconfig
|
||||
%postun -n lib32-%{name} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -88,7 +53,6 @@ cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libXau.a
|
||||
%{_libdir}/libXau.la
|
||||
%{_libdir}/libXau.so
|
||||
%dir %{_includedir}/X11
|
||||
%{_includedir}/X11/*.h
|
||||
@ -96,21 +60,10 @@ cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/
|
||||
%{_mandir}/man3/*
|
||||
%doc ChangeLog README
|
||||
|
||||
%ifarch x86_64_disabled
|
||||
%files -n lib32-%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/lib/libXau.so.*
|
||||
%doc AUTHORS COPYING
|
||||
|
||||
%files -n lib32-%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/lib/libXau.a
|
||||
%{_prefix}/lib/libXau.la
|
||||
%{_prefix}/lib/libXau.so
|
||||
%{_prefix}/lib/pkgconfig/*.pc
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Sep 16 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.10-1mamba
|
||||
- update to 1.0.10
|
||||
|
||||
* Mon Jul 08 2019 Automatic Build System <autodist@mambasoft.it> 1.0.9-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user