From b8e9e26cd140e1027228ff05bc9b5fc64a4a4b25 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 03:43:01 +0100 Subject: [PATCH] automatic version update by autodist [release 1.2.2-1mamba;Wed Jun 05 2013] --- README.md | 2 + libXtst.spec | 149 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 151 insertions(+) create mode 100644 libXtst.spec diff --git a/README.md b/README.md index 7b2bf87..5aeb4b6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libXtst +X.Org Xtst library. + diff --git a/libXtst.spec b/libXtst.spec new file mode 100644 index 0000000..bdfa1b1 --- /dev/null +++ b/libXtst.spec @@ -0,0 +1,149 @@ +Name: libXtst +Version: 1.2.2 +Release: 1mamba +Summary: X.Org Xtst library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://x.org +Source: http://ftp.x.org/pub/individual/lib/libXtst-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libXau-devel +BuildRequires: libXdmcp-devel +BuildRequires: libXext-devel +BuildRequires: libXi-devel +BuildRequires: libpthread-stubs-devel +BuildRequires: libxcb-devel +BuildRequires: recordproto-devel +## AUTOBUILDREQ-END +BuildRequires: xmlto +%ifarch x86_64_obsolete +BuildRequires: gcc-multilib +BuildRequires: glibc-multilib-devel +BuildRequires: lib32-libXau-devel +BuildRequires: lib32-libX11-devel +BuildRequires: lib32-libXext-devel +BuildRequires: lib32-libpthread-stubs-devel +BuildRequires: lib32-libxcb-devel +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-root +Obsoletes: libXorg + +%description +X.Org Xtst library. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: libXorg-devel + +%description devel +X.Org Xtst library. + +This package contains static libraries and header files needed for development. + +%package -n lib32-%{name} +Summary: X.Org Xtst library +Group: System/Libraries + +%description -n lib32-%{name} +X.Org Xtst 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 Xtst 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_obsolete +# x86_64 lib64 support +make clean +CC=%{_target_platform}-gcc \ +CFLAGS="%{optflags} -m32 -DHAVE__XEATDATAWORDS" \ +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}/libXtst.so.* +%doc COPYING ChangeLog + +%files devel +%defattr(-,root,root) +%{_includedir}/X11/extensions/XTest.h +%{_includedir}/X11/extensions/record.h +%{_libdir}/libXtst.a +%{_libdir}/libXtst.la +%{_libdir}/libXtst.so +%{_libdir}/pkgconfig/*.pc +%{_mandir}/man3/XTest*3.gz +%dir %{_docdir}/libXtst +%{_docdir}/libXtst/* + +%ifarch x86_64_obsolete +%files -n lib32-%{name} +%defattr(-,root,root) +%{_prefix}/lib/libXtst.so.* +%doc COPYING + +%files -n lib32-%{name}-devel +%defattr(-,root,root) +%{_prefix}/lib/libXtst.a +%{_prefix}/lib/libXtst.la +%{_prefix}/lib/libXtst.so +%{_prefix}/lib/pkgconfig/xtst.pc +%endif + +%changelog +* Wed Jun 05 2013 Automatic Build System 1.2.2-1mamba +- automatic version update by autodist + +* Fri Mar 16 2012 Automatic Build System 1.2.1-1mamba +- automatic version update by autodist + +* Fri Dec 10 2010 Automatic Build System 1.2.0-1mamba +- automatic update by autodist + +* Mon Oct 26 2009 Automatic Build System 1.1.0-1mamba +- automatic update by autodist + +* Mon Sep 10 2007 Silvan Calarco 1.0.3-1mamba +- update to 1.0.3 + +* Tue Jul 17 2007 Silvan Calarco 1.0.2-1mamba +- update to 1.0.2 + +* Wed Dec 20 2006 Silvan Calarco 1.0.1-1qilnx +- package created by autospec