From 9c1a111c7ce19e57b554ed06cabc1612efb02c19 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 03:41:01 +0100 Subject: [PATCH] automatic version update by autodist [release 5.0.1-1mamba;Wed May 29 2013] --- README.md | 2 + libXfixes.spec | 146 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 148 insertions(+) create mode 100644 libXfixes.spec diff --git a/README.md b/README.md index ed66fb5..a88526a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libXfixes +X.Org Xfixes library. + diff --git a/libXfixes.spec b/libXfixes.spec new file mode 100644 index 0000000..e0a28cd --- /dev/null +++ b/libXfixes.spec @@ -0,0 +1,146 @@ +Name: libXfixes +Version: 5.0.1 +Release: 1mamba +Summary: X.Org Xfixes library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://x.org +Source: http://ftp.x.org/pub/individual/lib/libXfixes-%{version}.tar.bz2 +License: MIT +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: fixesproto-devel +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libXau-devel +BuildRequires: libXdmcp-devel +BuildRequires: libpthread-stubs-devel +BuildRequires: libxcb-devel +BuildRequires: xproto-devel +## AUTOBUILDREQ-END +%ifarch x86_64_disabled +BuildRequires: gcc-multilib +BuildRequires: glibc-multilib-devel +BuildRequires: lib32-libX11-devel +BuildRequires: lib32-libXau-devel +BuildRequires: lib32-libpthread-stubs-devel +BuildRequires: lib32-libxcb-devel +%endif +Obsoletes: libXorg + +%description +X.Org Xfixes library. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: libXorg + +%description devel +X.Org Xfixes library. + +This package contains static libraries and header files needed for development. + +%package -n lib32-%{name} +Summary: X.Org Xfixes library +Group: System/Libraries + +%description -n lib32-%{name} +X.Org Xfixes 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 Xfixes library (32 bit). +This package contains static libraries and header files needed for development. + +%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 +%post -n lib32-%{name} -p /sbin/ldconfig +%postun -n lib32-%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libXfixes.so.* +%doc COPYING ChangeLog + +%files devel +%defattr(-,root,root) +%{_libdir}/libXfixes.a +%{_libdir}/libXfixes.la +%{_libdir}/libXfixes.so +%{_libdir}/pkgconfig/*.pc +%{_includedir}/X11/extensions/Xfixes.h +%{_mandir}/man3/Xfixes.3.gz + +%ifarch x86_64_disabled +%files -n lib32-%{name} +%defattr(-,root,root) +%{_prefix}/lib/libXfixes.so.* +%doc AUTHORS COPYING + +%files -n lib32-%{name}-devel +%defattr(-,root,root) +%{_prefix}/lib/libXfixes.a +%{_prefix}/lib/libXfixes.la +%{_prefix}/lib/libXfixes.so +%{_prefix}/lib/pkgconfig/xfixes.pc +%endif + +%changelog +* Wed May 29 2013 Automatic Build System 5.0.1-1mamba +- automatic version update by autodist + +* Fri Mar 18 2011 Automatic Build System 5.0-1mamba +- automatic update by autodist + +* Fri Jul 02 2010 Silvan Calarco 4.0.5-2mamba +- rebuilt to add pkgconfig provides + +* Fri Jun 18 2010 Automatic Build System 4.0.5-1mamba +- automatic update by autodist + +* Tue Oct 13 2009 Automatic Build System 4.0.4-1mamba +- automatic update by autodist + +* Sat Feb 16 2008 Silvan Calarco 4.0.3-2mamba +- specfile update + +* Wed Feb 07 2007 Silvan Calarco 4.0.3-1qilnx +- update to version 4.0.3 by autospec + +* Wed Dec 20 2006 Silvan Calarco 4.0.1-1qilnx +- package created by autospec