michael@12: # michael@12: # spec file for package xorg-x11-libXt (Version 7.6_1.0.9) michael@12: # michael@12: # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. michael@12: # michael@12: # All modifications and additions to the file contributed by third parties michael@12: # remain the property of their copyright owners, unless otherwise agreed michael@12: # upon. The license for this file, and modifications and additions to the michael@12: # file, is the same license as for the pristine package itself (unless the michael@12: # license for the pristine package is not an Open Source License, in which michael@12: # case the license is the MIT License). An "Open Source License" is a michael@12: # license that conforms to the Open Source Definition (Version 1.9) michael@12: # published by the Open Source Initiative. michael@12: michael@12: # Please submit bugfixes or comments via http://bugs.opensuse.org/ michael@12: # michael@12: michael@12: # norootforbuild michael@12: michael@12: michael@12: Name: xorg-x11-libXt michael@12: %define dirsuffix 1.0.9 michael@12: BuildRequires: fdupes pkgconfig xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libX11-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-proto-devel xorg-x11-xtrans-devel michael@12: Url: http://xorg.freedesktop.org/ michael@12: Version: 7.6_%{dirsuffix} michael@13: Release: 4.2 michael@12: Vendor: Europalab Software michael@12: Packager: Europalab Software michael@12: License: MIT License (or similar) michael@12: BuildRoot: %{_tmppath}/%{name}-%{version}-build michael@12: Group: System/Libraries michael@12: Provides: xorg-x11-libs:/usr/X11R6/%{_lib}/libXt.so.6 michael@12: Summary: X.Org Xt library michael@12: Source: libXt-%{dirsuffix}.tar.bz2 michael@12: Source2: baselibs.conf michael@12: Patch: libXt.diff michael@12: Patch1: app-defaults.diff michael@12: michael@12: %description michael@12: This package contains the X.Org Xt library. michael@12: michael@12: michael@12: michael@12: %package devel michael@12: Vendor: Europalab Software michael@12: Packager: Europalab Software michael@12: License: MIT License (or similar) michael@12: Summary: Include Files and Libraries mandatory for Development michael@12: Group: Development/Libraries/X11 michael@12: Provides: xorg-x11-devel:/usr/X11R6/%{_lib}/libXt.so michael@12: Requires: xorg-x11-proto-devel xorg-x11-xtrans-devel xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-libX11-devel xorg-x11-libXt michael@12: AutoReqProv: on michael@12: michael@12: %description devel michael@12: This package contains all necessary include files and libraries needed michael@12: to develop applications that require these. michael@12: michael@12: michael@12: michael@12: %prep michael@12: %setup -q -n libXt-%{dirsuffix} michael@12: %patch michael@12: %patch1 michael@12: michael@12: %build michael@12: autoreconf -fi michael@12: export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ michael@12: %configure --disable-silent-rules \ michael@13: --enable-static \ michael@12: --with-pic michael@12: %{__make} %{?jobs:-j%jobs} michael@12: michael@12: %install michael@12: make install DESTDIR=$RPM_BUILD_ROOT michael@12: mkdir -p $RPM_BUILD_ROOT/usr/share/X11/app-defaults michael@12: %fdupes -s $RPM_BUILD_ROOT/%_mandir michael@12: michael@12: %clean michael@12: rm -rf "$RPM_BUILD_ROOT" michael@12: michael@12: %post -p /sbin/ldconfig michael@12: michael@12: %postun -p /sbin/ldconfig michael@12: michael@12: %pre devel michael@12: test -L usr/include/X11 && rm usr/include/X11 michael@12: exit 0 michael@12: michael@12: %files michael@12: %defattr(-,root,root) michael@12: %dir /usr/share/X11/app-defaults michael@12: %{_libdir}/*.so.* michael@12: michael@12: %files devel michael@12: %defattr(-,root,root) michael@12: /usr/include/X11/*.h michael@12: %{_libdir}/*.so michael@12: %{_libdir}/pkgconfig/*.pc michael@12: %{_mandir}/man3/* michael@12: %{_libdir}/*.a michael@12: %{_libdir}/*.la michael@12: michael@12: %changelog michael@13: * Sun May 8 2011 michael@schloh.com michael@13: - Reintroduced static library in dev package. michael@12: * Tue Dec 21 2010 sndirsch@novell.com michael@12: - bumped version number to 7.6_1.0.9 michael@12: * Wed Dec 1 2010 jslaby@suse.de michael@12: - revert 'export only public API symbols' michael@12: it breaks xterm, xclock and others michael@12: * Tue Nov 30 2010 cristian.rodriguez@opensuse.org michael@12: - export only public API symbols michael@12: - disable silent rules, defeat the purpose of post build checks michael@12: * Fri Oct 29 2010 sndirsch@novell.com michael@12: - libXt 1.0.9 michael@12: * This release includes several bug fixes, as well as the usual michael@12: set of recent build configuration improvements & janitorial michael@12: cleanups. michael@12: * Sat Sep 4 2010 sndirsch@suse.de michael@12: - libXt 1.0.8 michael@12: - bumped version number to 7.5_1.0.8 michael@12: - make use of %%fdupes macro michael@12: - fixed Summary/Group entries in -devel package michael@12: * Sun Apr 4 2010 sndirsch@suse.de michael@12: - libXt 1.0.7 michael@12: - adjusted libXt.diff michael@12: - bumped version number to 7.5 michael@12: * Mon Dec 14 2009 jengelh@medozas.de michael@12: - add baselibs.conf as a source michael@12: * Sat Nov 14 2009 sndirsch@suse.de michael@12: - regenerated libXt.diff michael@12: - fixed build michael@12: * Sat Jul 4 2009 sndirsch@suse.de michael@12: - libXt 1.0.6 michael@12: * bugfix release michael@12: * Fri May 1 2009 eich@suse.de michael@12: - revert static library and .la file removal michael@12: for SUSE versions <= 11.1. michael@12: * Tue Apr 21 2009 crrodriguez@suse.de michael@12: - remove static libraries and "la" files michael@12: - run ldconfig in postun michael@12: * Thu Sep 11 2008 sndirsch@suse.de michael@12: - bumped release number to 7.4 michael@12: * Thu Apr 10 2008 ro@suse.de michael@12: - added baselibs.conf file to build xxbit packages michael@12: for multilib support michael@12: * Sat Sep 29 2007 sndirsch@suse.de michael@12: - bumped version to 7.3 michael@12: * Mon Jan 29 2007 sndirsch@suse.de michael@12: - update release to 1.0.5 michael@12: * Bug 9514: Markup error in makestrs.1x man page michael@12: * Wed Nov 8 2006 sndirsch@suse.de michael@12: - update release to 1.0.4 (X.Org 7.2 RC2) michael@12: * Add more generated files to ignore. michael@12: * Fix .pc file with new autotools by using AC_DEFINE_DIR. michael@12: * Sat Oct 14 2006 sndirsch@suse.de michael@12: - updated to X.Org 7.2RC1 michael@12: * Wed Aug 2 2006 sndirsch@suse.de michael@12: - completed search path for old app-defaults location michael@12: * Wed Aug 2 2006 sndirsch@suse.de michael@12: - fix setup line michael@12: * Mon Jul 31 2006 sndirsch@suse.de michael@12: - use /usr/share/X11 as default path for XtErrorDB, since this is michael@12: also the new default path for XErrorDB michael@12: * Fri Jul 28 2006 sndirsch@suse.de michael@12: - use "-fno-strict-aliasing" michael@12: * Thu Jul 27 2006 sndirsch@suse.de michael@12: - use $RPM_OPT_FLAGS michael@12: - remove existing /usr/include/X11 symlink in %%pre michael@12: * Tue Jul 25 2006 sndirsch@suse.de michael@12: - added app-defaults dir to package michael@12: * Tue Jul 25 2006 sndirsch@suse.de michael@12: - app-defaults.diff: read also /usr/X11R6/lib/X11/app-defaults michael@12: * Thu Jun 22 2006 sndirsch@suse.de michael@12: - created package