%define libxt %mklibname xt 6 Name: libxt Summary: X Toolkit Library Version: 1.0.5 Release: %mkrel 1 Group: Development/X11 License: MIT URL: http://xorg.freedesktop.org Source0: http://xorg.freedesktop.org/releases/individual/lib/libXt-%{version}.tar.bz2 Patch1: libxt-1.0.2-linking_cplusplus.patch BuildRoot: %{_tmppath}/%{name}-root BuildRequires: libsm-devel >= 1.0.0 BuildRequires: libx11-devel >= 1.0.0 BuildRequires: x11-proto-devel >= 1.0.0 BuildRequires: x11-util-macros >= 1.0.1 %description X Toolkit Library #----------------------------------------------------------- %package -n %{libxt} Summary: X Toolkit Library Group: Development/X11 Conflicts: libxorg-x11 < 7.0 Provides: %{name} = %{version} %description -n %{libxt} X Toolkit Library #----------------------------------------------------------- %package -n %{libxt}-devel Summary: Development files for %{name} Group: Development/X11 Requires: %{libxt} = %{version} Requires: x11-proto-devel >= 1.0.0 Requires: libx11-devel >= 1.0.0 Requires: libsm-devel >= 1.0.0 Provides: libxt-devel = %{version}-%{release} Conflicts: libxorg-x11-devel < 7.0 %description -n %{libxt}-devel Development files for %{name} %pre -n %{libxt}-devel if [ -h %{_includedir}/X11 ]; then rm -f %{_includedir}/X11 fi %files -n %{libxt}-devel %defattr(-,root,root) %{_bindir}/makestrs %{_libdir}/libXt.so %{_libdir}/libXt.la %{_libdir}/pkgconfig/xt.pc %{_includedir}/X11/Core.h %{_includedir}/X11/VarargsI.h %{_includedir}/X11/RectObj.h %{_includedir}/X11/TranslateI.h %{_includedir}/X11/Vendor.h %{_includedir}/X11/CallbackI.h %{_includedir}/X11/ResConfigP.h %{_includedir}/X11/IntrinsicI.h %{_includedir}/X11/IntrinsicP.h %{_includedir}/X11/ConstrainP.h %{_includedir}/X11/Constraint.h %{_includedir}/X11/InitialI.h %{_includedir}/X11/EventI.h %{_includedir}/X11/ObjectP.h %{_includedir}/X11/Xtos.h %{_includedir}/X11/CreateI.h %{_includedir}/X11/Intrinsic.h %{_includedir}/X11/CoreP.h %{_includedir}/X11/Object.h %{_includedir}/X11/CompositeP.h %{_includedir}/X11/HookObjI.h %{_includedir}/X11/RectObjP.h %{_includedir}/X11/ConvertI.h %{_includedir}/X11/Shell.h %{_includedir}/X11/ShellI.h %{_includedir}/X11/ShellP.h %{_includedir}/X11/StringDefs.h %{_includedir}/X11/VendorP.h %{_includedir}/X11/SelectionI.h %{_includedir}/X11/PassivGraI.h %{_includedir}/X11/Composite.h %{_includedir}/X11/ThreadsI.h %{_includedir}/X11/ResourceI.h %{_mandir}/man3/Xt*.3*.bz2 %{_mandir}/man3/Menu* %{_mandir}/man1/makestrs.1*.bz2 #----------------------------------------------------------- %package -n %{libxt}-static-devel Summary: Static development files for %{name} Group: Development/X11 Requires: %{libxt}-devel = %{version} Provides: libxt-static-devel = %{version}-%{release} Conflicts: libxorg-x11-static-devel < 7.0 %description -n %{libxt}-static-devel Static development files for %{name} %files -n %{libxt}-static-devel %defattr(-,root,root) %{_libdir}/libXt.a #----------------------------------------------------------- %prep %setup -q -n libXt-%{version} %patch1 -p1 -b .cplusplus %build %configure2_5x --x-includes=%{_includedir}\ --x-libraries=%{_libdir} %make %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -n %{libxt} %defattr(-,root,root) %{_libdir}/libXt.so.6 %{_libdir}/libXt.so.6.0.0 %changelog * Mon Feb 05 2007 Gustavo Pichorim Boiko <boiko@mandriva.com> 1.0.5-1mdv2007.0 + Revision: 116293 - new upstream version: 1.0.5 * Tue Nov 21 2006 Thierry Vignaud <tvignaud@mandriva.com> 1.0.4-1mdv2007.1 + Revision: 85951 - new release * Tue Aug 29 2006 Antonio Hobmeir Neto <neto@mandriva.com> 1.0.2-3mdv2007.0 + Revision: 58635 - Linking cplusplus for solve problem in compiling ddd aplication. (#24097) + Gustavo Pichorim Boiko <boiko@mandriva.com> - rebuild to fix cooker uploading - X11R7.1 - increment release - fixed more dependencies - Adding X.org 7.0 to the repository + Andreas Hasenack <andreas@mandriva.com> - renamed mdv to packages because mdv is too generic and it's hosting only packages anyway