File xorg-x11-libXpm.spec of Package xorg-x11-libXpm
#
# spec file for package xorg-x11-libXpm (Version 7.4)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: xorg-x11-libXpm
%define dirsuffix 3.5.7
BuildRequires: pkgconfig xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libX11-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-libXext-devel xorg-x11-libXt-devel xorg-x11-proto-devel xorg-x11-xtrans-devel
Url: http://xorg.freedesktop.org/
Version: 7.4
Release: 1
License: X11/MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: System/Libraries
Provides: xorg-x11-libs:/usr/X11R6/%{_lib}/libXpm.so.4
Summary: X.Org Xpm library
Source: libXpm-%{dirsuffix}.tar.bz2
%description
This package contains the X.Org Xpm library.
Authors:
--------
Daniel Stone
Groupe Bull
%package devel
License: X11/MIT
Summary: Include Files and Libraries mandatory for Development.
Group: System/Libraries
Provides: xorg-x11-devel:/usr/X11R6/%{_lib}/libXpm.so
Requires: xorg-x11-proto-devel xorg-x11-xtrans-devel xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libXt-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-libX11-devel xorg-x11-libXext-devel xorg-x11-libXpm
AutoReqProv: on
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Daniel Stone
Groupe Bull
%prep
%setup -n libXpm-%{dirsuffix}
%build
#autoreconf -fi
./configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
--prefix=/usr \
--libdir=%{_libdir} \
--mandir=%{_mandir}
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf "$RPM_BUILD_ROOT"
%post -p /sbin/ldconfig
%pre devel
test -L usr/include/X11 && rm usr/include/X11
exit 0
%files
%defattr(-,root,root)
/usr/bin/cxpm
/usr/bin/sxpm
/usr/%{_lib}/*.so.*
%files devel
%defattr(-,root,root)
/usr/include/X11/*.h
/usr/%{_lib}/*.a
/usr/%{_lib}/*.la
/usr/%{_lib}/*.so
/usr/%{_lib}/pkgconfig/*.pc
%{_mandir}/man1/*
%changelog
* Thu Sep 11 2008 sndirsch@suse.de
- bumped release number to 7.4
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Sat Sep 29 2007 sndirsch@suse.de
- bumped version to 7.3
* Fri Aug 24 2007 sndirsch@suse.de
- libXpm 3.5.7
* Sun bug 4486226: Xpm is not internationalized
* Use AM_CFLAGS & AM_CPPFLAGS to replace per-program and obsolete macros
* Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4
* Replace index/rindex with C89 standard strchr/strrchr
* Use srcdir in paths passed to xgettext when making .po files
* Replace strcpy with strncpy to match previous code block
* X.Org Bug #11863: Build libXpm on MS Windows (with MinGW)
* Sat Oct 14 2006 sndirsch@suse.de
- updated to X.Org 7.2RC1
* Wed Aug 02 2006 sndirsch@suse.de
- fix setup line
* Fri Jul 28 2006 sndirsch@suse.de
- use "-fno-strict-aliasing"
* Thu Jul 27 2006 sndirsch@suse.de
- use $RPM_OPT_FLAGS
- remove existing /usr/include/X11 symlink in %%pre
* Fri Jun 23 2006 sndirsch@suse.de
- created package