libXfixes/libXfixes.spec

115 lines
3.0 KiB
RPMSpec

Name: libXfixes
Version: 6.0.1
Release: 1mamba
Summary: X.Org Xfixes library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://x.org/wiki/
Source: http://ftp.x.org/pub/individual/lib/libXfixes-%{version}.tar.xz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: xorgproto-devel
## AUTOBUILDREQ-END
%description
X.Org Xfixes library.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
X.Org Xfixes library.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{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
%files
%defattr(-,root,root)
%{_libdir}/libXfixes.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/X11/extensions/Xfixes.h
%{_libdir}/libXfixes.a
%{_libdir}/libXfixes.so
%{_libdir}/pkgconfig/*.pc
%{_mandir}/man3/Xfixes.3*
%doc ChangeLog
%changelog
* Thu May 04 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.1-1mamba
- update to 6.0.1
* Wed May 12 2021 Automatic Build System <autodist@mambasoft.it> 6.0.0-1mamba
- automatic version update by autodist
* Thu Oct 26 2017 Automatic Build System <autodist@mambasoft.it> 5.0.3-1mamba
- automatic update by autodist
* Wed Sep 14 2016 Automatic Build System <autodist@mambasoft.it> 5.0.2-1mamba
- automatic update by autodist
* Fri Apr 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.1-2mamba
- rebuilt to update libpthread-strubs broken .la files
* Wed May 29 2013 Automatic Build System <autodist@mambasoft.it> 5.0.1-1mamba
- automatic version update by autodist
* Fri Mar 18 2011 Automatic Build System <autodist@mambasoft.it> 5.0-1mamba
- automatic update by autodist
* Fri Jul 02 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.5-2mamba
- rebuilt to add pkgconfig provides
* Fri Jun 18 2010 Automatic Build System <autodist@mambasoft.it> 4.0.5-1mamba
- automatic update by autodist
* Tue Oct 13 2009 Automatic Build System <autodist@mambasoft.it> 4.0.4-1mamba
- automatic update by autodist
* Sat Feb 16 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.3-2mamba
- specfile update
* Wed Feb 07 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.3-1qilnx
- update to version 4.0.3 by autospec
* Wed Dec 20 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.1-1qilnx
- package created by autospec