update to 1.1.6 [release 1.1.6-1mamba;Fri Dec 09 2022]
This commit is contained in:
parent
1dc97ba3a4
commit
26dc8f74e9
@ -1,36 +1,22 @@
|
||||
Name: libXdamage
|
||||
Version: 1.1.5
|
||||
Version: 1.1.6
|
||||
Release: 1mamba
|
||||
Summary: X.Org Xdamage 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/libXdamage-%{version}.tar.bz2
|
||||
URL: https://www.x.org/wiki/
|
||||
Source: http://ftp.x.org/pub/individual/lib/libXdamage-%{version}.tar.xz
|
||||
License: MIT
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libXfixes-devel
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXau-devel
|
||||
BuildRequires: libXdmcp-devel
|
||||
BuildRequires: libXfixes-devel
|
||||
BuildRequires: libpthread-stubs-devel
|
||||
BuildRequires: libxcb-devel
|
||||
BuildRequires: xproto-devel
|
||||
BuildRequires: xorgproto-devel
|
||||
## AUTOBUILDREQ-END
|
||||
%ifarch x86_64_disabled
|
||||
BuildRequires: gcc-multilib
|
||||
BuildRequires: glibc-multilib-devel
|
||||
BuildRequires: lib32-libX11-devel
|
||||
BuildRequires: lib32-libXau-devel
|
||||
BuildRequires: lib32-libXfixes-devel
|
||||
BuildRequires: lib32-libpthread-stubs-devel
|
||||
BuildRequires: lib32-libxcb-devel
|
||||
%endif
|
||||
Obsoletes: libXorg
|
||||
|
||||
%description
|
||||
X.Org Xdamage library.
|
||||
@ -39,29 +25,13 @@ X.Org Xdamage library.
|
||||
Summary: Devel package for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Obsoletes: libXorg-devel
|
||||
|
||||
%description devel
|
||||
X.Org Xdamage library.
|
||||
|
||||
This package contains static libraries and header files needed for development.
|
||||
|
||||
%package -n lib32-%{name}
|
||||
Summary: X.Org Xdamage library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n lib32-%{name}
|
||||
X.Org Xdamage library (32 bit).
|
||||
|
||||
%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 Xdamage library (32 bit).
|
||||
This package contains static libraries and header files needed for development.
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@ -74,55 +44,29 @@ 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)
|
||||
%{_libdir}/libXdamage.so.*
|
||||
%doc COPYING ChangeLog
|
||||
%doc COPYING
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/X11/extensions/Xdamage.h
|
||||
%{_libdir}/libXdamage.a
|
||||
%{_libdir}/libXdamage.la
|
||||
%{_libdir}/libXdamage.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_includedir}/X11/extensions/Xdamage.h
|
||||
|
||||
%ifarch x86_64_disabled
|
||||
%files -n lib32-%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/lib/libXdamage.so.*
|
||||
%doc AUTHORS COPYING
|
||||
|
||||
%files -n lib32-%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/lib/libXdamage.a
|
||||
%{_prefix}/lib/libXdamage.la
|
||||
%{_prefix}/lib/libXdamage.so
|
||||
%{_prefix}/lib/pkgconfig/xdamage.pc
|
||||
%endif
|
||||
%doc ChangeLog
|
||||
|
||||
%changelog
|
||||
* Fri Dec 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.6-1mamba
|
||||
- update to 1.1.6
|
||||
|
||||
* Sat Aug 03 2019 Automatic Build System <autodist@mambasoft.it> 1.1.5-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user