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

Sun, 08 May 2011 15:47:22 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sun, 08 May 2011 15:47:22 +0200
changeset 13
50e3a83e4f0b
parent 12
94a28e1a8def
permissions
-rw-r--r--

Reintroduce static library production in development package.

     1 #
     2 # spec file for package xorg-x11-libXt (Version 7.6_1.0.9)
     3 #
     4 # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
     5 #
     6 # All modifications and additions to the file contributed by third parties
     7 # remain the property of their copyright owners, unless otherwise agreed
     8 # upon. The license for this file, and modifications and additions to the
     9 # file, is the same license as for the pristine package itself (unless the
    10 # license for the pristine package is not an Open Source License, in which
    11 # case the license is the MIT License). An "Open Source License" is a
    12 # license that conforms to the Open Source Definition (Version 1.9)
    13 # published by the Open Source Initiative.
    15 # Please submit bugfixes or comments via http://bugs.opensuse.org/
    16 #
    18 # norootforbuild
    21 Name:           xorg-x11-libXt
    22 %define dirsuffix 1.0.9
    23 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
    24 Url:            http://xorg.freedesktop.org/
    25 Version:        7.6_%{dirsuffix}
    26 Release:        4.2
    27 Vendor:         Europalab Software
    28 Packager:       Europalab Software
    29 License:        MIT License (or similar)
    30 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    31 Group:          System/Libraries
    32 Provides:       xorg-x11-libs:/usr/X11R6/%{_lib}/libXt.so.6
    33 Summary:        X.Org Xt library
    34 Source:         libXt-%{dirsuffix}.tar.bz2
    35 Source2:        baselibs.conf
    36 Patch:          libXt.diff
    37 Patch1:         app-defaults.diff
    39 %description
    40 This package contains the X.Org Xt library.
    44 %package devel
    45 Vendor:         Europalab Software
    46 Packager:       Europalab Software
    47 License:        MIT License (or similar)
    48 Summary:        Include Files and Libraries mandatory for Development
    49 Group:          Development/Libraries/X11
    50 Provides:       xorg-x11-devel:/usr/X11R6/%{_lib}/libXt.so
    51 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
    52 AutoReqProv:    on
    54 %description devel
    55 This package contains all necessary include files and libraries needed
    56 to develop applications that require these.
    60 %prep
    61 %setup -q -n libXt-%{dirsuffix}
    62 %patch
    63 %patch1
    65 %build
    66 autoreconf -fi
    67 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
    68 %configure --disable-silent-rules \
    69 --enable-static \
    70 --with-pic
    71 %{__make} %{?jobs:-j%jobs}
    73 %install
    74 make install DESTDIR=$RPM_BUILD_ROOT
    75 mkdir -p $RPM_BUILD_ROOT/usr/share/X11/app-defaults
    76 %fdupes -s $RPM_BUILD_ROOT/%_mandir
    78 %clean
    79 rm -rf "$RPM_BUILD_ROOT"
    81 %post -p /sbin/ldconfig
    83 %postun -p /sbin/ldconfig
    85 %pre devel
    86 test -L usr/include/X11 && rm usr/include/X11
    87 exit 0
    89 %files
    90 %defattr(-,root,root)
    91 %dir /usr/share/X11/app-defaults
    92 %{_libdir}/*.so.*
    94 %files devel
    95 %defattr(-,root,root)
    96 /usr/include/X11/*.h
    97 %{_libdir}/*.so
    98 %{_libdir}/pkgconfig/*.pc
    99 %{_mandir}/man3/*
   100 %{_libdir}/*.a
   101 %{_libdir}/*.la
   103 %changelog
   104 * Sun May 8 2011 michael@schloh.com
   105 - Reintroduced static library in dev package.
   106 * Tue Dec 21 2010 sndirsch@novell.com
   107 - bumped version number to 7.6_1.0.9
   108 * Wed Dec  1 2010 jslaby@suse.de
   109 - revert 'export only public API symbols'
   110   it breaks xterm, xclock and others
   111 * Tue Nov 30 2010 cristian.rodriguez@opensuse.org
   112 - export only public API symbols
   113 - disable silent rules, defeat the purpose of post build checks
   114 * Fri Oct 29 2010 sndirsch@novell.com
   115 - libXt 1.0.9
   116   * This release includes several bug fixes, as well as the usual
   117     set of recent build configuration improvements & janitorial
   118     cleanups.
   119 * Sat Sep  4 2010 sndirsch@suse.de
   120 - libXt 1.0.8
   121 - bumped version number to 7.5_1.0.8
   122 - make use of %%fdupes macro
   123 - fixed Summary/Group entries in -devel package
   124 * Sun Apr  4 2010 sndirsch@suse.de
   125 - libXt 1.0.7
   126 - adjusted libXt.diff
   127 - bumped version number to 7.5
   128 * Mon Dec 14 2009 jengelh@medozas.de
   129 - add baselibs.conf as a source
   130 * Sat Nov 14 2009 sndirsch@suse.de
   131 - regenerated libXt.diff
   132 - fixed build
   133 * Sat Jul  4 2009 sndirsch@suse.de
   134 - libXt 1.0.6
   135   * bugfix release
   136 * Fri May  1 2009 eich@suse.de
   137 - revert static library and .la file removal
   138   for SUSE versions <= 11.1.
   139 * Tue Apr 21 2009 crrodriguez@suse.de
   140 - remove static libraries and "la" files
   141 - run ldconfig in postun
   142 * Thu Sep 11 2008 sndirsch@suse.de
   143 - bumped release number to 7.4
   144 * Thu Apr 10 2008 ro@suse.de
   145 - added baselibs.conf file to build xxbit packages
   146   for multilib support
   147 * Sat Sep 29 2007 sndirsch@suse.de
   148 - bumped version to 7.3
   149 * Mon Jan 29 2007 sndirsch@suse.de
   150 - update release to 1.0.5
   151   * Bug 9514: Markup error in makestrs.1x man page
   152 * Wed Nov  8 2006 sndirsch@suse.de
   153 - update release to 1.0.4 (X.Org 7.2 RC2)
   154   * Add more generated files to ignore.
   155   * Fix .pc file with new autotools by using AC_DEFINE_DIR.
   156 * Sat Oct 14 2006 sndirsch@suse.de
   157 - updated to X.Org 7.2RC1
   158 * Wed Aug  2 2006 sndirsch@suse.de
   159 - completed search path for old app-defaults location
   160 * Wed Aug  2 2006 sndirsch@suse.de
   161 - fix setup line
   162 * Mon Jul 31 2006 sndirsch@suse.de
   163 - use /usr/share/X11 as default path for XtErrorDB, since this is
   164   also the new default path for XErrorDB
   165 * Fri Jul 28 2006 sndirsch@suse.de
   166 - use "-fno-strict-aliasing"
   167 * Thu Jul 27 2006 sndirsch@suse.de
   168 - use $RPM_OPT_FLAGS
   169 - remove existing /usr/include/X11 symlink in %%pre
   170 * Tue Jul 25 2006 sndirsch@suse.de
   171 - added app-defaults dir to package
   172 * Tue Jul 25 2006 sndirsch@suse.de
   173 - app-defaults.diff: read also /usr/X11R6/lib/X11/app-defaults
   174 * Thu Jun 22 2006 sndirsch@suse.de
   175 - created package

mercurial