Sun, 08 May 2011 15:46:25 +0200
Import package vendor original specs for necessary manipulations.
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xorg-x11-libXt/app-defaults.diff Sun May 08 15:46:25 2011 +0200 1.3 @@ -0,0 +1,11 @@ 1.4 +--- configure.ac.orig 2006-07-25 13:24:52.000000000 +0200 1.5 ++++ configure.ac 2006-07-25 13:33:02.000000000 +0200 1.6 +@@ -62,7 +62,7 @@ 1.7 + fi 1.8 + 1.9 + # Replaces XFileSearchPathDefault from Imake configs 1.10 +-XFILESEARCHPATHDEFAULT='$(sysconfdir)/X11/%L/%T/%N%C%S:$(sysconfdir)/X11/%l/%T/%N%C%S:$(sysconfdir)/X11/%T/%N%C%S:$(sysconfdir)/X11/%L/%T/%N%S:$(sysconfdir)/X11/%l/%T/%N%S:$(sysconfdir)/X11/%T/%N%S:$(datadir)/X11/%L/%T/%N%C%S:$(datadir)/X11/%l/%T/%N%C%S:$(datadir)/X11/%T/%N%C%S:$(datadir)/X11/%L/%T/%N%S:$(datadir)/X11/%l/%T/%N%S:$(datadir)/X11/%T/%N%S:$(libdir)/X11/%L/%T/%N%C%S:$(libdir)/X11/%l/%T/%N%C%S:$(libdir)/X11/%T/%N%C%S:$(libdir)/X11/%L/%T/%N%S:$(libdir)/X11/%l/%T/%N%S:$(libdir)/X11/%T/%N%S' 1.11 ++XFILESEARCHPATHDEFAULT='$(sysconfdir)/X11/%L/%T/%N%C%S:$(sysconfdir)/X11/%l/%T/%N%C%S:$(sysconfdir)/X11/%T/%N%C%S:$(sysconfdir)/X11/%L/%T/%N%S:$(sysconfdir)/X11/%l/%T/%N%S:$(sysconfdir)/X11/%T/%N%S:$(datadir)/X11/%L/%T/%N%C%S:$(datadir)/X11/%l/%T/%N%C%S:$(datadir)/X11/%T/%N%C%S:$(datadir)/X11/%L/%T/%N%S:$(datadir)/X11/%l/%T/%N%S:$(datadir)/X11/%T/%N%S:$(libdir)/X11/%L/%T/%N%C%S:$(libdir)/X11/%l/%T/%N%C%S:$(libdir)/X11/%T/%N%C%S:$(libdir)/X11/%L/%T/%N%S:$(libdir)/X11/%l/%T/%N%S:$(libdir)/X11/%T/%N%S:/usr/X11R6/lib/X11/%L/%T/%N%C%S:/usr/X11R6/lib/X11/%l/%T/%N%C%S:/usr/X11R6/lib/X11/%T/%N%C%S:/usr/X11R6/lib/X11/%L/%T/%N%S:/usr/X11R6/lib/X11/%l/%T/%N%S:/usr/X11R6/lib/X11/%T/%N%S' 1.12 + 1.13 + AC_ARG_WITH(xfile-search-path, 1.14 + AC_HELP_STRING([--with-xfile-search-path=<path>],
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/xorg-x11-libXt/baselibs.conf Sun May 08 15:46:25 2011 +0200 2.3 @@ -0,0 +1,2 @@ 2.4 +xorg-x11-libXt 2.5 +xorg-x11-libXt-devel
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/xorg-x11-libXt/libXt.diff Sun May 08 15:46:25 2011 +0200 3.3 @@ -0,0 +1,22 @@ 3.4 +diff -u -r -p ../libXt-1.0.6.orig//src/Makefile.am ./src/Makefile.am 3.5 +--- ../libXt-1.0.6.orig//src/Makefile.am 2009-11-14 02:08:08.000000000 +0000 3.6 ++++ ./src/Makefile.am 2009-11-14 02:08:22.000000000 +0000 3.7 +@@ -4,7 +4,7 @@ BUILT_SOURCES = $(BUILT_FILES) 3.8 + CLEANFILES = $(BUILT_SOURCES) 3.9 + 3.10 + SRCH_DEFINES = -DXFILESEARCHPATHDEFAULT=\"$(XFILESEARCHPATHDEFAULT)\" 3.11 +-ERRORDB_DEFINES = -DERRORDB=\"$(libdir)/X11/XtErrorDB\" 3.12 ++ERRORDB_DEFINES = -DERRORDB=\"/usr/share/X11/XtErrorDB\" 3.13 + 3.14 + AM_CFLAGS = $(CWARNFLAGS) $(XT_CFLAGS) $(SRCH_DEFINES) $(ERRORDB_DEFINES) \ 3.15 + $(XTMALLOC_ZERO_CFLAGS) 3.16 +diff -u -r -p ../libXt-1.0.6.orig//xt.pc.in ./xt.pc.in 3.17 +--- ../libXt-1.0.6.orig//xt.pc.in 2009-11-14 02:08:08.000000000 +0000 3.18 ++++ ./xt.pc.in 2009-11-14 02:08:22.000000000 +0000 3.19 +@@ -1,5 +1,6 @@ 3.20 + prefix=@prefix@ 3.21 + exec_prefix=@exec_prefix@ 3.22 ++datarootdir=@datarootdir@ 3.23 + libdir=@libdir@ 3.24 + includedir=@includedir@ 3.25 + appdefaultdir=@appdefaultdir@
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/xorg-x11-libXt/xorg-x11-libXt.spec Sun May 08 15:46:25 2011 +0200 4.3 @@ -0,0 +1,180 @@ 4.4 +# 4.5 +# spec file for package xorg-x11-libXt (Version 7.6_1.0.9) 4.6 +# 4.7 +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. 4.8 +# 4.9 +# All modifications and additions to the file contributed by third parties 4.10 +# remain the property of their copyright owners, unless otherwise agreed 4.11 +# upon. The license for this file, and modifications and additions to the 4.12 +# file, is the same license as for the pristine package itself (unless the 4.13 +# license for the pristine package is not an Open Source License, in which 4.14 +# case the license is the MIT License). An "Open Source License" is a 4.15 +# license that conforms to the Open Source Definition (Version 1.9) 4.16 +# published by the Open Source Initiative. 4.17 + 4.18 +# Please submit bugfixes or comments via http://bugs.opensuse.org/ 4.19 +# 4.20 + 4.21 +# norootforbuild 4.22 + 4.23 + 4.24 +Name: xorg-x11-libXt 4.25 +%define dirsuffix 1.0.9 4.26 +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 4.27 +Url: http://xorg.freedesktop.org/ 4.28 +Version: 7.6_%{dirsuffix} 4.29 +Release: 4.1 4.30 +Vendor: Europalab Software 4.31 +Packager: Europalab Software 4.32 +License: MIT License (or similar) 4.33 +BuildRoot: %{_tmppath}/%{name}-%{version}-build 4.34 +Group: System/Libraries 4.35 +Provides: xorg-x11-libs:/usr/X11R6/%{_lib}/libXt.so.6 4.36 +Summary: X.Org Xt library 4.37 +Source: libXt-%{dirsuffix}.tar.bz2 4.38 +Source2: baselibs.conf 4.39 +Patch: libXt.diff 4.40 +Patch1: app-defaults.diff 4.41 + 4.42 +%description 4.43 +This package contains the X.Org Xt library. 4.44 + 4.45 + 4.46 + 4.47 +%package devel 4.48 +Vendor: Europalab Software 4.49 +Packager: Europalab Software 4.50 +License: MIT License (or similar) 4.51 +Summary: Include Files and Libraries mandatory for Development 4.52 +Group: Development/Libraries/X11 4.53 +Provides: xorg-x11-devel:/usr/X11R6/%{_lib}/libXt.so 4.54 +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 4.55 +AutoReqProv: on 4.56 + 4.57 +%description devel 4.58 +This package contains all necessary include files and libraries needed 4.59 +to develop applications that require these. 4.60 + 4.61 + 4.62 + 4.63 +%prep 4.64 +%setup -q -n libXt-%{dirsuffix} 4.65 +%patch 4.66 +%patch1 4.67 + 4.68 +%build 4.69 +autoreconf -fi 4.70 +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ 4.71 +%configure --disable-silent-rules \ 4.72 +%if %suse_version > 1110 4.73 +--disable-static \ 4.74 +%endif 4.75 +--with-pic 4.76 +%{__make} %{?jobs:-j%jobs} 4.77 + 4.78 +%install 4.79 +make install DESTDIR=$RPM_BUILD_ROOT 4.80 +mkdir -p $RPM_BUILD_ROOT/usr/share/X11/app-defaults 4.81 +%if %suse_version > 1110 4.82 +%{__rm} -f %{buildroot}%{_libdir}/*.la 4.83 +%endif 4.84 +%fdupes -s $RPM_BUILD_ROOT/%_mandir 4.85 + 4.86 +%clean 4.87 +rm -rf "$RPM_BUILD_ROOT" 4.88 + 4.89 +%post -p /sbin/ldconfig 4.90 + 4.91 +%postun -p /sbin/ldconfig 4.92 + 4.93 +%pre devel 4.94 +test -L usr/include/X11 && rm usr/include/X11 4.95 +exit 0 4.96 + 4.97 +%files 4.98 +%defattr(-,root,root) 4.99 +%dir /usr/share/X11/app-defaults 4.100 +%{_libdir}/*.so.* 4.101 + 4.102 +%files devel 4.103 +%defattr(-,root,root) 4.104 +/usr/include/X11/*.h 4.105 +%{_libdir}/*.so 4.106 +%{_libdir}/pkgconfig/*.pc 4.107 +%{_mandir}/man3/* 4.108 +%if %suse_version <= 1110 4.109 +%{_libdir}/*.a 4.110 +%{_libdir}/*.la 4.111 +%endif 4.112 + 4.113 +%changelog 4.114 +* Tue Dec 21 2010 sndirsch@novell.com 4.115 +- bumped version number to 7.6_1.0.9 4.116 +* Wed Dec 1 2010 jslaby@suse.de 4.117 +- revert 'export only public API symbols' 4.118 + it breaks xterm, xclock and others 4.119 +* Tue Nov 30 2010 cristian.rodriguez@opensuse.org 4.120 +- export only public API symbols 4.121 +- disable silent rules, defeat the purpose of post build checks 4.122 +* Fri Oct 29 2010 sndirsch@novell.com 4.123 +- libXt 1.0.9 4.124 + * This release includes several bug fixes, as well as the usual 4.125 + set of recent build configuration improvements & janitorial 4.126 + cleanups. 4.127 +* Sat Sep 4 2010 sndirsch@suse.de 4.128 +- libXt 1.0.8 4.129 +- bumped version number to 7.5_1.0.8 4.130 +- make use of %%fdupes macro 4.131 +- fixed Summary/Group entries in -devel package 4.132 +* Sun Apr 4 2010 sndirsch@suse.de 4.133 +- libXt 1.0.7 4.134 +- adjusted libXt.diff 4.135 +- bumped version number to 7.5 4.136 +* Mon Dec 14 2009 jengelh@medozas.de 4.137 +- add baselibs.conf as a source 4.138 +* Sat Nov 14 2009 sndirsch@suse.de 4.139 +- regenerated libXt.diff 4.140 +- fixed build 4.141 +* Sat Jul 4 2009 sndirsch@suse.de 4.142 +- libXt 1.0.6 4.143 + * bugfix release 4.144 +* Fri May 1 2009 eich@suse.de 4.145 +- revert static library and .la file removal 4.146 + for SUSE versions <= 11.1. 4.147 +* Tue Apr 21 2009 crrodriguez@suse.de 4.148 +- remove static libraries and "la" files 4.149 +- run ldconfig in postun 4.150 +* Thu Sep 11 2008 sndirsch@suse.de 4.151 +- bumped release number to 7.4 4.152 +* Thu Apr 10 2008 ro@suse.de 4.153 +- added baselibs.conf file to build xxbit packages 4.154 + for multilib support 4.155 +* Sat Sep 29 2007 sndirsch@suse.de 4.156 +- bumped version to 7.3 4.157 +* Mon Jan 29 2007 sndirsch@suse.de 4.158 +- update release to 1.0.5 4.159 + * Bug 9514: Markup error in makestrs.1x man page 4.160 +* Wed Nov 8 2006 sndirsch@suse.de 4.161 +- update release to 1.0.4 (X.Org 7.2 RC2) 4.162 + * Add more generated files to ignore. 4.163 + * Fix .pc file with new autotools by using AC_DEFINE_DIR. 4.164 +* Sat Oct 14 2006 sndirsch@suse.de 4.165 +- updated to X.Org 7.2RC1 4.166 +* Wed Aug 2 2006 sndirsch@suse.de 4.167 +- completed search path for old app-defaults location 4.168 +* Wed Aug 2 2006 sndirsch@suse.de 4.169 +- fix setup line 4.170 +* Mon Jul 31 2006 sndirsch@suse.de 4.171 +- use /usr/share/X11 as default path for XtErrorDB, since this is 4.172 + also the new default path for XErrorDB 4.173 +* Fri Jul 28 2006 sndirsch@suse.de 4.174 +- use "-fno-strict-aliasing" 4.175 +* Thu Jul 27 2006 sndirsch@suse.de 4.176 +- use $RPM_OPT_FLAGS 4.177 +- remove existing /usr/include/X11 symlink in %%pre 4.178 +* Tue Jul 25 2006 sndirsch@suse.de 4.179 +- added app-defaults dir to package 4.180 +* Tue Jul 25 2006 sndirsch@suse.de 4.181 +- app-defaults.diff: read also /usr/X11R6/lib/X11/app-defaults 4.182 +* Thu Jun 22 2006 sndirsch@suse.de 4.183 +- created package