From 5996a5f6d0276984a1e11504103ae92bb48630d2c9a932f2e6ec3206ae6018a2 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Mon, 13 Feb 2012 10:07:46 +0000 Subject: [PATCH] Accepting request 104229 from home:jengelh:branches:X11:XOrg Replaces xorg-x11-libXpm OBS-URL: https://build.opensuse.org/request/show/104229 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXpm?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + baselibs.conf | 8 ++++ libXpm-3.5.9.tar.bz2 | 3 ++ libXpm.changes | 95 ++++++++++++++++++++++++++++++++++++++ libXpm.spec | 106 +++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 236 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 libXpm-3.5.9.tar.bz2 create mode 100644 libXpm.changes create mode 100644 libXpm.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..cf39cdf --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,8 @@ +libXpm4 + provides "xorg-x11-libXpm- = 7.6_" + obsoletes "xorg-x11-libXpm- < 7.6_" +libXpm-devel + requires -libXpm- + requires "libXpm4- = " + provides "xorg-x11-libXpm-devel- = 7.6_" + obsoletes "xorg-x11-libXpm-devel- < 7.6_" diff --git a/libXpm-3.5.9.tar.bz2 b/libXpm-3.5.9.tar.bz2 new file mode 100644 index 0000000..fafc791 --- /dev/null +++ b/libXpm-3.5.9.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8add01029cab0598ca86e01a2f7781a636f74b757abe6b50ba61b2a6e2fd621e +size 383818 diff --git a/libXpm.changes b/libXpm.changes new file mode 100644 index 0000000..467cc8b --- /dev/null +++ b/libXpm.changes @@ -0,0 +1,95 @@ +------------------------------------------------------------------- +Sun Feb 12 01:08:12 UTC 2012 - jengelh@medozas.de + +- Rename xorg-x11-libXpm to libXpm and utilize shlib policy + +------------------------------------------------------------------- +Tue Dec 21 02:46:24 UTC 2010 - sndirsch@novell.com + +- bumped version number to 7.6 + +------------------------------------------------------------------- +Sat Oct 30 15:45:53 UTC 2010 - sndirsch@novell.com + +- libXpm 3.5.9 + * This minor maintenance release provides a large collection of + build configuration improvements and other janitorial + cleanups. + +------------------------------------------------------------------- +Sun Apr 4 15:45:51 CEST 2010 - sndirsch@suse.de + +- libXpm 3.5.8 +- bumped version number to 7.5 + +------------------------------------------------------------------- +Mon Dec 14 23:59:15 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Sat May 2 14:42:17 CEST 2009 - eich@suse.de + +- revert static library and .la file removal + for SUSE versions <= 11.1. + +------------------------------------------------------------------- +Tue Apr 21 19:46:35 CEST 2009 - crrodriguez@suse.de + +- remove static libraries and "la" files +- run ldconfig in postun + +------------------------------------------------------------------- +Thu Sep 11 14:21:54 CEST 2008 - sndirsch@suse.de + +- bumped release number to 7.4 + +------------------------------------------------------------------- +Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de + +- added baselibs.conf file to build xxbit packages + for multilib support + +------------------------------------------------------------------- +Sat Sep 29 12:23:40 CEST 2007 - sndirsch@suse.de + +- bumped version to 7.3 + +------------------------------------------------------------------- +Fri Aug 24 15:49:55 CEST 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 06:16:47 CEST 2006 - sndirsch@suse.de + +- updated to X.Org 7.2RC1 + +------------------------------------------------------------------- +Wed Aug 2 16:12:23 CEST 2006 - sndirsch@suse.de + +- fix setup line + +------------------------------------------------------------------- +Fri Jul 28 14:44:42 CEST 2006 - sndirsch@suse.de + +- use "-fno-strict-aliasing" + +------------------------------------------------------------------- +Thu Jul 27 11:47:25 CEST 2006 - sndirsch@suse.de + +- use $RPM_OPT_FLAGS +- remove existing /usr/include/X11 symlink in %pre + +------------------------------------------------------------------- +Fri Jun 23 16:51:11 CEST 2006 - sndirsch@suse.de + +- created package + diff --git a/libXpm.spec b/libXpm.spec new file mode 100644 index 0000000..d9eaf93 --- /dev/null +++ b/libXpm.spec @@ -0,0 +1,106 @@ +# +# spec file for package libXpm +# +# Copyright (c) 2012 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/ +# +Name: libXpm +%define lname libXpm4 +Version: 3.5.9 +Release: 0 +Summary: X Pixmap image file format library +License: MIT +Group: Development/Libraries/C and C++ +URL: http://xorg.freedesktop.org/ + +#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXpm +#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXpm/ +Source: %name-%version.tar.bz2 +BuildRoot: %_tmppath/%name-%version-build +#git#BuildRequires: autoconf >= 2.60, automake, libtool +BuildRequires: pkgconfig, pkgconfig(xorg-macros) >= 1.8, pkgconfig(xproto) +BuildRequires: pkgconfig(x11), pkgconfig(xt), pkgconfig(xext) +BuildRequires: pkgconfig(xextproto) + +%description +libXpm facilitates working with XPM (X PixMap), a format for +storing/retrieving X pixmaps to/from files. + +%package -n %lname +Summary: X Pixmap image file format library +Group: System/Libraries + +%description -n %lname +libXpm facilitates working with XPM (X PixMap), a format for +storing/retrieving X pixmaps to/from files. + +%package devel +Summary: Development files for the X Pixmap image file format library +Group: Development/Libraries/C and C++ +Requires: %lname = %version +# O/P added for 12.2 +Provides: xorg-x11-libXpm-devel = 7.6_%version-%release +Obsoletes: xorg-x11-libXpm-devel < 7.6_%version-%release + +%description devel +libXpm facilitates working with XPM (X PixMap), a format for +storing/retrieving X pixmaps to/from files. + +This package contains the development headers for the library found +in %lname. + +%package tools +Summary: Conversion utilities for X Pixmap (XPM) files +Group: Productivity/Graphics/Convertors +# O/P added for 12.2 +Provides: xorg-x11-libXpm = 7.6_%version-%release +Obsoletes: xorg-x11-libXpm < 7.6_%version-%release + +%description tools +The spxm tool converts XPM1/XPM2 files to XPM version 3. +The cxpm tool will check whether an XPM file is correct or not with +regard to its format. + +%prep +%setup -q + +%build +%configure --disable-static +make %{?_smp_mflags} + +%install +%makeinstall +rm -f "%buildroot/%_libdir"/*.la + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%defattr(-,root,root) +%_libdir/libXpm.so.4* + +%files devel +%defattr(-,root,root) +%_includedir/X11/* +%_libdir/libXpm.so +%_libdir/pkgconfig/xpm.pc + +%files tools +%defattr(-,root,root) +%_bindir/cxpm +%_bindir/sxpm +%_mandir/man1/cxpm.1* +%_mandir/man1/sxpm.1* + +%changelog