xorg-x11-libXt/xorg-x11-libXt.spec

changeset 12
94a28e1a8def
child 13
50e3a83e4f0b
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-x11-libXt/xorg-x11-libXt.spec	Sun May 08 15:46:25 2011 +0200
     1.3 @@ -0,0 +1,180 @@
     1.4 +#
     1.5 +# spec file for package xorg-x11-libXt (Version 7.6_1.0.9)
     1.6 +#
     1.7 +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
     1.8 +#
     1.9 +# All modifications and additions to the file contributed by third parties
    1.10 +# remain the property of their copyright owners, unless otherwise agreed
    1.11 +# upon. The license for this file, and modifications and additions to the
    1.12 +# file, is the same license as for the pristine package itself (unless the
    1.13 +# license for the pristine package is not an Open Source License, in which
    1.14 +# case the license is the MIT License). An "Open Source License" is a
    1.15 +# license that conforms to the Open Source Definition (Version 1.9)
    1.16 +# published by the Open Source Initiative.
    1.17 +
    1.18 +# Please submit bugfixes or comments via http://bugs.opensuse.org/
    1.19 +#
    1.20 +
    1.21 +# norootforbuild
    1.22 +
    1.23 +
    1.24 +Name:           xorg-x11-libXt
    1.25 +%define dirsuffix 1.0.9
    1.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
    1.27 +Url:            http://xorg.freedesktop.org/
    1.28 +Version:        7.6_%{dirsuffix}
    1.29 +Release:        4.1
    1.30 +Vendor:         Europalab Software
    1.31 +Packager:       Europalab Software
    1.32 +License:        MIT License (or similar)
    1.33 +BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    1.34 +Group:          System/Libraries
    1.35 +Provides:       xorg-x11-libs:/usr/X11R6/%{_lib}/libXt.so.6
    1.36 +Summary:        X.Org Xt library
    1.37 +Source:         libXt-%{dirsuffix}.tar.bz2
    1.38 +Source2:        baselibs.conf
    1.39 +Patch:          libXt.diff
    1.40 +Patch1:         app-defaults.diff
    1.41 +
    1.42 +%description
    1.43 +This package contains the X.Org Xt library.
    1.44 +
    1.45 +
    1.46 +
    1.47 +%package devel
    1.48 +Vendor:         Europalab Software
    1.49 +Packager:       Europalab Software
    1.50 +License:        MIT License (or similar)
    1.51 +Summary:        Include Files and Libraries mandatory for Development
    1.52 +Group:          Development/Libraries/X11
    1.53 +Provides:       xorg-x11-devel:/usr/X11R6/%{_lib}/libXt.so
    1.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
    1.55 +AutoReqProv:    on
    1.56 +
    1.57 +%description devel
    1.58 +This package contains all necessary include files and libraries needed
    1.59 +to develop applications that require these.
    1.60 +
    1.61 +
    1.62 +
    1.63 +%prep
    1.64 +%setup -q -n libXt-%{dirsuffix}
    1.65 +%patch
    1.66 +%patch1
    1.67 +
    1.68 +%build
    1.69 +autoreconf -fi
    1.70 +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
    1.71 +%configure --disable-silent-rules \
    1.72 +%if %suse_version > 1110
    1.73 +--disable-static \
    1.74 +%endif
    1.75 +--with-pic
    1.76 +%{__make} %{?jobs:-j%jobs}
    1.77 +
    1.78 +%install
    1.79 +make install DESTDIR=$RPM_BUILD_ROOT
    1.80 +mkdir -p $RPM_BUILD_ROOT/usr/share/X11/app-defaults
    1.81 +%if %suse_version > 1110
    1.82 +%{__rm} -f %{buildroot}%{_libdir}/*.la
    1.83 +%endif
    1.84 +%fdupes -s $RPM_BUILD_ROOT/%_mandir
    1.85 +
    1.86 +%clean
    1.87 +rm -rf "$RPM_BUILD_ROOT"
    1.88 +
    1.89 +%post -p /sbin/ldconfig
    1.90 +
    1.91 +%postun -p /sbin/ldconfig
    1.92 +
    1.93 +%pre devel
    1.94 +test -L usr/include/X11 && rm usr/include/X11
    1.95 +exit 0
    1.96 +
    1.97 +%files
    1.98 +%defattr(-,root,root)
    1.99 +%dir /usr/share/X11/app-defaults
   1.100 +%{_libdir}/*.so.*
   1.101 +
   1.102 +%files devel
   1.103 +%defattr(-,root,root)
   1.104 +/usr/include/X11/*.h
   1.105 +%{_libdir}/*.so
   1.106 +%{_libdir}/pkgconfig/*.pc
   1.107 +%{_mandir}/man3/*
   1.108 +%if %suse_version <= 1110
   1.109 +%{_libdir}/*.a
   1.110 +%{_libdir}/*.la
   1.111 +%endif
   1.112 +
   1.113 +%changelog
   1.114 +* Tue Dec 21 2010 sndirsch@novell.com
   1.115 +- bumped version number to 7.6_1.0.9
   1.116 +* Wed Dec  1 2010 jslaby@suse.de
   1.117 +- revert 'export only public API symbols'
   1.118 +  it breaks xterm, xclock and others
   1.119 +* Tue Nov 30 2010 cristian.rodriguez@opensuse.org
   1.120 +- export only public API symbols
   1.121 +- disable silent rules, defeat the purpose of post build checks
   1.122 +* Fri Oct 29 2010 sndirsch@novell.com
   1.123 +- libXt 1.0.9
   1.124 +  * This release includes several bug fixes, as well as the usual
   1.125 +    set of recent build configuration improvements & janitorial
   1.126 +    cleanups.
   1.127 +* Sat Sep  4 2010 sndirsch@suse.de
   1.128 +- libXt 1.0.8
   1.129 +- bumped version number to 7.5_1.0.8
   1.130 +- make use of %%fdupes macro
   1.131 +- fixed Summary/Group entries in -devel package
   1.132 +* Sun Apr  4 2010 sndirsch@suse.de
   1.133 +- libXt 1.0.7
   1.134 +- adjusted libXt.diff
   1.135 +- bumped version number to 7.5
   1.136 +* Mon Dec 14 2009 jengelh@medozas.de
   1.137 +- add baselibs.conf as a source
   1.138 +* Sat Nov 14 2009 sndirsch@suse.de
   1.139 +- regenerated libXt.diff
   1.140 +- fixed build
   1.141 +* Sat Jul  4 2009 sndirsch@suse.de
   1.142 +- libXt 1.0.6
   1.143 +  * bugfix release
   1.144 +* Fri May  1 2009 eich@suse.de
   1.145 +- revert static library and .la file removal
   1.146 +  for SUSE versions <= 11.1.
   1.147 +* Tue Apr 21 2009 crrodriguez@suse.de
   1.148 +- remove static libraries and "la" files
   1.149 +- run ldconfig in postun
   1.150 +* Thu Sep 11 2008 sndirsch@suse.de
   1.151 +- bumped release number to 7.4
   1.152 +* Thu Apr 10 2008 ro@suse.de
   1.153 +- added baselibs.conf file to build xxbit packages
   1.154 +  for multilib support
   1.155 +* Sat Sep 29 2007 sndirsch@suse.de
   1.156 +- bumped version to 7.3
   1.157 +* Mon Jan 29 2007 sndirsch@suse.de
   1.158 +- update release to 1.0.5
   1.159 +  * Bug 9514: Markup error in makestrs.1x man page
   1.160 +* Wed Nov  8 2006 sndirsch@suse.de
   1.161 +- update release to 1.0.4 (X.Org 7.2 RC2)
   1.162 +  * Add more generated files to ignore.
   1.163 +  * Fix .pc file with new autotools by using AC_DEFINE_DIR.
   1.164 +* Sat Oct 14 2006 sndirsch@suse.de
   1.165 +- updated to X.Org 7.2RC1
   1.166 +* Wed Aug  2 2006 sndirsch@suse.de
   1.167 +- completed search path for old app-defaults location
   1.168 +* Wed Aug  2 2006 sndirsch@suse.de
   1.169 +- fix setup line
   1.170 +* Mon Jul 31 2006 sndirsch@suse.de
   1.171 +- use /usr/share/X11 as default path for XtErrorDB, since this is
   1.172 +  also the new default path for XErrorDB
   1.173 +* Fri Jul 28 2006 sndirsch@suse.de
   1.174 +- use "-fno-strict-aliasing"
   1.175 +* Thu Jul 27 2006 sndirsch@suse.de
   1.176 +- use $RPM_OPT_FLAGS
   1.177 +- remove existing /usr/include/X11 symlink in %%pre
   1.178 +* Tue Jul 25 2006 sndirsch@suse.de
   1.179 +- added app-defaults dir to package
   1.180 +* Tue Jul 25 2006 sndirsch@suse.de
   1.181 +- app-defaults.diff: read also /usr/X11R6/lib/X11/app-defaults
   1.182 +* Thu Jun 22 2006 sndirsch@suse.de
   1.183 +- created package

mercurial